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-
(::String) —
Format template for the message. The
formatuses 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-
value (::String) —
Format template for the message. The
formatuses 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.
-
-
(::String) —
Format template for the message. The
formatuses 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>- (::Array<::String>) — Optional parameters to be embedded into the message.
#parameters=
def parameters=(value) -> ::Array<::String>- value (::Array<::String>) — Optional parameters to be embedded into the message.
- (::Array<::String>) — Optional parameters to be embedded into the message.