class Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig
Configures which glossary should be used for a specific target language, and defines options for applying that glossary.
Attributes
glossary[RW]
Required. Specifies the glossary used for this translation. Use this format: projects//locations//glossaries/* 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_v3beta1/classes.rb, line 1051 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_v3beta1/classes.rb, line 1056 def update!(**args) @glossary = args[:glossary] if args.key?(:glossary) @ignore_case = args[:ignore_case] if args.key?(:ignore_case) end