Reference documentation and code samples for the Google Cloud Storage Batch Operations V1 Client class DeleteJobRequest.
Message for deleting a Job
Generated from protobuf message google.cloud.storagebatchoperations.v1.DeleteJobRequest
Namespace
Google \ Cloud \ StorageBatchOperations \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name
of the job to delete. Format: projects/{project_id}/locations/global/jobs/{job_id} .
↳ request_id
string
Optional. An optional request ID to identify requests. Specify a unique request ID in case you need to retry your request. Requests with same request_id
will 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).
↳ force
bool
Optional. If set to true, any child bucket operations of the job will also be deleted. Highly recommended to be set to true by all clients. Users cannot mutate bucket operations directly, so only the jobs.delete permission is required to delete a job (and its child bucket operations).
getName
Required. The name
of the job to delete.
Format: projects/{project_id}/locations/global/jobs/{job_id} .
string
setName
Required. The name
of the job to delete.
Format: projects/{project_id}/locations/global/jobs/{job_id} .
var
string
$this
getRequestId
Optional. An optional request ID to identify requests. Specify a unique
request ID in case you need to retry your request. Requests with same request_id
will 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).
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 same request_id
will 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).
var
string
$this
getForce
Optional. If set to true, any child bucket operations of the job will also be deleted. Highly recommended to be set to true by all clients. Users cannot mutate bucket operations directly, so only the jobs.delete permission is required to delete a job (and its child bucket operations).
bool
setForce
Optional. If set to true, any child bucket operations of the job will also be deleted. Highly recommended to be set to true by all clients. Users cannot mutate bucket operations directly, so only the jobs.delete permission is required to delete a job (and its child bucket operations).
var
bool
$this
static::build
name
string
Required. The name
of the job to delete.
Format: projects/{project_id}/locations/global/jobs/{job_id} . Please see StorageBatchOperationsClient::jobName()
for help formatting this field.

