Migration Center V1 API - Class Google::Cloud::MigrationCenter::V1::Asset (v0.1.0)

Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::Asset.

An asset represents a resource in your environment. Asset types include virtual machines and databases.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#assigned_groups

def assigned_groups() -> ::Array<::String>
Returns
  • (::Array<::String>) — Output only. The list of groups that the asset is assigned to.

#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.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#insight_list

def insight_list() -> ::Google::Cloud::MigrationCenter::V1::InsightList
Returns

#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

#name

def name() -> ::String
Returns
  • (::String) — Output only. The full name of the asset.

#performance_data

def performance_data() -> ::Google::Cloud::MigrationCenter::V1::AssetPerformanceData
Returns

#sources

def sources() -> ::Array<::String>
Returns
  • (::Array<::String>) — Output only. The list of sources contributing to the asset.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns