Reference documentation and code samples for the Google Cloud Storage Batch Operations V1 Client class BucketOperation.
BucketOperation represents a bucket-level breakdown of a Job.
Generated from protobuf message google.cloud.storagebatchoperations.v1.BucketOperation
Namespace
Google \ Cloud \ StorageBatchOperations \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the BucketOperation. This is defined by the service. Format: projects/{project}/locations/global/jobs/{job_id}/bucketOperations/{bucket_operation}.
↳ bucket_name
string
The bucket name of the objects to be transformed in the BucketOperation.
↳ prefix_list
↳ manifest
↳ put_object_hold
↳ delete_object
↳ put_metadata
PutMetadata
Updates object metadata. Allows updating fixed-key and custom metadata and fixed-key metadata i.e. Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Type, Custom-Time.
↳ rewrite_object
↳ update_object_custom_context
↳ create_time
↳ start_time
↳ complete_time
↳ counters
↳ error_summaries
↳ state
int
Output only. State of the BucketOperation.
getName
Identifier. The resource name of the BucketOperation. This is defined by the service. Format: projects/{project}/locations/global/jobs/{job_id}/bucketOperations/{bucket_operation}.
string
setName
Identifier. The resource name of the BucketOperation. This is defined by the service. Format: projects/{project}/locations/global/jobs/{job_id}/bucketOperations/{bucket_operation}.
var
string
$this
getBucketName
The bucket name of the objects to be transformed in the BucketOperation.
string
setBucketName
The bucket name of the objects to be transformed in the BucketOperation.
var
string
$this
getPrefixList
Specifies objects matching a prefix set.
hasPrefixList
setPrefixList
Specifies objects matching a prefix set.
$this
getManifest
Specifies objects in a manifest file.
hasManifest
setManifest
Specifies objects in a manifest file.
$this
getPutObjectHold
Changes object hold status.
hasPutObjectHold
setPutObjectHold
Changes object hold status.
$this
getDeleteObject
Delete objects.
hasDeleteObject
setDeleteObject
Delete objects.
$this
getPutMetadata
Updates object metadata. Allows updating fixed-key and custom metadata and fixed-key metadata i.e. Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Type, Custom-Time.
hasPutMetadata
setPutMetadata
Updates object metadata. Allows updating fixed-key and custom metadata and fixed-key metadata i.e. Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Type, Custom-Time.
$this
getRewriteObject
Rewrite the object and updates metadata like KMS key.
hasRewriteObject
setRewriteObject
Rewrite the object and updates metadata like KMS key.
$this
getUpdateObjectCustomContext
Update object custom context.
hasUpdateObjectCustomContext
setUpdateObjectCustomContext
Update object custom context.
$this
getCreateTime
Output only. The time that the BucketOperation was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time that the BucketOperation was created.
$this
getStartTime
Output only. The time that the BucketOperation was started.
hasStartTime
clearStartTime
setStartTime
Output only. The time that the BucketOperation was started.
$this
getCompleteTime
Output only. The time that the BucketOperation was completed.
hasCompleteTime
clearCompleteTime
setCompleteTime
Output only. The time that the BucketOperation was completed.
$this
getCounters
Output only. Information about the progress of the bucket operation.
hasCounters
clearCounters
setCounters
Output only. Information about the progress of the bucket operation.
$this
getErrorSummaries
Output only. Summarizes errors encountered with sample error log entries.
setErrorSummaries
Output only. Summarizes errors encountered with sample error log entries.
$this
getState
Output only. State of the BucketOperation.
setState
Output only. State of the BucketOperation.
$this
getObjectConfiguration
string
getTransformation
string

