Cloud Debugger V2 API - Class Google::Cloud::Debugger::V2::FormatMessage (v0.4.0)

Reference documentation and code samples for the Cloud Debugger V2 API class Google::Cloud::Debugger::V2::FormatMessage.

Represents a message with parameters.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#format

def format() -> ::String
Returns
  • (::String) —

    Format template for the message. The format uses placeholders $0, $1, etc. to reference parameters. $$ can be used to denote the $ character.

    Examples:

    • Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important.
    • Please pay $$10 to use $0 instead of $1.

#format=

def format=(value) -> ::String
Parameter
  • value (::String) —

    Format template for the message. The format uses placeholders $0, $1, etc. to reference parameters. $$ can be used to denote the $ character.

    Examples:

    • Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important.
    • Please pay $$10 to use $0 instead of $1.
Returns
  • (::String) —

    Format template for the message. The format uses placeholders $0, $1, etc. to reference parameters. $$ can be used to denote the $ character.

    Examples:

    • Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important.
    • Please pay $$10 to use $0 instead of $1.

#parameters

def parameters() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional parameters to be embedded into the message.

#parameters=

def parameters=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional parameters to be embedded into the message.
Returns
  • (::Array<::String>) — Optional parameters to be embedded into the message.