App Hub V1 API - Class Google::Cloud::AppHub::V1::ServiceProjectAttachment (v0.1.0)

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
Returns

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The resource name of a ServiceProjectAttachment. Format: "projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}."

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The resource name of a ServiceProjectAttachment. Format: "projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}."
Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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
Returns

#uid

def uid() -> ::String
Returns
  • (::String) — Output only. A globally unique identifier (in UUID4 format) for the ServiceProjectAttachment.