Reference documentation and code samples for the Google Cloud Asset V1 Client class AttachedResource.
Attached resource representation, which is defined by the corresponding service provider. It represents an attached resource's payload.
Generated from protobuf message google.cloud.asset.v1.AttachedResource
Namespace
Google \ Cloud \ Asset \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ asset_type
string
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: https://cloud.google.com/asset-inventory/docs/supported-asset-types
↳ versioned_resources
array< VersionedResource
>
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
getAssetType
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: https://cloud.google.com/asset-inventory/docs/supported-asset-types
string
setAssetType
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: https://cloud.google.com/asset-inventory/docs/supported-asset-types
var
string
$this
getVersionedResources
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
setVersionedResources
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
$this