Class: Google::Apis::TranslateV3::OutputConfig

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

Overview

Output configuration for BatchTranslateText request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OutputConfig

Returns a new instance of OutputConfig.



621
622
623
# File 'generated/google/apis/translate_v3/classes.rb', line 621

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

Instance Attribute Details

#gcs_destinationGoogle::Apis::TranslateV3::GcsDestination

The Google Cloud Storage location for the output content. Corresponds to the JSON property gcsDestination



619
620
621
# File 'generated/google/apis/translate_v3/classes.rb', line 619

def gcs_destination
  @gcs_destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



626
627
628
# File 'generated/google/apis/translate_v3/classes.rb', line 626

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