class Google::Shopping::Merchant::Accounts::V1beta::RegionsService::Rest::ServiceStub

def self.transcode_create_region_request request_pb

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

Parameters:
  • request_pb (::Google::Shopping::Merchant::Accounts::V1beta::CreateRegionRequest) --

Other tags:
    Private: -
def self.transcode_create_region_request request_pb
  transcoder = Gapic::Rest::GrpcTranscoder.new
                                          .with_bindings(
                                            uri_method: :post,
                                            uri_template: "/accounts/v1beta/{parent}/regions",
                                            body: "region",
                                            matches: [
                                              ["parent", %r{^accounts/[^/]+/?$}, false]
                                            ]
                                          )
  transcoder.transcode request_pb
end