Cloud Run V2 API - Class Google::Cloud::Run::V2::CreateJobRequest (v0.9.1)

Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::CreateJobRequest.

Request message for creating a Job.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#job

def job() -> ::Google::Cloud::Run::V2::Job
Returns

#job=

def job=(value) -> ::Google::Cloud::Run::V2::Job
Parameter
Returns

#job_id

def job_id() -> ::String
Returns
  • (::String) — Required. The unique identifier for the Job. The name of the job becomes {parent}/jobs/{job_id}.

#job_id=

def job_id=(value) -> ::String
Parameter
  • value (::String) — 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}.

#parent

def parent() -> ::String
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.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::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.
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.

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.