Class LocalizedString
A message representing a user-facing string whose value may need to be translated before being displayed.
Implements
Inherited Members
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class LocalizedString : IDirectResponseSchema
Properties
Args
A map of arguments used when creating the localized message. Keys represent parameter names which may be used by the localized version when substituting dynamic values.
Declaration
[JsonProperty("args")]
public virtual IDictionary<string, string> Args { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Message
The canonical English version of this message. If no token is provided or the front-end has no message associated with the token, this text will be displayed as-is.
Declaration
[JsonProperty("message")]
public virtual string Message { get; set; }
Property Value
Type | Description |
---|---|
string |
Token
The token identifying the message, e.g. 'METRIC_READ_CPU'. This should be unique within the service.
Declaration
[JsonProperty("token")]
public virtual string Token { get; set; }
Property Value
Type | Description |
---|---|
string |