Class: Google::Cloud::SecurityCenter::V2::Job

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#error_code::Integer

Returns Optional. If the job did not complete successfully, this field describes why.

Returns:

  • (::Integer)

    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.

Returns:

  • (::String)

    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>.

Returns:

  • (::String)

    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.

Returns:



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