public sealed class Asset : IMessage<Asset>, IEquatable<Asset>, IDeepCloneable<Asset>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Dataplex v1 API class Asset.
An asset represents a cloud resource that is being managed within a lake as a member of a zone.
Namespace
GoogleCloudGoogle.Cloud.DataplexV1Assembly
Google.Cloud.Dataplex.V1.dll
Constructors
Asset()
public Asset()
Asset(Asset)
public Asset(Asset other)
Parameter | |
---|---|
Name | Description |
other | Asset |
Properties
AssetName
public AssetName AssetName { get; set; }
Property Value | |
---|---|
Type | Description |
AssetName |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time when the asset was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
Optional. Description of the asset.
Property Value | |
---|---|
Type | Description |
string |
DiscoverySpec
public Asset.Types.DiscoverySpec DiscoverySpec { get; set; }
Optional. Specification of the discovery feature applied to data referenced by this asset. When this spec is left unset, the asset will use the spec set on the parent zone.
Property Value | |
---|---|
Type | Description |
AssetTypesDiscoverySpec |
DiscoveryStatus
public Asset.Types.DiscoveryStatus DiscoveryStatus { get; set; }
Output only. Status of the discovery feature applied to data referenced by this asset.
Property Value | |
---|---|
Type | Description |
AssetTypesDiscoveryStatus |
DisplayName
public string DisplayName { get; set; }
Optional. User friendly display name.
Property Value | |
---|---|
Type | Description |
string |
Labels
public MapField<string, string> Labels { get; }
Optional. User defined labels for the asset.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Name
public string Name { get; set; }
Output only. The relative resource name of the asset, of the form:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}
.
Property Value | |
---|---|
Type | Description |
string |
ResourceSpec
public Asset.Types.ResourceSpec ResourceSpec { get; set; }
Required. Specification of the resource that is referenced by this asset.
Property Value | |
---|---|
Type | Description |
AssetTypesResourceSpec |
ResourceStatus
public Asset.Types.ResourceStatus ResourceStatus { get; set; }
Output only. Status of the resource referenced by this asset.
Property Value | |
---|---|
Type | Description |
AssetTypesResourceStatus |
SecurityStatus
public Asset.Types.SecurityStatus SecurityStatus { get; set; }
Output only. Status of the security policy applied to resource referenced by this asset.
Property Value | |
---|---|
Type | Description |
AssetTypesSecurityStatus |
State
public State State { get; set; }
Output only. Current state of the asset.
Property Value | |
---|---|
Type | Description |
State |
Uid
public string Uid { get; set; }
Output only. System generated globally unique ID for the asset. This ID will be different if the asset is deleted and re-created with the same name.
Property Value | |
---|---|
Type | Description |
string |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The time when the asset was last updated.
Property Value | |
---|---|
Type | Description |
Timestamp |