Class: Google::Apis::CloudassetV1::RelatedResources

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

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
  @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