Class: Google::Apis::TranslateV3::GlossaryInputConfig
- Inherits:
-
Object
- Object
- Google::Apis::TranslateV3::GlossaryInputConfig
- 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 glossaries.
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) ⇒ GlossaryInputConfig
constructor
A new instance of GlossaryInputConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GlossaryInputConfig
Returns a new instance of GlossaryInputConfig.
811 812 813 |
# File 'lib/google/apis/translate_v3/classes.rb', line 811 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
809 810 811 |
# File 'lib/google/apis/translate_v3/classes.rb', line 809 def gcs_source @gcs_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
816 817 818 |
# File 'lib/google/apis/translate_v3/classes.rb', line 816 def update!(**args) @gcs_source = args[:gcs_source] if args.key?(:gcs_source) end |