Reference documentation and code samples for the Cloud Vision V1 API class Google::Cloud::Vision::V1::GcsDestination.
The Google Cloud Storage location where the output will be written to.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#uri
defuri()->::String
Returns
(::String) — 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.
#uri=
defuri=(value)->::String
Parameter
value (::String) — 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.
Returns
(::String) — 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"]],[["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-09-09 UTC."],[],[],null,["# Cloud Vision V1 API - Class Google::Cloud::Vision::V1::GcsDestination (v1.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.1 (latest)](/ruby/docs/reference/google-cloud-vision-v1/latest/Google-Cloud-Vision-V1-GcsDestination)\n- [1.3.0](/ruby/docs/reference/google-cloud-vision-v1/1.3.0/Google-Cloud-Vision-V1-GcsDestination)\n- [1.2.1](/ruby/docs/reference/google-cloud-vision-v1/1.2.1/Google-Cloud-Vision-V1-GcsDestination)\n- [1.1.0](/ruby/docs/reference/google-cloud-vision-v1/1.1.0/Google-Cloud-Vision-V1-GcsDestination)\n- [1.0.1](/ruby/docs/reference/google-cloud-vision-v1/1.0.1/Google-Cloud-Vision-V1-GcsDestination)\n- [0.15.0](/ruby/docs/reference/google-cloud-vision-v1/0.15.0/Google-Cloud-Vision-V1-GcsDestination)\n- [0.14.0](/ruby/docs/reference/google-cloud-vision-v1/0.14.0/Google-Cloud-Vision-V1-GcsDestination)\n- [0.13.2](/ruby/docs/reference/google-cloud-vision-v1/0.13.2/Google-Cloud-Vision-V1-GcsDestination)\n- [0.12.0](/ruby/docs/reference/google-cloud-vision-v1/0.12.0/Google-Cloud-Vision-V1-GcsDestination)\n- [0.11.1](/ruby/docs/reference/google-cloud-vision-v1/0.11.1/Google-Cloud-Vision-V1-GcsDestination)\n- [0.10.0](/ruby/docs/reference/google-cloud-vision-v1/0.10.0/Google-Cloud-Vision-V1-GcsDestination)\n- [0.9.0](/ruby/docs/reference/google-cloud-vision-v1/0.9.0/Google-Cloud-Vision-V1-GcsDestination)\n- [0.8.0](/ruby/docs/reference/google-cloud-vision-v1/0.8.0/Google-Cloud-Vision-V1-GcsDestination)\n- [0.7.0](/ruby/docs/reference/google-cloud-vision-v1/0.7.0/Google-Cloud-Vision-V1-GcsDestination)\n- [0.6.4](/ruby/docs/reference/google-cloud-vision-v1/0.6.4/Google-Cloud-Vision-V1-GcsDestination) \nReference documentation and code samples for the Cloud Vision V1 API class Google::Cloud::Vision::V1::GcsDestination.\n\nThe Google Cloud Storage location where the output will be written to. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #uri\n\n def uri() -\u003e ::String\n\n**Returns**\n\n- (::String) --- 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.\n\n Examples:\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\n If multiple outputs, each response is still AnnotateFileResponse, each of\n which contains some subset of the full list of AnnotateImageResponse.\n Multiple outputs can happen if, for example, the output JSON is too large\n and overflows into multiple sharded files.\n\n### #uri=\n\n def uri=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- 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.\n\n\n Examples:\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\n If multiple outputs, each response is still AnnotateFileResponse, each of\n which contains some subset of the full list of AnnotateImageResponse.\n Multiple outputs can happen if, for example, the output JSON is too large\nand overflows into multiple sharded files. \n**Returns**\n\n- (::String) --- 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.\n\n Examples:\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\n If multiple outputs, each response is still AnnotateFileResponse, each of\n which contains some subset of the full list of AnnotateImageResponse.\n Multiple outputs can happen if, for example, the output JSON is too large\n and overflows into multiple sharded files."]]