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.
Namespace
Google.Cloud.MigrationCenter.V1Assembly
Google.Cloud.MigrationCenter.V1.dll
Constructors
Asset()
public Asset()
Asset(Asset)
public Asset(Asset other)
Parameter | |
---|---|
Name | Description |
other |
Asset |
Properties
AssetDetailsCase
public Asset.AssetDetailsOneofCase AssetDetailsCase { get; }
Property Value | |
---|---|
Type | Description |
AssetAssetDetailsOneofCase |
AssetName
public AssetName AssetName { get; set; }
Property Value | |
---|---|
Type | Description |
AssetName |
AssignedGroups
public RepeatedField<string> AssignedGroups { get; }
Output only. The list of groups that the asset is assigned to.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
AssignedGroupsAsGroupNames
public ResourceNameList<GroupName> AssignedGroupsAsGroupNames { get; }
GroupName-typed view over the AssignedGroups resource name property.
Property Value | |
---|---|
Type | Description |
ResourceNameListGroupName |
Attributes
public MapField<string, string> Attributes { get; }
Generic asset attributes.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The timestamp when the asset was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
InsightList
public InsightList InsightList { get; set; }
Output only. The list of insights associated with the asset.
Property Value | |
---|---|
Type | Description |
InsightList |
Labels
public MapField<string, string> Labels { get; }
Labels as key value pairs.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
MachineDetails
public MachineDetails MachineDetails { get; set; }
Output only. Asset information specific for virtual and physical machines.
Property Value | |
---|---|
Type | Description |
MachineDetails |
Name
public string Name { get; set; }
Output only. The full name of the asset.
Property Value | |
---|---|
Type | Description |
string |
PerformanceData
public AssetPerformanceData PerformanceData { get; set; }
Output only. Performance data for the asset.
Property Value | |
---|---|
Type | Description |
AssetPerformanceData |
Sources
public RepeatedField<string> Sources { get; }
Output only. The list of sources contributing to the asset.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
SourcesAsSourceNames
public ResourceNameList<SourceName> SourcesAsSourceNames { get; }
SourceName-typed view over the Sources resource name property.
Property Value | |
---|---|
Type | Description |
ResourceNameListSourceName |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The timestamp when the asset was last updated.
Property Value | |
---|---|
Type | Description |
Timestamp |