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

GoogleCloudFunctionsV2OperationMetadata

import type { GoogleCloudFunctionsV2OperationMetadata } from "https://googleapis.deno.dev/v1/cloudfunctions:v2.ts";

Represents the metadata of the long-running operation.

interface GoogleCloudFunctionsV2OperationMetadata {
apiVersion?: string;
cancelRequested?: boolean;
createTime?: Date;
endTime?: Date;
operationType?:
| "OPERATIONTYPE_UNSPECIFIED"
| "CREATE_FUNCTION"
| "UPDATE_FUNCTION"
| "DELETE_FUNCTION"
| "REDIRECT_FUNCTION_UPGRADE_TRAFFIC"
| "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC"
| "SETUP_FUNCTION_UPGRADE_CONFIG"
| "ABORT_FUNCTION_UPGRADE"
| "COMMIT_FUNCTION_UPGRADE";
requestResource?: {
[key: string]: any;
}
;
sourceToken?: string;
statusDetail?: string;
target?: string;
verb?: string;
}

§Properties

§
apiVersion?: string
[src]

API version used to start the operation.

§
cancelRequested?: boolean
[src]

Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

§
createTime?: Date
[src]

The time the operation was created.

§
endTime?: Date
[src]

The time the operation finished running.

§
operationType?: "OPERATIONTYPE_UNSPECIFIED" | "CREATE_FUNCTION" | "UPDATE_FUNCTION" | "DELETE_FUNCTION" | "REDIRECT_FUNCTION_UPGRADE_TRAFFIC" | "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC" | "SETUP_FUNCTION_UPGRADE_CONFIG" | "ABORT_FUNCTION_UPGRADE" | "COMMIT_FUNCTION_UPGRADE"
[src]

The operation type.

§
requestResource?: {
[key: string]: any;
}
[src]

The original request that started the operation.

§
sourceToken?: string
[src]

An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.

§

Mechanism for reporting in-progress stages

§
statusDetail?: string
[src]

Human-readable status of the operation, if any.

§
target?: string
[src]

Server-defined resource path for the target of the operation.

§
verb?: string
[src]

Name of the verb executed by the operation.