The URI of the Cloud Storage object. It's the same URI that is used by
gsutil. Example: "gs://bucket_name/object_name". See Viewing and
Editing Object
Metadata
for more information.
If the specified Cloud Storage object already exists and there is no
hold, it will be
overwritten with the exported result.
The URI prefix of all generated Cloud Storage objects. Example:
"gs://bucket_name/object_name_prefix". Each object URI is in format:
"gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
contains assets for that type. <shard number> starts from 0. Example:
"gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
the first shard of output objects containing all
compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
returned if file with the same name "gs://bucket_name/object_name_prefix"
already exists.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eGcsDestination\u003c/code\u003e class in the Google Cloud Asset Inventory v1 API is version 3.12.0, with multiple previous versions ranging from 2.7.0 to 3.11.0 also available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGcsDestination\u003c/code\u003e is a class that represents a Cloud Storage location and it implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eGcsDestination\u003c/code\u003e includes properties like \u003ccode\u003eHasUri\u003c/code\u003e, \u003ccode\u003eHasUriPrefix\u003c/code\u003e, and \u003ccode\u003eObjectUriCase\u003c/code\u003e to manage the configuration and status of the Cloud Storage location.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGcsDestination\u003c/code\u003e has properties named \u003ccode\u003eUri\u003c/code\u003e and \u003ccode\u003eUriPrefix\u003c/code\u003e which are used to define the URI of the Cloud Storage object, or the URI prefix for multiple generated Cloud Storage objects, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGcsDestination\u003c/code\u003e class includes two constructors: a default constructor \u003ccode\u003eGcsDestination()\u003c/code\u003e and a copy constructor \u003ccode\u003eGcsDestination(GcsDestination other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Asset Inventory v1 API - Class GcsDestination (3.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.GcsDestination)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.12.0/Google.Cloud.Asset.V1.GcsDestination)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.11.0/Google.Cloud.Asset.V1.GcsDestination)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.10.0/Google.Cloud.Asset.V1.GcsDestination)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.9.0/Google.Cloud.Asset.V1.GcsDestination)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.8.0/Google.Cloud.Asset.V1.GcsDestination)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.7.0/Google.Cloud.Asset.V1.GcsDestination)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.6.0/Google.Cloud.Asset.V1.GcsDestination)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.5.0/Google.Cloud.Asset.V1.GcsDestination)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.4.0/Google.Cloud.Asset.V1.GcsDestination)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.3.0/Google.Cloud.Asset.V1.GcsDestination)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.2.0/Google.Cloud.Asset.V1.GcsDestination)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.1.0/Google.Cloud.Asset.V1.GcsDestination)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.0.0/Google.Cloud.Asset.V1.GcsDestination)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.11.0/Google.Cloud.Asset.V1.GcsDestination)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.10.0/Google.Cloud.Asset.V1.GcsDestination)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.9.0/Google.Cloud.Asset.V1.GcsDestination)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.8.0/Google.Cloud.Asset.V1.GcsDestination)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.7.0/Google.Cloud.Asset.V1.GcsDestination) \n\n public sealed class GcsDestination : IMessage\u003cGcsDestination\u003e, IEquatable\u003cGcsDestination\u003e, IDeepCloneable\u003cGcsDestination\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Asset Inventory v1 API class GcsDestination.\n\nA Cloud Storage location. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GcsDestination \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GcsDestination](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.GcsDestination), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GcsDestination](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.GcsDestination), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GcsDestination](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.GcsDestination), [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.Asset.V1](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Asset.V1.dll\n\nConstructors\n------------\n\n### GcsDestination()\n\n public GcsDestination()\n\n### GcsDestination(GcsDestination)\n\n public GcsDestination(GcsDestination other)\n\nProperties\n----------\n\n### HasUri\n\n public bool HasUri { get; }\n\nGets whether the \"uri\" field is set\n\n### HasUriPrefix\n\n public bool HasUriPrefix { get; }\n\nGets whether the \"uri_prefix\" field is set\n\n### ObjectUriCase\n\n public GcsDestination.ObjectUriOneofCase ObjectUriCase { get; }\n\n### Uri\n\n public string Uri { get; set; }\n\nThe URI of the Cloud Storage object. It's the same URI that is used by\ngsutil. Example: \"gs://bucket_name/object_name\". See [Viewing and\nEditing Object\nMetadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)\nfor more information.\n\nIf the specified Cloud Storage object already exists and there is no\n[hold](https://cloud.google.com/storage/docs/object-holds), it will be\noverwritten with the exported result.\n\n### UriPrefix\n\n public string UriPrefix { get; set; }\n\nThe URI prefix of all generated Cloud Storage objects. Example:\n\"gs://bucket_name/object_name_prefix\". Each object URI is in format:\n\"gs://bucket_name/object_name_prefix/\\\u003casset type\\\u003e/\\\u003cshard number\\\u003e and only\ncontains assets for that type. \\\u003cshard number\\\u003e starts from 0. Example:\n\"gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0\" is\nthe first shard of output objects containing all\ncompute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be\nreturned if file with the same name \"gs://bucket_name/object_name_prefix\"\nalready exists."]]