class Gapic::Rest::GrpcTranscoder::HttpBinding

@private A single binding for GRPC-REST transcoding of a request It includes a uri template with bound field parameters, a HTTP method type, and a body template

@attribute [r] method

@return [Symbol] The REST verb for the request.

@attribute [r] template

@return [String] The URI template for the request.

@attribute [r] field_bindings

@return [Array<FieldBinding>] The field bindings for the URI template variables.

@attribute [r] body

@return [String] The body template for the request.

Attributes

body[R]
field_bindings[R]
method[R]
template[R]

Public Class Methods

new(method, template, field_bindings, body) click to toggle source
# File lib/gapic/rest/grpc_transcoder/http_binding.rb, line 37
def initialize method, template, field_bindings, body
  @method = method
  @template = template
  @field_bindings = field_bindings
  @body = body
end