GoogleCloudFunctionsV2alphaOperationMetadata
import type { GoogleCloudFunctionsV2alphaOperationMetadata } from "https://googleapis.deno.dev/v1/cloudfunctions:v2.ts";
Represents the metadata of the long-running operation.
interface GoogleCloudFunctionsV2alphaOperationMetadata {
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;
stages?: GoogleCloudFunctionsV2alphaStage[];
statusDetail?: string;
target?: string;
verb?: string;
}§Properties
§
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
.
§
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.
§
sourceToken?: string
[src]An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
§
stages?: GoogleCloudFunctionsV2alphaStage[]
[src]Mechanism for reporting in-progress stages