Class: Google::Devtools::Clouddebugger::V2::FormatMessage

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/debugger/v2/doc/google/devtools/clouddebugger/v2/data.rb

Overview

Represents a message with parameters.

Instance Attribute Summary collapse

Instance Attribute Details

#formatString

Returns 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.+


34
# File 'lib/google/cloud/debugger/v2/doc/google/devtools/clouddebugger/v2/data.rb', line 34

class FormatMessage; end

#parametersArray<String>

Returns Optional parameters to be embedded into the message.

Returns:

  • (Array<String>)

    Optional parameters to be embedded into the message.



34
# File 'lib/google/cloud/debugger/v2/doc/google/devtools/clouddebugger/v2/data.rb', line 34

class FormatMessage; end