BucketOperation
import type { BucketOperation } from "https://googleapis.deno.dev/v1/storagebatchoperations:v1.ts";BucketOperation represents a bucket-level breakdown of a Job.
interface BucketOperation {
bucketName?: string;
readonly completeTime?: Date;
readonly counters?: Counters;
readonly createTime?: Date;
deleteObject?: DeleteObject;
readonly errorSummaries?: ErrorSummary[];
manifest?: Manifest;
name?: string;
prefixList?: PrefixList;
putMetadata?: PutMetadata;
putObjectHold?: PutObjectHold;
rewriteObject?: RewriteObject;
readonly startTime?: Date;
readonly state?:
| "STATE_UNSPECIFIED"
| "QUEUED"
| "RUNNING"
| "SUCCEEDED"
| "CANCELED"
| "FAILED";
updateObjectCustomContext?: UpdateObjectCustomContext;
}§Properties
§
deleteObject?: DeleteObject
[src]Delete objects.
§
readonly errorSummaries?: ErrorSummary[]
[src]Output only. Summarizes errors encountered with sample error log entries.
§
name?: string
[src]Identifier. The resource name of the BucketOperation. This is defined by the service. Format: projects/{project}/locations/global/jobs/{job_id}/bucketOperations/{bucket_operation}.
§
prefixList?: PrefixList
[src]Specifies objects matching a prefix set.
§
putMetadata?: PutMetadata
[src]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.
§
putObjectHold?: PutObjectHold
[src]Changes object hold status.
§
rewriteObject?: RewriteObject
[src]Rewrite the object and updates metadata like KMS key.
§
readonly state?: "STATE_UNSPECIFIED" | "QUEUED" | "RUNNING" | "SUCCEEDED" | "CANCELED" | "FAILED"
[src]Output only. State of the BucketOperation.
§
updateObjectCustomContext?: UpdateObjectCustomContext
[src]Update object custom context.