Class: Google::Apis::TranslateV3::BatchDocumentOutputConfig
- Inherits:
-
Object
- Object
- Google::Apis::TranslateV3::BatchDocumentOutputConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/translate_v3/classes.rb,
lib/google/apis/translate_v3/representations.rb,
lib/google/apis/translate_v3/representations.rb
Overview
Output configuration for BatchTranslateDocument request.
Instance Attribute Summary collapse
-
#gcs_destination ⇒ Google::Apis::TranslateV3::GcsDestination
The Google Cloud Storage location for the output content.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchDocumentOutputConfig
constructor
A new instance of BatchDocumentOutputConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchDocumentOutputConfig
Returns a new instance of BatchDocumentOutputConfig.
53 54 55 |
# File 'lib/google/apis/translate_v3/classes.rb', line 53 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcs_destination ⇒ Google::Apis::TranslateV3::GcsDestination
The Google Cloud Storage location for the output content.
Corresponds to the JSON property gcsDestination
51 52 53 |
# File 'lib/google/apis/translate_v3/classes.rb', line 51 def gcs_destination @gcs_destination end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
58 59 60 |
# File 'lib/google/apis/translate_v3/classes.rb', line 58 def update!(**args) @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination) end |