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

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

Describes configuration of a single bucket and its objects to be transformed.

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

Namespace

Google \ Cloud \ StorageBatchOperations \ V1 \ BucketList

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ bucket string

Required. Bucket name for the objects to be transformed.

↳ prefix_list Google\Cloud\StorageBatchOperations\V1\PrefixList

Specifies objects matching a prefix set.

↳ manifest Google\Cloud\StorageBatchOperations\V1\Manifest

Specifies objects in a manifest file.

getBucket

Required. Bucket name for the objects to be transformed.

Returns
Type Description
string

setBucket

Required. Bucket name for the objects to be transformed.

Parameter
Name Description
var string
Returns
Type Description
$this

getPrefixList

Specifies objects matching a prefix set.

Returns
Type Description
Google\Cloud\StorageBatchOperations\V1\PrefixList|null

hasPrefixList

setPrefixList

Specifies objects matching a prefix set.

Parameter
Name Description
var Google\Cloud\StorageBatchOperations\V1\PrefixList
Returns
Type Description
$this

getManifest

Specifies objects in a manifest file.

Returns
Type Description
Google\Cloud\StorageBatchOperations\V1\Manifest|null

hasManifest

setManifest

Specifies objects in a manifest file.

Parameter
Name Description
var Google\Cloud\StorageBatchOperations\V1\Manifest
Returns
Type Description
$this

getObjectConfiguration

Returns
Type Description
string