class Google::Apis::CloudassetV1::AttachedResource
Attached resource representation, which is defined by the corresponding service provider. It represents an attached resource's payload.
Attributes
The type of this attached resource. Example: `osconfig.googleapis.com/ Inventory` You can find the supported attached asset types of each resource in this table: `cloud.google.com/asset-inventory/docs/supported-asset- types#searchable_asset_types` Corresponds to the JSON property `assetType` @return [String]
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration. Corresponds to the JSON property `versionedResources` @return [Array<Google::Apis::CloudassetV1::VersionedResource>]
Public Class Methods
# File lib/google/apis/cloudasset_v1/classes.rb, line 335 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudasset_v1/classes.rb, line 340 def update!(**args) @asset_type = args[:asset_type] if args.key?(:asset_type) @versioned_resources = args[:versioned_resources] if args.key?(:versioned_resources) end