[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eAssetReference\u003c/code\u003e class in the Google Cloud Private Catalog v1beta1 API defines a reference to an asset within a product.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAssetReference\u003c/code\u003e includes properties such as \u003ccode\u003eAsset\u003c/code\u003e, \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eGcsSource\u003c/code\u003e, \u003ccode\u003eGitSource\u003c/code\u003e, \u003ccode\u003eId\u003c/code\u003e, and \u003ccode\u003eValidationStatus\u003c/code\u003e that provide details about the referenced asset.\u003c/p\u003e\n"],["\u003cp\u003eThe class also includes obsolete properties like \u003ccode\u003eGcsPath\u003c/code\u003e and \u003ccode\u003eVersion\u003c/code\u003e, that still might be useful in some contexts.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 2.0.0-beta05, with previous versions 2.0.0-beta04 and 1.0.0-beta02 also available.\u003c/p\u003e\n"]]],[],null,["# Cloud Private Catalog v1beta1 API - Class AssetReference (2.0.0-beta05)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta05 (latest)](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/latest/Google.Cloud.PrivateCatalog.V1Beta1.AssetReference)\n- [2.0.0-beta04](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/2.0.0-beta04/Google.Cloud.PrivateCatalog.V1Beta1.AssetReference)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/1.0.0-beta02/Google.Cloud.PrivateCatalog.V1Beta1.AssetReference) \n\n public sealed class AssetReference : IMessage\u003cAssetReference\u003e, IEquatable\u003cAssetReference\u003e, IDeepCloneable\u003cAssetReference\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Private Catalog v1beta1 API class AssetReference.\n\nDefines the reference of an asset belonging to a product. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AssetReference \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AssetReference](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/latest/Google.Cloud.PrivateCatalog.V1Beta1.AssetReference), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AssetReference](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/latest/Google.Cloud.PrivateCatalog.V1Beta1.AssetReference), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AssetReference](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/latest/Google.Cloud.PrivateCatalog.V1Beta1.AssetReference), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.PrivateCatalog.V1Beta1](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/latest/Google.Cloud.PrivateCatalog.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.PrivateCatalog.V1Beta1.dll\n\nConstructors\n------------\n\n### AssetReference()\n\n public AssetReference()\n\n### AssetReference(AssetReference)\n\n public AssetReference(AssetReference other)\n\nProperties\n----------\n\n### Asset\n\n public string Asset { get; set; }\n\nOutput only. The asset resource name if an asset is hosted by Private Catalog.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The creation timestamp of the asset reference.\n\n### Description\n\n public string Description { get; set; }\n\nOutput only. The human-readable description of the referenced asset. Maximum 256\ncharacters in length.\n\n### GcsPath\n\n [Obsolete]\n public string GcsPath { get; set; }\n\nOutput only. The cloud storage object path.\n\n### GcsSource\n\n public GcsSource GcsSource { get; set; }\n\nOutput only. The cloud storage source.\n\n### GitSource\n\n public GitSource GitSource { get; set; }\n\nOutput only. The git source.\n\n### HasAsset\n\n public bool HasAsset { get; }\n\nGets whether the \"asset\" field is set\n\n### HasGcsPath\n\n [Obsolete]\n public bool HasGcsPath { get; }\n\nGets whether the \"gcs_path\" field is set\n\n### Id\n\n public string Id { get; set; }\n\nOutput only. A unique identifier among asset references in a product.\n\n### Inputs\n\n public Inputs Inputs { get; set; }\n\nOutput only. The definition of input parameters to hydrate the asset template.\n\n### SourceCase\n\n public AssetReference.SourceOneofCase SourceCase { get; }\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The last update timestamp of the asset reference.\n\n### ValidationOperation\n\n public Operation ValidationOperation { get; set; }\n\nOutput only. The validation process metadata.\n\n### ValidationStatus\n\n public AssetReference.Types.AssetValidationState ValidationStatus { get; set; }\n\nOutput only. The current state of the asset reference.\n\n### Version\n\n [Obsolete]\n public string Version { get; set; }\n\nThe version of the source used for this asset reference."]]