shared/output/cloud/compute_small/lib/google/cloud/compute/v1/networks/rest/service_stub.rb
def transcode_remove_peering_request request_pb
                uri = "/compute/v1/projects/#{request_pb.project}/global/networks/#{request_pb.network}/removePeering"
                body = request_pb.networks_remove_peering_request_resource.to_json
                query_string_params = {}
                query_string_params["requestId"] = request_pb.request_id.to_s if request_pb.has_request_id?

                [uri, body, query_string_params]
              end
##
# GRPC transcoding helper method for the remove_peering REST call
#
# @param request_pb [::Google::Cloud::Compute::V1::RemovePeeringNetworkRequest]
#   A request object representing the call parameters. Required.
# @return [Array(String, [String, nil], Hash{String => String})]
#   Uri, Body, Query string parameters
GRPC transcoding helper method for the remove_peering REST call
GRPC transcoding helper method for the remove_peering REST call
def transcode_remove_peering_request request_pb
                uri = "/compute/v1/projects/#{request_pb.project}/global/networks/#{request_pb.network}/removePeering"
                body = request_pb.networks_remove_peering_request_resource.to_json
                query_string_params = {}
                query_string_params["requestId"] = request_pb.request_id.to_s if request_pb.has_request_id?
                [uri, body, query_string_params]
              end
def transcode_remove_peering_request request_pb uri = "/compute/v1/projects/#{request_pb.project}/global/networks/#{request_pb.network}/removePeering" body = request_pb . networks_remove_peering_request_resource . to_json query_string_params = { } query_string_params [ "requestId" ] = request_pb . request_id . to_s if request_pb . has_request_id? [ uri , body , query_string_params ] end
GRPC transcoding helper method for the remove_peering REST call
GRPC transcoding helper method for the remove_peering REST call
, Hash{String => String})] Uri, Body, Query string parameters
Hash { String = > String } ) ] Uri Body Query string parameters
Array(String, [String, nil
request_pb
A request object representing the call parameters. Required.
A request object representing the call parameters . Required .