Reference documentation and code samples for the Google Cloud Storage Batch Operations V1 Client class CreateJobRequest.
Message for creating a Job
Generated from protobuf messagegoogle.cloud.storagebatchoperations.v1.CreateJobRequest
Namespace
Google \ Cloud \ StorageBatchOperations \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Value for parent.
↳ job_id
string
Required. The optionaljob_idfor this Job . If not specified, an id is generated.job_idshould be no more than 128 characters and must include only characters available in DNS names, as defined by RFC-1123.
Optional. An optional request ID to identify requests. Specify a unique request ID in case you need to retry your request. Requests with samerequest_idwill be ignored for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
getParent
Required. Value for parent.
Returns
Type
Description
string
setParent
Required. Value for parent.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getJobId
Required. The optionaljob_idfor this Job . If not
specified, an id is generated.job_idshould be no more than 128
characters and must include only characters available in DNS names, as
defined by RFC-1123.
Returns
Type
Description
string
setJobId
Required. The optionaljob_idfor this Job . If not
specified, an id is generated.job_idshould be no more than 128
characters and must include only characters available in DNS names, as
defined by RFC-1123.
Optional. An optional request ID to identify requests. Specify a unique
request ID in case you need to retry your request. Requests with samerequest_idwill be ignored for at least 60 minutes since the first
request. The request ID must be a valid UUID with the exception that zero
UUID is not supported (00000000-0000-0000-0000-000000000000).
Returns
Type
Description
string
setRequestId
Optional. An optional request ID to identify requests. Specify a unique
request ID in case you need to retry your request. Requests with samerequest_idwill be ignored for at least 60 minutes since the first
request. The request ID must be a valid UUID with the exception that zero
UUID is not supported (00000000-0000-0000-0000-000000000000).
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameters
Name
Description
parent
string
Required. Value for parent. Please seeStorageBatchOperationsClient::locationName()for help formatting this field.
Required. The optionaljob_idfor this Job . If not
specified, an id is generated.job_idshould be no more than 128
characters and must include only characters available in DNS names, as
defined by RFC-1123.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Storage Batch Operations V1 Client - Class CreateJobRequest (0.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.2 (latest)](/php/docs/reference/cloud-storagebatchoperations/latest/V1.CreateJobRequest)\n- [0.1.1](/php/docs/reference/cloud-storagebatchoperations/0.1.1/V1.CreateJobRequest) \nReference documentation and code samples for the Google Cloud Storage Batch Operations V1 Client class CreateJobRequest.\n\nMessage for creating a Job\n\nGenerated from protobuf message `google.cloud.storagebatchoperations.v1.CreateJobRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ StorageBatchOperations \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. Value for parent.\n\n### setParent\n\nRequired. Value for parent.\n\n### getJobId\n\nRequired. The optional `job_id` for this Job . If not\nspecified, an id is generated. `job_id` should be no more than 128\ncharacters and must include only characters available in DNS names, as\ndefined by RFC-1123.\n\n### setJobId\n\nRequired. The optional `job_id` for this Job . If not\nspecified, an id is generated. `job_id` should be no more than 128\ncharacters and must include only characters available in DNS names, as\ndefined by RFC-1123.\n\n### getJob\n\nRequired. The resource being created\n\n### hasJob\n\n### clearJob\n\n### setJob\n\nRequired. The resource being created\n\n### getRequestId\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID in case you need to retry your request. Requests with same\n`request_id` will be ignored for at least 60 minutes since the first\nrequest. The request ID must be a valid UUID with the exception that zero\nUUID is not supported (00000000-0000-0000-0000-000000000000).\n\n### setRequestId\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID in case you need to retry your request. Requests with same\n`request_id` will be ignored for at least 60 minutes since the first\nrequest. The request ID must be a valid UUID with the exception that zero\nUUID is not supported (00000000-0000-0000-0000-000000000000).\n\n### static::build"]]