class Google::Shopping::Merchant::Accounts::V1::ProgramsService::Rest::ServiceStub
def self.transcode_enable_program_request request_pb
-
(Array(String, [String, nil], Hash{String => String}))
-
Parameters:
-
request_pb
(::Google::Shopping::Merchant::Accounts::V1::EnableProgramRequest
) --
Other tags:
- Private: -
def self.transcode_enable_program_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :post, uri_template: "/accounts/v1/{name}:enable", body: "*", matches: [ ["name", %r{^accounts/[^/]+/programs/[^/]+/?$}, false] ] ) transcoder.transcode request_pb end