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
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the asset was created.
#insight_list
def insight_list() -> ::Google::Cloud::MigrationCenter::V1::InsightList
Returns
- (::Google::Cloud::MigrationCenter::V1::InsightList) — Output only. The list of insights associated with the asset.
#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) — Output only. Asset information specific for virtual and physical machines.
#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
- (::Google::Cloud::MigrationCenter::V1::AssetPerformanceData) — Output only. Performance data for the asset.
#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
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the asset was last updated.