class Gapic::Rest::GrpcTranscoder::HttpBinding::FieldBinding
A single binding for a field of a request message. @attribute [r] field_path
@return [String] The path of the bound field, e.g. `foo.bar`.
@attribute [r] regex
@return [Regexp] The regex to match on the bound field's string representation.
@attribute [r] preserve_slashes
@return [Boolean] Whether the slashes in the field value should be preserved (as opposed to percent-escaped)
Attributes
field_path[R]
preserve_slashes[R]
regex[R]
Public Class Methods
new(field_path, regex, preserve_slashes)
click to toggle source
# File lib/gapic/rest/grpc_transcoder/http_binding.rb, line 57 def initialize field_path, regex, preserve_slashes @field_path = field_path @regex = regex @preserve_slashes = preserve_slashes end