Class: Google::Apis::TranslateV3beta1::OutputConfig

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

Overview

Output configuration for BatchTranslateText request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OutputConfig

Returns a new instance of OutputConfig.



822
823
824
# File 'lib/google/apis/translate_v3beta1/classes.rb', line 822

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

Instance Attribute Details

#gcs_destinationGoogle::Apis::TranslateV3beta1::GcsDestination

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



820
821
822
# File 'lib/google/apis/translate_v3beta1/classes.rb', line 820

def gcs_destination
  @gcs_destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



827
828
829
# File 'lib/google/apis/translate_v3beta1/classes.rb', line 827

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