Cloud Private Catalog v1beta1 API - Class AssetReference (2.0.0-beta03)

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.

Inheritance

object > AssetReference

Namespace

Google.Cloud.PrivateCatalog.V1Beta1

Assembly

Google.Cloud.PrivateCatalog.V1Beta1.dll

Constructors

AssetReference()

public AssetReference()

AssetReference(AssetReference)

public AssetReference(AssetReference other)
Parameter
NameDescription
otherAssetReference

Properties

Asset

public string Asset { get; set; }

Output only. The asset resource name if an asset is hosted by Private Catalog.

Property Value
TypeDescription
string

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation timestamp of the asset reference.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

Output only. The human-readable description of the referenced asset. Maximum 256 characters in length.

Property Value
TypeDescription
string

GcsPath

[Obsolete]
public string GcsPath { get; set; }

Output only. The cloud storage object path.

Property Value
TypeDescription
string

GcsSource

public GcsSource GcsSource { get; set; }

Output only. The cloud storage source.

Property Value
TypeDescription
GcsSource

GitSource

public GitSource GitSource { get; set; }

Output only. The git source.

Property Value
TypeDescription
GitSource

HasAsset

public bool HasAsset { get; }

Gets whether the "asset" field is set

Property Value
TypeDescription
bool

HasGcsPath

[Obsolete]
public bool HasGcsPath { get; }

Gets whether the "gcs_path" field is set

Property Value
TypeDescription
bool

Id

public string Id { get; set; }

Output only. A unique identifier among asset references in a product.

Property Value
TypeDescription
string

Inputs

public Inputs Inputs { get; set; }

Output only. The definition of input parameters to hydrate the asset template.

Property Value
TypeDescription
Inputs

SourceCase

public AssetReference.SourceOneofCase SourceCase { get; }
Property Value
TypeDescription
AssetReferenceSourceOneofCase

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The last update timestamp of the asset reference.

Property Value
TypeDescription
Timestamp

ValidationOperation

public Operation ValidationOperation { get; set; }

Output only. The validation process metadata.

Property Value
TypeDescription
Operation

ValidationStatus

public AssetReference.Types.AssetValidationState ValidationStatus { get; set; }

Output only. The current state of the asset reference.

Property Value
TypeDescription
AssetReferenceTypesAssetValidationState

Version

[Obsolete]
public string Version { get; set; }

The version of the source used for this asset reference.

Property Value
TypeDescription
string