Cloud Scheduler V1 Client - Class GetJobRequest (2.0.1)

Reference documentation and code samples for the Cloud Scheduler V1 Client class GetJobRequest.

Request message for GetJob.

Generated from protobuf message google.cloud.scheduler.v1.GetJobRequest

Namespace

Google \ Cloud \ Scheduler \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The job name. For example: projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID.

getName

Required. The job name. For example: projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID.

Returns
Type Description
string

setName

Required. The job name. For example: projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The job name. For example: projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID. Please see CloudSchedulerClient::jobName() for help formatting this field.

Returns
Type Description
GetJobRequest