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

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

Describes list of objects to be transformed.

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

Namespace

Google \ Cloud \ StorageBatchOperations \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ manifest_location string

Required. manifest_location must contain the manifest source file that is a CSV file in a Google Cloud Storage bucket. Each row in the file must include the object details i.e. BucketId and Name. Generation may optionally be specified. When it is not specified the live object is acted upon. manifest_location should either be 1) An absolute path to the object in the format of gs://bucket_name/path/file_name.csv. 2) An absolute path with a single wildcard character in the file name, for example gs://bucket_name/path/file_name*.csv. If manifest ___location is specified with a wildcard, objects in all manifest files matching the pattern will be acted upon.

getManifestLocation

Required. manifest_location must contain the manifest source file that is a CSV file in a Google Cloud Storage bucket. Each row in the file must include the object details i.e. BucketId and Name. Generation may optionally be specified. When it is not specified the live object is acted upon.

manifest_location should either be 1) An absolute path to the object in the format of gs://bucket_name/path/file_name.csv. 2) An absolute path with a single wildcard character in the file name, for example gs://bucket_name/path/file_name*.csv. If manifest ___location is specified with a wildcard, objects in all manifest files matching the pattern will be acted upon.

Returns
Type Description
string

setManifestLocation

Required. manifest_location must contain the manifest source file that is a CSV file in a Google Cloud Storage bucket. Each row in the file must include the object details i.e. BucketId and Name. Generation may optionally be specified. When it is not specified the live object is acted upon.

manifest_location should either be 1) An absolute path to the object in the format of gs://bucket_name/path/file_name.csv. 2) An absolute path with a single wildcard character in the file name, for example gs://bucket_name/path/file_name*.csv. If manifest ___location is specified with a wildcard, objects in all manifest files matching the pattern will be acted upon.

Parameter
Name Description
var string
Returns
Type Description
$this