class Google::Apis::SpannerV1::LocalizedString
A message representing a user-facing string whose value may need to be translated before being displayed.
Attributes
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. Corresponds to the JSON property `args` @return [Hash<String,String>]
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. Corresponds to the JSON property `message` @return [String]
The token identifying the message, e.g. 'METRIC_READ_CPU'. This should be unique within the service. Corresponds to the JSON property `token` @return [String]
Public Class Methods
# File lib/google/apis/spanner_v1/classes.rb, line 2244 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/spanner_v1/classes.rb, line 2249 def update!(**args) @args = args[:args] if args.key?(:args) @message = args[:message] if args.key?(:message) @token = args[:token] if args.key?(:token) end