Class: Google::Cloud::SecurityCenter::V2::Job
- Inherits:
-
Object
- Object
- Google::Cloud::SecurityCenter::V2::Job
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securitycenter/v2/job.rb
Overview
Describes a job
Instance Attribute Summary collapse
-
#error_code ⇒ ::Integer
Optional.
-
#location ⇒ ::String
Optional.
-
#name ⇒ ::String
The fully-qualified name for a job.
-
#state ⇒ ::Google::Cloud::SecurityCenter::V2::JobState
readonly
Output only.
Instance Attribute Details
#error_code ⇒ ::Integer
Returns Optional. If the job did not complete successfully, this field describes why.
40 41 42 43 |
# File 'proto_docs/google/cloud/securitycenter/v2/job.rb', line 40 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#location ⇒ ::String
Returns Optional. Gives the location where the job ran, such as US
or
europe-west1
.
40 41 42 43 |
# File 'proto_docs/google/cloud/securitycenter/v2/job.rb', line 40 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The fully-qualified name for a job.
e.g. projects/<project_id>/jobs/<job_id>
.
40 41 42 43 |
# File 'proto_docs/google/cloud/securitycenter/v2/job.rb', line 40 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#state ⇒ ::Google::Cloud::SecurityCenter::V2::JobState (readonly)
Returns Output only. State of the job, such as RUNNING
or PENDING
.
40 41 42 43 |
# File 'proto_docs/google/cloud/securitycenter/v2/job.rb', line 40 class Job include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |