Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputConfigGcsDestination

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

Overview

The Google Cloud Storage output destination configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2betaOutputConfigGcsDestination

Returns a new instance of GoogleCloudRetailV2betaOutputConfigGcsDestination.



5028
5029
5030
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5028

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)


5026
5027
5028
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5026

def output_uri_prefix
  @output_uri_prefix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5033
5034
5035
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5033

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