Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::AssetFrame.
Contains data reported from an inventory source on an asset.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#attributes
def attributes() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Generic asset attributes.
#attributes=
def attributes=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Generic asset attributes.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Generic asset attributes.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.
#machine_details
def machine_details() -> ::Google::Cloud::MigrationCenter::V1::MachineDetails
Returns
- (::Google::Cloud::MigrationCenter::V1::MachineDetails) — Asset information specific for virtual machines.
#machine_details=
def machine_details=(value) -> ::Google::Cloud::MigrationCenter::V1::MachineDetails
Parameter
- value (::Google::Cloud::MigrationCenter::V1::MachineDetails) — Asset information specific for virtual machines.
Returns
- (::Google::Cloud::MigrationCenter::V1::MachineDetails) — Asset information specific for virtual machines.
#performance_samples
def performance_samples() -> ::Array<::Google::Cloud::MigrationCenter::V1::PerformanceSample>
Returns
- (::Array<::Google::Cloud::MigrationCenter::V1::PerformanceSample>) — Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow are ignored.
#performance_samples=
def performance_samples=(value) -> ::Array<::Google::Cloud::MigrationCenter::V1::PerformanceSample>
Parameter
- value (::Array<::Google::Cloud::MigrationCenter::V1::PerformanceSample>) — Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow are ignored.
Returns
- (::Array<::Google::Cloud::MigrationCenter::V1::PerformanceSample>) — Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow are ignored.
#report_time
def report_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time the data was reported.
#report_time=
def report_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time the data was reported.
Returns
- (::Google::Protobuf::Timestamp) — The time the data was reported.
#trace_token
def trace_token() -> ::String
Returns
- (::String) — Optional. Trace token is optionally provided to assist with debugging and traceability.
#trace_token=
def trace_token=(value) -> ::String
Parameter
- value (::String) — Optional. Trace token is optionally provided to assist with debugging and traceability.
Returns
- (::String) — Optional. Trace token is optionally provided to assist with debugging and traceability.