Class: Google::Apis::TranslateV3::BatchDocumentInputConfig
- Inherits:
-
Object
- Object
- Google::Apis::TranslateV3::BatchDocumentInputConfig
- 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
Input configuration for BatchTranslateDocument request.
Instance Attribute Summary collapse
-
#gcs_source ⇒ Google::Apis::TranslateV3::GcsSource
The Google Cloud Storage location for the input content.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchDocumentInputConfig
constructor
A new instance of BatchDocumentInputConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchDocumentInputConfig
Returns a new instance of BatchDocumentInputConfig.
253 254 255 |
# File 'lib/google/apis/translate_v3/classes.rb', line 253 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcs_source ⇒ Google::Apis::TranslateV3::GcsSource
The Google Cloud Storage location for the input content.
Corresponds to the JSON property gcsSource
251 252 253 |
# File 'lib/google/apis/translate_v3/classes.rb', line 251 def gcs_source @gcs_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
258 259 260 |
# File 'lib/google/apis/translate_v3/classes.rb', line 258 def update!(**args) @gcs_source = args[:gcs_source] if args.key?(:gcs_source) end |