class Gapic::Rest::GrpcTranscoder::HttpBinding::FieldBinding
(as opposed to percent-escaped)
@return [Boolean] Whether the slashes in the field value should be preserved
@attribute [r] preserve_slashes
@return [Regexp] The regex to match on the bound field’s string representation.
@attribute [r] regex
@return [String] The path of the bound field, e.g. ‘foo.bar`.
@attribute [r] field_path
A single binding for a field of a request message.
def initialize field_path, regex, preserve_slashes
def initialize field_path, regex, preserve_slashes @field_path = field_path @regex = regex @preserve_slashes = preserve_slashes end