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.



5241
5242
5243
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5241

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

Instance Attribute Details

The detailed related resources of the primary resource. Corresponds to the JSON property relatedResources



5239
5240
5241
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5239

def related_resources
  @related_resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5246
5247
5248
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5246

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