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

ServiceProjectAttachment

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

ServiceProjectAttachment represents an attachment from a service project to a host project. Service projects contain the underlying cloud infrastructure resources, and expose these resources to the host project through a ServiceProjectAttachment. With the attachments, the host project can provide an aggregated view of resources across all service projects.

interface ServiceProjectAttachment {
readonly createTime?: Date;
name?: string;
serviceProject?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "ACTIVE"
| "DELETING";
readonly uid?: string;
}

§Properties

§
readonly createTime?: Date
[src]

Output only. Create time.

§
name?: string
[src]

Identifier. The resource name of a ServiceProjectAttachment. Format: "projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}."

§
serviceProject?: string
[src]

Required. Immutable. Service project name in the format: "projects/abc" or "projects/123". As input, project name with either project id or number are accepted. As output, this field will contain project number.

§
readonly state?: "STATE_UNSPECIFIED" | "CREATING" | "ACTIVE" | "DELETING"
[src]

Output only. ServiceProjectAttachment state.

§
readonly uid?: string
[src]

Output only. A globally unique identifier (in UUID4 format) for the ServiceProjectAttachment.