public sealed class LanguageInfo : IMessage<LanguageInfo>, IEquatable<LanguageInfo>, IDeepCloneable<LanguageInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class LanguageInfo.
Language info for DataStore.
Implements
IMessageLanguageInfo, IEquatableLanguageInfo, IDeepCloneableLanguageInfo, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
LanguageInfo()
public LanguageInfo()
LanguageInfo(LanguageInfo)
public LanguageInfo(LanguageInfo other)
Parameter | |
---|---|
Name | Description |
other |
LanguageInfo |
Properties
Language
public string Language { get; set; }
Output only. Language part of normalized_language_code.
E.g.: en-US
-> en
, zh-Hans-HK
-> zh
, en
-> en
.
Property Value | |
---|---|
Type | Description |
string |
LanguageCode
public string LanguageCode { get; set; }
The language code for the DataStore.
Property Value | |
---|---|
Type | Description |
string |
NormalizedLanguageCode
public string NormalizedLanguageCode { get; set; }
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
.
Property Value | |
---|---|
Type | Description |
string |
Region
public string Region { get; set; }
Output only. Region part of normalized_language_code, if present.
E.g.: en-US
-> US
, zh-Hans-HK
-> HK
, en
-> ``.
Property Value | |
---|---|
Type | Description |
string |