Class: Google::Apis::RetailV2::GoogleCloudRetailV2OutputConfigGcsDestination

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2/classes.rb,
lib/google/apis/retail_v2/representations.rb,
lib/google/apis/retail_v2/representations.rb

Overview

The Google Cloud Storage output destination configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2OutputConfigGcsDestination

Returns a new instance of GoogleCloudRetailV2OutputConfigGcsDestination.



2794
2795
2796
# File 'lib/google/apis/retail_v2/classes.rb', line 2794

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#output_uri_prefixString

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 Corresponds to the JSON property outputUriPrefix

Returns:

  • (String)


2792
2793
2794
# File 'lib/google/apis/retail_v2/classes.rb', line 2792

def output_uri_prefix
  @output_uri_prefix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2799
2800
2801
# File 'lib/google/apis/retail_v2/classes.rb', line 2799

def update!(**args)
  @output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
end