Reference documentation and code samples for the App Hub V1 API class Google::Cloud::AppHub::V1::ServiceProjectAttachment.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Create time.
#name
def name() -> ::String
- (::String) — Identifier. The resource name of a ServiceProjectAttachment. Format: "projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}."
#name=
def name=(value) -> ::String
- value (::String) — Identifier. The resource name of a ServiceProjectAttachment. Format: "projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}."
- (::String) — Identifier. The resource name of a ServiceProjectAttachment. Format: "projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}."
#service_project
def service_project() -> ::String
- (::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.
#service_project=
def service_project=(value) -> ::String
- value (::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.
- (::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.
#state
def state() -> ::Google::Cloud::AppHub::V1::ServiceProjectAttachment::State
- (::Google::Cloud::AppHub::V1::ServiceProjectAttachment::State) — Output only. ServiceProjectAttachment state.
#uid
def uid() -> ::String
-
(::String) — Output only. A globally unique identifier (in UUID4 format) for the
ServiceProjectAttachment
.