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

OperationMetadata

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

Metadata describing an operation.

interface OperationMetadata {
createTime?: Date;
endTime?: Date;
operationType?:
| "TYPE_UNSPECIFIED"
| "CREATE"
| "DELETE"
| "UPDATE"
| "CHECK"
| "SAVE_SNAPSHOT"
| "LOAD_SNAPSHOT"
| "DATABASE_FAILOVER";
resource?: string;
resourceUuid?: string;
state?:
| "STATE_UNSPECIFIED"
| "PENDING"
| "RUNNING"
| "SUCCEEDED"
| "SUCCESSFUL"
| "FAILED";
}

§Properties

§
createTime?: Date
[src]

Output only. The time the operation was submitted to the server.

§
endTime?: Date
[src]

Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.

§
operationType?: "TYPE_UNSPECIFIED" | "CREATE" | "DELETE" | "UPDATE" | "CHECK" | "SAVE_SNAPSHOT" | "LOAD_SNAPSHOT" | "DATABASE_FAILOVER"
[src]

Output only. The type of operation being performed.

§
resource?: string
[src]

Output only. The resource being operated on, as a relative resource name.

§
resourceUuid?: string
[src]

Output only. The UUID of the resource being operated on.

§
state?: "STATE_UNSPECIFIED" | "PENDING" | "RUNNING" | "SUCCEEDED" | "SUCCESSFUL" | "FAILED"
[src]

Output only. The current operation state.