class Google::Shopping::Merchant::Promotions::V1::PromotionsService::Rest::ServiceStub
def self.transcode_get_promotion_request request_pb
-
(Array(String, [String, nil], Hash{String => String}))
-
Parameters:
-
request_pb
(::Google::Shopping::Merchant::Promotions::V1::GetPromotionRequest
) --
Other tags:
- Private: -
def self.transcode_get_promotion_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, uri_template: "/promotions/v1/{name}", matches: [ ["name", %r{^accounts/[^/]+/promotions/[^/]+/?$}, false] ] ) transcoder.transcode request_pb end