Class: Google::Apis::CloudassetV1::RelatedResources
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::RelatedResources
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb
Overview
The related resources of the primary resource.
Instance Attribute Summary collapse
-
#related_resources ⇒ Array<Google::Apis::CloudassetV1::RelatedResource>
The detailed related resources of the primary resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RelatedResources
constructor
A new instance of RelatedResources.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RelatedResources
Returns a new instance of RelatedResources.
5206 5207 5208 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5206 def initialize(**args) update!(**args) end |
Instance Attribute Details
#related_resources ⇒ Array<Google::Apis::CloudassetV1::RelatedResource>
The detailed related resources of the primary resource.
Corresponds to the JSON property relatedResources
5204 5205 5206 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5204 def @related_resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5211 5212 5213 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5211 def update!(**args) @related_resources = args[:related_resources] if args.key?(:related_resources) end |