Service Client: Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations::StorageBatchOperationsClient
Client stub representing the remote StorageBatchOperations gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to storagebatchoperations.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations - Compiled Protocol Buffers messages for google/cloud/storagebatchoperations/v1/storage_batch_operations.proto
SYNOPSIS
use Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations;
my $msg = Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations::ListJobsRequest->new({
parent => $parent,
filter => $filter,
page_size => $page_size,
page_token => $page_token,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations::ListJobsRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/storagebatchoperations/v1/storage_batch_operations.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations::ListJobsRequest
Message for request to list Jobs
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Format: projects/{project_id}/locations/global.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filters results as defined by https://google.aip.dev/160.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The list page size. default page size is 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The list page token.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field to sort by. Supported fields are name, create_time.
Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations::ListJobsResponse
Message for response to listing Jobs
Inherits from Protobuf::Message.
Accessors
$msg->jobs()/$msg->jobs($value)Type:
Message(Google::Cloud::Storagebatchoperations::V1::StorageBatchOperationsTypes::Job)A list of storage batch jobs.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations::GetJobRequest
Message for getting a Job
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. `name` of the job to retrieve. Format: projects/{project_id}/locations/global/jobs/{job_id} .
Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations::CreateJobRequest
Message for creating a Job
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Value for parent.
$msg->job_id()/$msg->job_id($value)Type:
StringRequired. The optional `job_id` for this Job . If not specified, an id is generated. `job_id` should be no more than 128 characters and must include only characters available in DNS names, as defined by RFC-1123.
$msg->job()/$msg->job($value)Type:
Message(Google::Cloud::Storagebatchoperations::V1::StorageBatchOperationsTypes::Job)Required. The resource being created
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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).
Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations::CancelJobRequest
Message for Job to Cancel
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The `name` of the job to cancel. Format: projects/{project_id}/locations/global/jobs/{job_id}.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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).
Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations::DeleteJobRequest
Message for deleting a Job
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The `name` of the job to delete. Format: projects/{project_id}/locations/global/jobs/{job_id} .
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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).
$msg->force()/$msg->force($value)Type:
BoolOptional. 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).
Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations::CancelJobResponse
Message for response to cancel Job.
Inherits from Protobuf::Message.
Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations::ListBucketOperationsRequest
Message for request to list BucketOperations
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Format: projects/{project_id}/locations/global/jobs/{job_id}.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filters results as defined by https://google.aip.dev/160.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The list page size. Default page size is 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The list page token.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field to sort by. Supported fields are name, create_time.
Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations::ListBucketOperationsResponse
Message for response to listing BucketOperations
Inherits from Protobuf::Message.
Accessors
$msg->bucket_operations()/$msg->bucket_operations($value)Type:
Message(Google::Cloud::Storagebatchoperations::V1::StorageBatchOperationsTypes::BucketOperation)A list of storage batch bucket operations.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations::GetBucketOperationRequest
Message for getting a BucketOperation.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. `name` of the bucket operation to retrieve. Format: projects/{project_id}/locations/global/jobs/{job_id}/bucketOperations/{bucket_operation_id}.
Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations::OperationMetadata
Represents the metadata of the long-running operation.
Inherits from Protobuf::Message.
Accessors
$msg->operation()/$msg->operation($value)Type:
StringOutput only. The unique operation resource name. Format: projects/{project}/locations/global/operations/{operation}.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation finished running.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `[Code.CANCELLED][google.rpc.Code.CANCELLED]`.
$msg->api_version()/$msg->api_version($value)Type:
StringOutput only. API version used to start the operation.
$msg->job()/$msg->job($value)Type:
Message(Google::Cloud::Storagebatchoperations::V1::StorageBatchOperationsTypes::Job)Output only. The Job associated with the operation.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Storagebatchoperations::V1::StorageBatchOperations::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.