Module: Google::Cloud::Compute::V1::RegionInstances::Rest::GrpcTranscoding
- Extended by:
- GrpcTranscoding
- Included in:
- GrpcTranscoding
- Defined in:
- lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
Overview
GRPC transcoding helper methods for the RegionInstances REST API.
Instance Method Summary collapse
-
#transcode_bulk_insert(request_pb) ⇒ Array(String, [String, nil], Hash{String => String})
Uri, Body, Query string parameters.
Instance Method Details
#transcode_bulk_insert(request_pb) ⇒ Array(String, [String, nil], Hash{String => String})
Returns Uri, Body, Query string parameters.
32 33 34 35 36 37 38 |
# File 'lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb', line 32 def transcode_bulk_insert request_pb uri = "/compute/v1/projects/#{request_pb.project}/regions/#{request_pb.region}/instances/bulkInsert" body = request_pb.bulk_insert_instance_resource_resource.to_json query_string_params = {} [uri, body, query_string_params] end |