public sealed class AssetReference : IMessage<AssetReference>, IEquatable<AssetReference>, IDeepCloneable<AssetReference>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Private Catalog v1beta1 API class AssetReference.
Defines the reference of an asset belonging to a product.
Implements
IMessageAssetReference, IEquatableAssetReference, IDeepCloneableAssetReference, IBufferMessage, IMessageNamespace
Google.Cloud.PrivateCatalog.V1Beta1Assembly
Google.Cloud.PrivateCatalog.V1Beta1.dll
Constructors
AssetReference()
public AssetReference()
AssetReference(AssetReference)
public AssetReference(AssetReference other)
Parameter | |
---|---|
Name | Description |
other |
AssetReference |
Properties
Asset
public string Asset { get; set; }
Output only. The asset resource name if an asset is hosted by Private Catalog.
Property Value | |
---|---|
Type | Description |
string |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The creation timestamp of the asset reference.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
Output only. The human-readable description of the referenced asset. Maximum 256 characters in length.
Property Value | |
---|---|
Type | Description |
string |
GcsPath
[Obsolete]
public string GcsPath { get; set; }
Output only. The cloud storage object path.
Property Value | |
---|---|
Type | Description |
string |
GcsSource
public GcsSource GcsSource { get; set; }
Output only. The cloud storage source.
Property Value | |
---|---|
Type | Description |
GcsSource |
GitSource
public GitSource GitSource { get; set; }
Output only. The git source.
Property Value | |
---|---|
Type | Description |
GitSource |
HasAsset
public bool HasAsset { get; }
Gets whether the "asset" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasGcsPath
[Obsolete]
public bool HasGcsPath { get; }
Gets whether the "gcs_path" field is set
Property Value | |
---|---|
Type | Description |
bool |
Id
public string Id { get; set; }
Output only. A unique identifier among asset references in a product.
Property Value | |
---|---|
Type | Description |
string |
Inputs
public Inputs Inputs { get; set; }
Output only. The definition of input parameters to hydrate the asset template.
Property Value | |
---|---|
Type | Description |
Inputs |
SourceCase
public AssetReference.SourceOneofCase SourceCase { get; }
Property Value | |
---|---|
Type | Description |
AssetReferenceSourceOneofCase |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The last update timestamp of the asset reference.
Property Value | |
---|---|
Type | Description |
Timestamp |
ValidationOperation
public Operation ValidationOperation { get; set; }
Output only. The validation process metadata.
Property Value | |
---|---|
Type | Description |
Operation |
ValidationStatus
public AssetReference.Types.AssetValidationState ValidationStatus { get; set; }
Output only. The current state of the asset reference.
Property Value | |
---|---|
Type | Description |
AssetReferenceTypesAssetValidationState |
Version
[Obsolete]
public string Version { get; set; }
The version of the source used for this asset reference.
Property Value | |
---|---|
Type | Description |
string |