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

OperationMetadataV1

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

Metadata describing an Operation

interface OperationMetadataV1 {
buildId?: string;
buildName?: string;
request?: {
[key: string]: any;
}
;
sourceToken?: string;
target?: string;
type?:
| "OPERATION_UNSPECIFIED"
| "CREATE_FUNCTION"
| "UPDATE_FUNCTION"
| "DELETE_FUNCTION";
updateTime?: Date;
versionId?: bigint;
}

§Properties

§
buildId?: string
[src]

The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.

§
buildName?: string
[src]

The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. projects//locations//builds/.

§
request?: {
[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.

§
target?: string
[src]

Target of the operation - for example projects/project-1/locations/region-1/functions/function-1

§
type?: "OPERATION_UNSPECIFIED" | "CREATE_FUNCTION" | "UPDATE_FUNCTION" | "DELETE_FUNCTION"
[src]

Type of operation.

§
updateTime?: Date
[src]

The last update timestamp of the operation.

§
versionId?: bigint
[src]

Version id of the function created or updated by an API call. This field is only populated for Create and Update operations.