Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::LanguageInfo (v0.14.2)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::LanguageInfo.

Language info for DataStore.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#language

def language() -> ::String
Returns
  • (::String) — Output only. Language part of normalized_language_code. E.g.: en-US -> en, zh-Hans-HK -> zh, en -> en.

#language_code

def language_code() -> ::String
Returns
  • (::String) — The language code for the DataStore.

#language_code=

def language_code=(value) -> ::String
Parameter
  • value (::String) — The language code for the DataStore.
Returns
  • (::String) — The language code for the DataStore.

#normalized_language_code

def normalized_language_code() -> ::String
Returns
  • (::String) — Output only. This is the normalized form of language_code. E.g.: language_code of en-GB, en_GB, en-UK or en-gb will have normalized_language_code of en-GB.

#region

def region() -> ::String
Returns
  • (::String) — Output only. Region part of normalized_language_code, if present. E.g.: en-US -> US, zh-Hans-HK -> HK, en -> ``.