Google Cloud Migration Center V1 Client - Class AssetFrame (0.1.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
Name
Description
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
Type
Description

hasMachineDetails

setMachineDetails

Asset information specific for virtual machines.

Parameter
Name
Description
Returns
Type
Description
$this

getReportTime

The time the data was reported.

Returns
Type
Description

hasReportTime

clearReportTime

setReportTime

The time the data was reported.

Parameter
Name
Description
Returns
Type
Description
$this

getLabels

Labels as key value pairs.

Returns
Type
Description

setLabels

Labels as key value pairs.

Parameter
Name
Description
Returns
Type
Description
$this

getAttributes

Generic asset attributes.

Returns
Type
Description

setAttributes

Generic asset attributes.

Parameter
Name
Description
Returns
Type
Description
$this

getPerformanceSamples

Asset performance data samples.

Returns
Type
Description

setPerformanceSamples

Asset performance data samples.

Parameter
Name
Description
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
Design a Mobile Site
View Site in Mobile | Classic
Share by: