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
§
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.