Show / Hide Table of Contents

Class LocalizedString

A message representing a user-facing string whose value may need to be translated before being displayed.

Inheritance
System.Object
LocalizedString
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
System.Collections.Generic.IDictionary<System.String, System.String>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.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
System.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
System.String

Implements

IDirectResponseSchema
In This Article
Back to top