Reference documentation and code samples for the Cloud Scheduler V1beta1 Client class CreateJobRequest.
Request message for CreateJob.
Generated from protobuf message google.cloud.scheduler.v1beta1.CreateJobRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The location name. For example: |
↳ job |
Google\Cloud\Scheduler\V1beta1\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. |
getParent
Required. The location name. For example:
projects/PROJECT_ID/locations/LOCATION_ID
.
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The location name. For example:
projects/PROJECT_ID/locations/LOCATION_ID
.
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getJob
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.
Generated from protobuf field .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\Scheduler\V1beta1\Job|null |
hasJob
clearJob
setJob
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.
Generated from protobuf field .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Scheduler\V1beta1\Job
|
Returns | |
---|---|
Type | Description |
$this |