Google Cloud Storage Batch Operations V1 Client - Class BucketList (0.1.2)

Reference documentation and code samples for the Google Cloud Storage Batch Operations V1 Client class BucketList.

Describes list of buckets and their objects to be transformed.

Generated from protobuf message google.cloud.storagebatchoperations.v1.BucketList

Namespace

Google \ Cloud \ StorageBatchOperations \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ buckets array<BucketList\Bucket>

Required. List of buckets and their objects to be transformed. Currently, only one bucket configuration is supported. If multiple buckets are specified, an error will be returned.

getBuckets

Required. List of buckets and their objects to be transformed. Currently, only one bucket configuration is supported. If multiple buckets are specified, an error will be returned.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setBuckets

Required. List of buckets and their objects to be transformed. Currently, only one bucket configuration is supported. If multiple buckets are specified, an error will be returned.

Parameter
Name Description
var array<BucketList\Bucket>
Returns
Type Description
$this