class Google::Shopping::Merchant::Accounts::V1::ProgramsService::Rest::ServiceStub

def self.transcode_get_program_request request_pb

Returns:
  • (Array(String, [String, nil], Hash{String => String})) -

Parameters:
  • request_pb (::Google::Shopping::Merchant::Accounts::V1::GetProgramRequest) --

Other tags:
    Private: -
def self.transcode_get_program_request request_pb
  transcoder = Gapic::Rest::GrpcTranscoder.new
                                          .with_bindings(
                                            uri_method: :get,
                                            uri_template: "/accounts/v1/{name}",
                                            matches: [
                                              ["name", %r{^accounts/[^/]+/programs/[^/]+/?$}, false]
                                            ]
                                          )
  transcoder.transcode request_pb
end