Google Cloud Storage URI prefix where the results will be stored. Results
will be in JSON format and preceded by its corresponding input URI prefix.
This field can either represent a gcs file prefix or gcs directory. In
either case, the uri should be unique because in order to get all of the
output files, you will need to do a wildcard gcs search on the uri prefix
you provide.
Examples:
File Prefix: gs://bucket-name/here/filenameprefix The output files
will be created in gs://bucket-name/here/ and the names of the
output files will begin with "filenameprefix".
Directory Prefix: gs://bucket-name/some/location/ The output files
will be created in gs://bucket-name/some/location/ and the names of the
output files could be anything because there was no filename prefix
specified.
If multiple outputs, each response is still AnnotateFileResponse, each of
which contains some subset of the full list of AnnotateImageResponse.
Multiple outputs can happen if, for example, the output JSON is too large
and overflows into multiple sharded files.
[[["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 Vision v1 API is 3.7.0, and previous versions are available for reference, ranging back to version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGcsDestination\u003c/code\u003e class is designed to specify the Google Cloud Storage location for storing the output of the API, implementing interfaces like \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\u003e\u003ccode\u003eGcsDestination\u003c/code\u003e instances can be constructed using either a default constructor or one that takes another \u003ccode\u003eGcsDestination\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUri\u003c/code\u003e property of the \u003ccode\u003eGcsDestination\u003c/code\u003e class is used to store a Google Cloud Storage URI prefix, which is where the results will be saved in JSON format, either as a file prefix or a directory.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Vision v1 API - Class GcsDestination (3.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.GcsDestination)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.6.0/Google.Cloud.Vision.V1.GcsDestination)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.5.0/Google.Cloud.Vision.V1.GcsDestination)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.4.0/Google.Cloud.Vision.V1.GcsDestination)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.3.0/Google.Cloud.Vision.V1.GcsDestination)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.2.0/Google.Cloud.Vision.V1.GcsDestination)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.1.0/Google.Cloud.Vision.V1.GcsDestination)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.0.0/Google.Cloud.Vision.V1.GcsDestination)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.5.0/Google.Cloud.Vision.V1.GcsDestination)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.4.0/Google.Cloud.Vision.V1.GcsDestination)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.3.0/Google.Cloud.Vision.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 Vision v1 API class GcsDestination.\n\nThe Google Cloud Storage location where the output will be written to. \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.Vision.V1/latest/Google.Cloud.Vision.V1.GcsDestination), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GcsDestination](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.GcsDestination), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GcsDestination](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.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.Vision.V1](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Vision.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### Uri\n\n public string Uri { get; set; }\n\nGoogle Cloud Storage URI prefix where the results will be stored. Results\nwill be in JSON format and preceded by its corresponding input URI prefix.\nThis field can either represent a gcs file prefix or gcs directory. In\neither case, the uri should be unique because in order to get all of the\noutput files, you will need to do a wildcard gcs search on the uri prefix\nyou provide.\n\nExamples:\n\n- File Prefix: gs://bucket-name/here/filenameprefix The output files\n will be created in gs://bucket-name/here/ and the names of the\n output files will begin with \"filenameprefix\".\n\n- Directory Prefix: gs://bucket-name/some/location/ The output files\n will be created in gs://bucket-name/some/location/ and the names of the\n output files could be anything because there was no filename prefix\n specified.\n\nIf multiple outputs, each response is still AnnotateFileResponse, each of\nwhich contains some subset of the full list of AnnotateImageResponse.\nMultiple outputs can happen if, for example, the output JSON is too large\nand overflows into multiple sharded files."]]