Class: Google::Cloud::DiscoveryEngine::V1beta::LanguageInfo

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1beta/data_store.rb

Overview

Language info for DataStore.

Instance Attribute Summary collapse

Instance Attribute Details

#language::String (readonly)

Returns Output only. Language part of normalized_language_code. E.g.: en-US -> en, zh-Hans-HK -> zh, en -> en.

Returns:

  • (::String)

    Output only. Language part of normalized_language_code. E.g.: en-US -> en, zh-Hans-HK -> zh, en -> en.



181
182
183
184
# File 'proto_docs/google/cloud/discoveryengine/v1beta/data_store.rb', line 181

class LanguageInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#language_code::String

Returns The language code for the DataStore.

Returns:

  • (::String)

    The language code for the DataStore.



181
182
183
184
# File 'proto_docs/google/cloud/discoveryengine/v1beta/data_store.rb', line 181

class LanguageInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#normalized_language_code::String (readonly)

Returns 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.

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.



181
182
183
184
# File 'proto_docs/google/cloud/discoveryengine/v1beta/data_store.rb', line 181

class LanguageInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#region::String (readonly)

Returns Output only. Region part of normalized_language_code, if present. E.g.: en-US -> US, zh-Hans-HK -> HK, en -> ``.

Returns:

  • (::String)

    Output only. Region part of normalized_language_code, if present. E.g.: en-US -> US, zh-Hans-HK -> HK, en -> ``.



181
182
183
184
# File 'proto_docs/google/cloud/discoveryengine/v1beta/data_store.rb', line 181

class LanguageInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end