class Google::Apis::CloudassetV1::GoogleCloudAssetV1p7beta1RelatedAssets
The detailed related assets with the `relationship_type`.
Attributes
assets[RW]
The peer resources of the relationship. Corresponds to the JSON property `assets` @return [Array<Google::Apis::CloudassetV1::GoogleCloudAssetV1p7beta1RelatedAsset>]
relationship_attributes[RW]
The relationship attributes which include `type`, `source_resource_type`, ` target_resource_type` and `action`. Corresponds to the JSON property `relationshipAttributes` @return [Google::Apis::CloudassetV1::GoogleCloudAssetV1p7beta1RelationshipAttributes]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudasset_v1/classes.rb, line 1480 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudasset_v1/classes.rb, line 1485 def update!(**args) @assets = args[:assets] if args.key?(:assets) @relationship_attributes = args[:relationship_attributes] if args.key?(:relationship_attributes) end