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

Resource

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

Resource represents a Google Cloud Platform resource actuated by IM. Resources are child resources of Revisions.

interface Resource {
readonly caiAssets?: {
[key: string]: ResourceCAIInfo;
}
;
readonly intent?:
| "INTENT_UNSPECIFIED"
| "CREATE"
| "UPDATE"
| "DELETE"
| "RECREATE"
| "UNCHANGED";
readonly name?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "PLANNED"
| "IN_PROGRESS"
| "RECONCILED"
| "FAILED";
readonly terraformInfo?: ResourceTerraformInfo;
}

§Properties

§
readonly caiAssets?: {
[key: string]: ResourceCAIInfo;
}
[src]

Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI ID). CAI type format follows https://cloud.google.com/asset-inventory/docs/supported-asset-types

§
readonly intent?: "INTENT_UNSPECIFIED" | "CREATE" | "UPDATE" | "DELETE" | "RECREATE" | "UNCHANGED"
[src]

Output only. Intent of the resource.

§
readonly name?: string
[src]

Output only. Resource name. Format: projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}

§
readonly state?: "STATE_UNSPECIFIED" | "PLANNED" | "IN_PROGRESS" | "RECONCILED" | "FAILED"
[src]

Output only. Current state of the resource.

§
readonly terraformInfo?: ResourceTerraformInfo
[src]

Output only. Terraform-specific info if this resource was created using Terraform.