Class: Google::Apis::ApphubV1::LookupServiceProjectAttachmentResponse
- Inherits:
-
Object
- Object
- Google::Apis::ApphubV1::LookupServiceProjectAttachmentResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apphub_v1/classes.rb,
lib/google/apis/apphub_v1/representations.rb,
lib/google/apis/apphub_v1/representations.rb
Overview
Response for LookupServiceProjectAttachment.
Instance Attribute Summary collapse
-
#service_project_attachment ⇒ Google::Apis::ApphubV1::ServiceProjectAttachment
ServiceProjectAttachment represents an attachment from a service project to a host project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LookupServiceProjectAttachmentResponse
constructor
A new instance of LookupServiceProjectAttachmentResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LookupServiceProjectAttachmentResponse
Returns a new instance of LookupServiceProjectAttachmentResponse.
1183 1184 1185 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 1183 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service_project_attachment ⇒ Google::Apis::ApphubV1::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
1181 1182 1183 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 1181 def @service_project_attachment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1188 1189 1190 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 1188 def update!(**args) @service_project_attachment = args[:service_project_attachment] if args.key?(:service_project_attachment) end |