Reference documentation and code samples for the Google Cloud Retail V2 Client class GcsDestination.
The Google Cloud Storage output destination configuration.
Generated from protobuf messagegoogle.cloud.retail.v2.OutputConfig.GcsDestination
Namespace
Google \ Cloud \ Retail \ V2 \ OutputConfig
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ output_uri_prefix
string
Required. The output uri prefix for saving output data to json files. Some mapping examples are as follows: output_uri_prefix sample output(assuming the object is foo.json) ======================== ============================================= gs://bucket/ gs://bucket/foo.json gs://bucket/folder/ gs://bucket/folder/foo.json gs://bucket/folder/item_ gs://bucket/folder/item_foo.json
getOutputUriPrefix
Required. The output uri prefix for saving output data to json files.
Some mapping examples are as follows:
output_uri_prefix sample output(assuming the object is foo.json)
======================== =============================================
gs://bucket/ gs://bucket/foo.json
gs://bucket/folder/ gs://bucket/folder/foo.json
gs://bucket/folder/item_ gs://bucket/folder/item_foo.json
Returns
Type
Description
string
setOutputUriPrefix
Required. The output uri prefix for saving output data to json files.
Some mapping examples are as follows:
output_uri_prefix sample output(assuming the object is foo.json)
======================== =============================================
gs://bucket/ gs://bucket/foo.json
gs://bucket/folder/ gs://bucket/folder/foo.json
gs://bucket/folder/item_ gs://bucket/folder/item_foo.json
[[["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-04 UTC."],[],[],null,["# Google Cloud Retail V2 Client - Class GcsDestination (2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/php/docs/reference/cloud-retail/latest/V2.OutputConfig.GcsDestination)\n- [2.3.0](/php/docs/reference/cloud-retail/2.3.0/V2.OutputConfig.GcsDestination)\n- [2.2.1](/php/docs/reference/cloud-retail/2.2.1/V2.OutputConfig.GcsDestination)\n- [2.1.3](/php/docs/reference/cloud-retail/2.1.3/V2.OutputConfig.GcsDestination)\n- [2.0.0](/php/docs/reference/cloud-retail/2.0.0/V2.OutputConfig.GcsDestination)\n- [1.7.0](/php/docs/reference/cloud-retail/1.7.0/V2.OutputConfig.GcsDestination)\n- [1.6.4](/php/docs/reference/cloud-retail/1.6.4/V2.OutputConfig.GcsDestination)\n- [1.5.0](/php/docs/reference/cloud-retail/1.5.0/V2.OutputConfig.GcsDestination)\n- [1.4.2](/php/docs/reference/cloud-retail/1.4.2/V2.OutputConfig.GcsDestination)\n- [1.3.1](/php/docs/reference/cloud-retail/1.3.1/V2.OutputConfig.GcsDestination)\n- [1.2.1](/php/docs/reference/cloud-retail/1.2.1/V2.OutputConfig.GcsDestination)\n- [1.1.1](/php/docs/reference/cloud-retail/1.1.1/V2.OutputConfig.GcsDestination)\n- [1.0.1](/php/docs/reference/cloud-retail/1.0.1/V2.OutputConfig.GcsDestination) \nReference documentation and code samples for the Google Cloud Retail V2 Client class GcsDestination.\n\nThe Google Cloud Storage output destination configuration.\n\nGenerated from protobuf message `google.cloud.retail.v2.OutputConfig.GcsDestination`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Retail \\\\ V2 \\\\ OutputConfig\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getOutputUriPrefix\n\nRequired. The output uri prefix for saving output data to json files.\n\nSome mapping examples are as follows:\noutput_uri_prefix sample output(assuming the object is foo.json)\n======================== =============================================\ngs://bucket/ gs://bucket/foo.json\ngs://bucket/folder/ gs://bucket/folder/foo.json\ngs://bucket/folder/item_ gs://bucket/folder/item_foo.json\n\n### setOutputUriPrefix\n\nRequired. The output uri prefix for saving output data to json files.\n\nSome mapping examples are as follows:\noutput_uri_prefix sample output(assuming the object is foo.json)\n======================== =============================================\ngs://bucket/ gs://bucket/foo.json\ngs://bucket/folder/ gs://bucket/folder/foo.json\ngs://bucket/folder/item_ gs://bucket/folder/item_foo.json"]]