Reference documentation and code samples for the Google Cloud Migration Center V1 Client class AssetFrame.
Contains data reported from an inventory source on an asset.
Generated from protobuf message google.cloud.migrationcenter.v1.AssetFrame
Namespace
Google \ Cloud \ MigrationCenter \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ machine_details |
MachineDetails
Asset information specific for virtual machines. |
↳ report_time |
Google\Protobuf\Timestamp
The time the data was reported. |
↳ labels |
array|Google\Protobuf\Internal\MapField
Labels as key value pairs. |
↳ attributes |
array|Google\Protobuf\Internal\MapField
Generic asset attributes. |
↳ performance_samples |
array<PerformanceSample>
Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow are ignored. |
↳ trace_token |
string
Optional. Trace token is optionally provided to assist with debugging and traceability. |
getMachineDetails
Asset information specific for virtual machines.
Returns | |
---|---|
Type | Description |
MachineDetails|null |
hasMachineDetails
setMachineDetails
Asset information specific for virtual machines.
Parameter | |
---|---|
Name | Description |
var |
MachineDetails
|
Returns | |
---|---|
Type | Description |
$this |
getReportTime
The time the data was reported.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasReportTime
clearReportTime
setReportTime
The time the data was reported.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getLabels
Labels as key value pairs.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setLabels
Labels as key value pairs.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getAttributes
Generic asset attributes.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setAttributes
Generic asset attributes.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getPerformanceSamples
Asset performance data samples.
Samples that are from more than 40 days ago or after tomorrow are ignored.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setPerformanceSamples
Asset performance data samples.
Samples that are from more than 40 days ago or after tomorrow are ignored.
Parameter | |
---|---|
Name | Description |
var |
array<PerformanceSample>
|
Returns | |
---|---|
Type | Description |
$this |
getTraceToken
Optional. Trace token is optionally provided to assist with debugging and traceability.
Returns | |
---|---|
Type | Description |
string |
setTraceToken
Optional. Trace token is optionally provided to assist with debugging and traceability.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getFrameData
Returns | |
---|---|
Type | Description |
string |