class Google::Apis::TranslateV3::TranslateTextGlossaryConfig
Configures which glossary should be used for a specific target language, and defines options for applying that glossary.
Attributes
glossary[RW]
Required. The `glossary` to be applied for this translation. The format depends on glossary: - User provided custom glossary: `projects/`project- number-or-id`/locations/`location-id`/glossaries/`glossary-id“ Corresponds to the JSON property `glossary` @return [String]
ignore_case[RW]
Optional. Indicates match is case-insensitive. Default value is false if missing. Corresponds to the JSON property `ignoreCase` @return [Boolean]
ignore_case?[RW]
Optional. Indicates match is case-insensitive. Default value is false if missing. Corresponds to the JSON property `ignoreCase` @return [Boolean]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/translate_v3/classes.rb, line 737 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/translate_v3/classes.rb, line 742 def update!(**args) @glossary = args[:glossary] if args.key?(:glossary) @ignore_case = args[:ignore_case] if args.key?(:ignore_case) end