Resource: BucketOperation
BucketOperation represents a bucket-level breakdown of a Job.
| JSON representation |
|---|
{ "name": string, "bucketName": string, "createTime": string, "startTime": string, "completeTime": string, "counters": { object ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the BucketOperation. This is defined by the service. Format: |
bucketName |
The bucket name of the objects to be transformed in the BucketOperation. |
createTime |
Output only. The time that the BucketOperation was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
startTime |
Output only. The time that the BucketOperation was started. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
completeTime |
Output only. The time that the BucketOperation was completed. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
counters |
Output only. Information about the progress of the bucket operation. |
errorSummaries[] |
Output only. Summarizes errors encountered with sample error log entries. |
state |
Output only. State of the BucketOperation. |
Union field object_configuration. Specifies objects to be transformed in the BucketOperation. object_configuration can be only one of the following: |
|
prefixList |
Specifies objects matching a prefix set. |
manifest |
Specifies objects in a manifest file. |
projectSource |
Specifies objects matching the object filters in a project source. |
Union field transformation. Action to be performed on the objects. transformation can be only one of the following: |
|
putObjectHold |
Changes object hold status. |
deleteObject |
Delete objects. |
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. |
rewriteObject |
Rewrite the object and updates metadata like KMS key. |
updateObjectCustomContext |
Update object custom context. |
setObjectAcls |
Updates object ACLs. |
State
Describes state of the BucketOperation.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Default value. This value is unused. |
QUEUED |
Created but not yet started. |
RUNNING |
In progress. |
SUCCEEDED |
Completed successfully. |
CANCELED |
Cancelled by the user. |
FAILED |
Terminated due to an unrecoverable failure. |
Methods |
|
|---|---|
|
Gets a BucketOperation. |
|
Lists BucketOperations in a given project and job. |