Cloud Scheduler V1 API - Class Google::Cloud::Scheduler::V1::CreateJobRequest (v0.6.0)

Reference documentation and code samples for the Cloud Scheduler V1 API class Google::Cloud::Scheduler::V1::CreateJobRequest.

Request message for CreateJob.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#job

def job() -> ::Google::Cloud::Scheduler::V1::Job
Returns
  • (::Google::Cloud::Scheduler::V1::Job) — Required. The job to add. The user can optionally specify a name for the job in name. name cannot be the same as an existing job. If a name is not specified then the system will generate a random unique name that will be returned (name) in the response.

#job=

def job=(value) -> ::Google::Cloud::Scheduler::V1::Job
Parameter
  • value (::Google::Cloud::Scheduler::V1::Job) — Required. The job to add. The user can optionally specify a name for the job in name. name cannot be the same as an existing job. If a name is not specified then the system will generate a random unique name that will be returned (name) in the response.
Returns
  • (::Google::Cloud::Scheduler::V1::Job) — Required. The job to add. The user can optionally specify a name for the job in name. name cannot be the same as an existing job. If a name is not specified then the system will generate a random unique name that will be returned (name) in the response.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The location name. For example: projects/PROJECT_ID/locations/LOCATION_ID.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The location name. For example: projects/PROJECT_ID/locations/LOCATION_ID.
Returns
  • (::String) — Required. The location name. For example: projects/PROJECT_ID/locations/LOCATION_ID.