Class: Google::Apis::CloudsearchV1::LanguageConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::LanguageConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
The language configuration for the session.
Instance Attribute Summary collapse
-
#spoken_languages ⇒ Array<String>
The spoken language(s) in BCP47 language code.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LanguageConfig
constructor
A new instance of LanguageConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LanguageConfig
Returns a new instance of LanguageConfig.
13000 13001 13002 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13000 def initialize(**args) update!(**args) end |
Instance Attribute Details
#spoken_languages ⇒ Array<String>
The spoken language(s) in BCP47 language code.
Corresponds to the JSON property spokenLanguages
12998 12999 13000 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12998 def spoken_languages @spoken_languages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13005 13006 13007 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13005 def update!(**args) @spoken_languages = args[:spoken_languages] if args.key?(:spoken_languages) end |