Reference documentation and code samples for the Google Cloud Migration Center V1 Client class Asset.
An asset represents a resource in your environment. Asset types include virtual machines and databases.
Generated from protobuf message google.cloud.migrationcenter.v1.Asset
Namespace
Google \ Cloud \ MigrationCenter \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The full name of the asset.
↳ create_time
↳ update_time
↳ labels
↳ attributes
↳ machine_details
↳ insight_list
↳ performance_data
↳ sources
array
Output only. The list of sources contributing to the asset.
↳ assigned_groups
array
Output only. The list of groups that the asset is assigned to.
getName
Output only. The full name of the asset.
string
setName
Output only. The full name of the asset.
var
string
$this
getCreateTime
Output only. The timestamp when the asset was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The timestamp when the asset was created.
$this
getUpdateTime
Output only. The timestamp when the asset was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The timestamp when the asset was last updated.
$this
getLabels
Labels as key value pairs.
setLabels
Labels as key value pairs.
$this
getAttributes
Generic asset attributes.
setAttributes
Generic asset attributes.
$this
getMachineDetails
Output only. Asset information specific for virtual and physical machines.
hasMachineDetails
setMachineDetails
Output only. Asset information specific for virtual and physical machines.
$this
getInsightList
Output only. The list of insights associated with the asset.
hasInsightList
clearInsightList
setInsightList
Output only. The list of insights associated with the asset.
$this
getPerformanceData
Output only. Performance data for the asset.
hasPerformanceData
clearPerformanceData
setPerformanceData
Output only. Performance data for the asset.
$this
getSources
Output only. The list of sources contributing to the asset.
setSources
Output only. The list of sources contributing to the asset.
var
string[]
$this
getAssignedGroups
Output only. The list of groups that the asset is assigned to.
setAssignedGroups
Output only. The list of groups that the asset is assigned to.
var
string[]
$this
getAssetDetails
string