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.
Identifier. The resource name of a ServiceProjectAttachment. Format: "projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}."
serviceProject
string
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.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
uid
string
Output only. A globally unique identifier (in UUID4 format) for the ServiceProjectAttachment.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-23 UTC."],[[["\u003cp\u003eServiceProjectAttachment represents a connection between a service project and a host project, allowing the host project to see resources across all service projects.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of a ServiceProjectAttachment includes fields such as \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003eserviceProject\u003c/code\u003e, \u003ccode\u003ecreateTime\u003c/code\u003e, \u003ccode\u003euid\u003c/code\u003e, and \u003ccode\u003estate\u003c/code\u003e, each with specific data types and descriptions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estate\u003c/code\u003e field can be one of the following enums: \u003ccode\u003eSTATE_UNSPECIFIED\u003c/code\u003e, \u003ccode\u003eCREATING\u003c/code\u003e, \u003ccode\u003eACTIVE\u003c/code\u003e, or \u003ccode\u003eDELETING\u003c/code\u003e, indicating the current status of the ServiceProjectAttachment.\u003c/p\u003e\n"],["\u003cp\u003eThere are four main methods available for managing ServiceProjectAttachments: \u003ccode\u003ecreate\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, \u003ccode\u003eget\u003c/code\u003e, and \u003ccode\u003elist\u003c/code\u003e, which enable attaching, deleting, retrieving, and listing service project attachments, respectively.\u003c/p\u003e\n"]]],[],null,["# REST Resource: projects.locations.serviceProjectAttachments\n\n- [Resource: ServiceProjectAttachment](#ServiceProjectAttachment)\n - [JSON representation](#ServiceProjectAttachment.SCHEMA_REPRESENTATION)\n- [State](#State)\n- [Methods](#METHODS_SUMMARY)\n\nResource: ServiceProjectAttachment\n----------------------------------\n\nServiceProjectAttachment 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.\n\nState\n-----\n\nServiceProjectAttachment state."]]