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

Build

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

A single build for a backend, at a specific point codebase reference tag and point in time. Encapsulates several resources, including an Artifact Registry container image, a Cloud Build invocation that built the image, and the Cloud Run revision that uses that image.

interface Build {
annotations?: {
[key: string]: string;
}
;
readonly buildLogsUri?: string;
config?: Config;
readonly createTime?: Date;
readonly deleteTime?: Date;
displayName?: string;
readonly environment?: string;
readonly errors?: Error[];
readonly etag?: string;
readonly image?: string;
labels?: {
[key: string]: string;
}
;
name?: string;
readonly reconciling?: boolean;
source?: BuildSource;
readonly state?:
| "STATE_UNSPECIFIED"
| "BUILDING"
| "BUILT"
| "DEPLOYING"
| "READY"
| "FAILED";
readonly uid?: string;
readonly updateTime?: Date;
}

§Properties

§
annotations?: {
[key: string]: string;
}
[src]

Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

§
readonly buildLogsUri?: string
[src]

Output only. The location of the Cloud Build logs for the build process.

§
config?: Config
[src]

Optional. Additional configuration of the service.

§
readonly createTime?: Date
[src]

Output only. Time at which the build was created.

§
readonly deleteTime?: Date
[src]

Output only. Time at which the build was deleted.

§
displayName?: string
[src]

Optional. Human-readable name. 63 character limit.

§
readonly environment?: string
[src]

Output only. The environment name of the backend when this build was created.

§
readonly errors?: Error[]
[src]

Output only. A list of all errors that occurred during an App Hosting build.

§
readonly etag?: string
[src]

Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.

§
readonly image?: string
[src]

Output only. The Artifact Registry container image URI, used by the Cloud Run revision for this build.

§
labels?: {
[key: string]: string;
}
[src]

Optional. Unstructured key value map that can be used to organize and categorize objects.

§
name?: string
[src]

Identifier. The resource name of the build. Format: projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}.

§
readonly reconciling?: boolean
[src]

Output only. A field that, if true, indicates that the build has an ongoing LRO.

§

Required. Immutable. The source for the build.

§
readonly state?: "STATE_UNSPECIFIED" | "BUILDING" | "BUILT" | "DEPLOYING" | "READY" | "FAILED"
[src]

Output only. The state of the build.

§
readonly uid?: string
[src]

Output only. System-assigned, unique identifier.

§
readonly updateTime?: Date
[src]

Output only. Time at which the build was last updated.