Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Job

import type { Job } from "https://googleapis.deno.dev/v1/storagebatchoperations:v1.ts";

The Storage Batch Operations Job description.

interface Job {
bucketList?: BucketList;
readonly completeTime?: Date;
readonly counters?: Counters;
readonly createTime?: Date;
deleteObject?: DeleteObject;
description?: string;
readonly errorSummaries?: ErrorSummary[];
loggingConfig?: LoggingConfig;
name?: string;
putMetadata?: PutMetadata;
putObjectHold?: PutObjectHold;
rewriteObject?: RewriteObject;
readonly scheduleTime?: Date;
readonly state?:
| "STATE_UNSPECIFIED"
| "RUNNING"
| "SUCCEEDED"
| "CANCELED"
| "FAILED";
}

§Properties

§
bucketList?: BucketList
[src]

Specifies a list of buckets and their objects to be transformed.

§
readonly completeTime?: Date
[src]

Output only. The time that the job was completed.

§
readonly counters?: Counters
[src]

Output only. Information about the progress of the job.

§
readonly createTime?: Date
[src]

Output only. The time that the job was created.

§
deleteObject?: DeleteObject
[src]

Delete objects.

§
description?: string
[src]

Optional. A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.

§
readonly errorSummaries?: ErrorSummary[]
[src]

Output only. Summarizes errors encountered with sample error log entries.

§
loggingConfig?: LoggingConfig
[src]

Optional. Logging configuration.

§
name?: string
[src]

Identifier. The resource name of the Job. job_id is unique within the project, that is either set by the customer or defined by the service. Format: projects/{project}/locations/global/jobs/{job_id} . For example: "projects/123456/locations/global/jobs/job01".

§
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 scheduleTime?: Date
[src]

Output only. The time that the job was scheduled.

§
readonly state?: "STATE_UNSPECIFIED" | "RUNNING" | "SUCCEEDED" | "CANCELED" | "FAILED"
[src]

Output only. State of the job.