Google Cloud Migration Center V1 Client - Class AssetFrame (0.2.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ machine_details Google\Cloud\MigrationCenter\V1\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<Google\Cloud\MigrationCenter\V1\PerformanceSample>

Asset performance data samples.

↳ trace_token string

Optional. Trace token is optionally provided to assist with debugging and traceability.

getMachineDetails

Asset information specific for virtual machines.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\MachineDetails|null

hasMachineDetails

setMachineDetails

Asset information specific for virtual machines.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\MachineDetails
Returns
TypeDescription
$this

getReportTime

The time the data was reported.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasReportTime

clearReportTime

setReportTime

The time the data was reported.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getLabels

Labels as key value pairs.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Labels as key value pairs.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getAttributes

Generic asset attributes.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setAttributes

Generic asset attributes.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getPerformanceSamples

Asset performance data samples.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPerformanceSamples

Asset performance data samples.

Parameter
NameDescription
var array<Google\Cloud\MigrationCenter\V1\PerformanceSample>
Returns
TypeDescription
$this

getTraceToken

Optional. Trace token is optionally provided to assist with debugging and traceability.

Returns
TypeDescription
string

setTraceToken

Optional. Trace token is optionally provided to assist with debugging and traceability.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFrameData

Returns
TypeDescription
string