Migration Center v1 API - Class Asset (1.0.0-beta01)

public sealed class Asset : IMessage<Asset>, IEquatable<Asset>, IDeepCloneable<Asset>, IBufferMessage, IMessage

Reference documentation and code samples for the Migration Center v1 API class Asset.

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

Inheritance

object > Asset

Namespace

Google.Cloud.MigrationCenter.V1

Assembly

Google.Cloud.MigrationCenter.V1.dll

Constructors

Asset()

public Asset()

Asset(Asset)

public Asset(Asset other)
Parameter
NameDescription
otherAsset

Properties

AssetDetailsCase

public Asset.AssetDetailsOneofCase AssetDetailsCase { get; }
Property Value
TypeDescription
AssetAssetDetailsOneofCase

AssetName

public AssetName AssetName { get; set; }

AssetName-typed view over the Name resource name property.

Property Value
TypeDescription
AssetName

AssignedGroups

public RepeatedField<string> AssignedGroups { get; }

Output only. The list of groups that the asset is assigned to.

Property Value
TypeDescription
RepeatedFieldstring

AssignedGroupsAsGroupNames

public ResourceNameList<GroupName> AssignedGroupsAsGroupNames { get; }

GroupName-typed view over the AssignedGroups resource name property.

Property Value
TypeDescription
ResourceNameListGroupName

Attributes

public MapField<string, string> Attributes { get; }

Generic asset attributes.

Property Value
TypeDescription
MapFieldstringstring

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The timestamp when the asset was created.

Property Value
TypeDescription
Timestamp

InsightList

public InsightList InsightList { get; set; }

Output only. The list of insights associated with the asset.

Property Value
TypeDescription
InsightList

Labels

public MapField<string, string> Labels { get; }

Labels as key value pairs.

Property Value
TypeDescription
MapFieldstringstring

MachineDetails

public MachineDetails MachineDetails { get; set; }

Output only. Asset information specific for virtual and physical machines.

Property Value
TypeDescription
MachineDetails

Name

public string Name { get; set; }

Output only. The full name of the asset.

Property Value
TypeDescription
string

PerformanceData

public AssetPerformanceData PerformanceData { get; set; }

Output only. Performance data for the asset.

Property Value
TypeDescription
AssetPerformanceData

Sources

public RepeatedField<string> Sources { get; }

Output only. The list of sources contributing to the asset.

Property Value
TypeDescription
RepeatedFieldstring

SourcesAsSourceNames

public ResourceNameList<SourceName> SourcesAsSourceNames { get; }

SourceName-typed view over the Sources resource name property.

Property Value
TypeDescription
ResourceNameListSourceName

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The timestamp when the asset was last updated.

Property Value
TypeDescription
Timestamp