Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputConfigGcsDestination

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

Overview

The Google Cloud Storage output destination configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaOutputConfigGcsDestination

Returns a new instance of GoogleCloudRetailV2alphaOutputConfigGcsDestination.



4574
4575
4576
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4574

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)


4572
4573
4574
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4572

def output_uri_prefix
  @output_uri_prefix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4579
4580
4581
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4579

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