Class: Google::Cloud::Run::V2::CreateJobRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/run/v2/job.rb

Overview

Request message for creating a Job.

Instance Attribute Summary collapse

Instance Attribute Details

#job::Google::Cloud::Run::V2::Job

Returns Required. The Job instance to create.

Returns:



41
42
43
44
# File 'proto_docs/google/cloud/run/v2/job.rb', line 41

class CreateJobRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#job_id::String

Returns Required. The unique identifier for the Job. The name of the job becomes {parent}/jobs/{job_id}.

Returns:

  • (::String)

    Required. The unique identifier for the Job. The name of the job becomes {parent}/jobs/{job_id}.



41
42
43
44
# File 'proto_docs/google/cloud/run/v2/job.rb', line 41

class CreateJobRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The location and project in which this Job should be created. Format: projects/{project}/locations/{location}, where {project} can be project id or number.

Returns:

  • (::String)

    Required. The location and project in which this Job should be created. Format: projects/{project}/locations/{location}, where {project} can be project id or number.



41
42
43
44
# File 'proto_docs/google/cloud/run/v2/job.rb', line 41

class CreateJobRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#validate_only::Boolean

Returns Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.

Returns:

  • (::Boolean)

    Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.



41
42
43
44
# File 'proto_docs/google/cloud/run/v2/job.rb', line 41

class CreateJobRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end