Class: Google::Apis::ApphubV1alpha::LookupServiceProjectAttachmentResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apphub_v1alpha/classes.rb,
lib/google/apis/apphub_v1alpha/representations.rb,
lib/google/apis/apphub_v1alpha/representations.rb

Overview

Response for LookupServiceProjectAttachment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LookupServiceProjectAttachmentResponse

Returns a new instance of LookupServiceProjectAttachmentResponse.



1004
1005
1006
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1004

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#service_project_attachmentGoogle::Apis::ApphubV1alpha::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. Corresponds to the JSON property serviceProjectAttachment



1002
1003
1004
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1002

def service_project_attachment
  @service_project_attachment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1009
1010
1011
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1009

def update!(**args)
  @service_project_attachment = args[:service_project_attachment] if args.key?(:service_project_attachment)
end