Class: Google::Devtools::Clouddebugger::V2::FormatMessage
- Inherits:
-
Object
- Object
- Google::Devtools::Clouddebugger::V2::FormatMessage
- Defined in:
- lib/google/cloud/debugger/v2/doc/google/devtools/clouddebugger/v2/data.rb
Overview
Represents a message with parameters.
Instance Attribute Summary collapse
-
#format ⇒ String
Format template for the message.
-
#parameters ⇒ Array<String>
Optional parameters to be embedded into the message.
Instance Attribute Details
#format ⇒ String
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.+
34 |
# File 'lib/google/cloud/debugger/v2/doc/google/devtools/clouddebugger/v2/data.rb', line 34 class FormatMessage; end |
#parameters ⇒ Array<String>
Returns 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 |