Sha256: 2ce9a869ca5812ddfef258df9ea18162f5e5ce1edfc1beb0eeb207479fd4f4e2

Contents?: true

Size: 1.62 KB

Versions: 33

Compression:

Stored size: 1.62 KB

Contents

# frozen_string_literal: true

# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Auto-generated by gapic-generator-ruby. DO NOT EDIT!


module Google
  module Cloud
    module Compute
      module V1
        module RegionInstances
          module Rest
            # GRPC transcoding helper methods for the RegionInstances REST API.
            module GrpcTranscoding
              # @param request_pb [::Google::Cloud::Compute::V1::BulkInsertRegionInstanceRequest]
              #   A request object representing the call parameters. Required.
              # @return [Array(String, [String, nil], Hash{String => String})]
              #   Uri, Body, Query string parameters
              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
              extend self
            end
          end
        end
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
google-cloud-compute-v1-2.15.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-2.14.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-2.13.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-2.11.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-2.10.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-2.9.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-2.8.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-2.7.2 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-2.7.1 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-2.7.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-2.6.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-2.5.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-2.4.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-2.3.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-2.2.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-2.1.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-2.0.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-1.10.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-1.9.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb
google-cloud-compute-v1-1.8.0 lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb