Class UserLanguage
JSON template for a language entry.
Implements
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1.Data
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class UserLanguage : IDirectResponseSchema
Properties
CustomLanguage
Other language. User can provide their own language name if there is no corresponding ISO 639 language code.
If this is set, languageCode
can't be set.
Declaration
[JsonProperty("customLanguage")]
public virtual string CustomLanguage { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
LanguageCode
ISO 639 string representation of a language. See Language Codes for the
list of supported codes. Valid language codes outside the supported set will be accepted by the API but may
lead to unexpected behavior. Illegal values cause SchemaException
. If this is set, customLanguage
can't
be set.
Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
Preference
Optional. If present, controls whether the specified languageCode
is the user's preferred language. If
customLanguage
is set, this can't be set. Allowed values are preferred
and not_preferred
.
Declaration
[JsonProperty("preference")]
public virtual string Preference { get; set; }
Property Value
Type | Description |
---|---|
string |