lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb in google-cloud-compute-v1-0.1.0 vs lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb in google-cloud-compute-v1-0.2.0

- old
+ new

@@ -192,19 +192,21 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata - uri, body, _query_string_params = transcode_abandon_instances request + uri, body, query_string_params = transcode_abandon_instances request response = @client_stub.make_post_request( uri: uri, body: body, + params: query_string_params, options: options ) result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true yield result, response if block_given? @@ -277,11 +279,12 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata uri, _body, query_string_params = transcode_aggregated_list request @@ -346,11 +349,12 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata uri, body, _query_string_params = transcode_apply_updates_to_instances request @@ -421,19 +425,21 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata - uri, body, _query_string_params = transcode_create_instances request + uri, body, query_string_params = transcode_create_instances request response = @client_stub.make_post_request( uri: uri, body: body, + params: query_string_params, options: options ) result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true yield result, response if block_given? @@ -494,11 +500,12 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata uri, _body, query_string_params = transcode_delete request @@ -573,19 +580,21 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata - uri, body, _query_string_params = transcode_delete_instances request + uri, body, query_string_params = transcode_delete_instances request response = @client_stub.make_post_request( uri: uri, body: body, + params: query_string_params, options: options ) result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true yield result, response if block_given? @@ -642,11 +651,12 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata uri, body, _query_string_params = transcode_delete_per_instance_configs request @@ -709,11 +719,12 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata uri, _body, _query_string_params = transcode_get request @@ -783,19 +794,21 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata - uri, body, _query_string_params = transcode_insert request + uri, body, query_string_params = transcode_insert request response = @client_stub.make_post_request( uri: uri, body: body, + params: query_string_params, options: options ) result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true yield result, response if block_given? @@ -868,11 +881,12 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata uri, _body, query_string_params = transcode_list request @@ -955,11 +969,12 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata uri, _body, query_string_params = transcode_list_errors request @@ -1042,11 +1057,12 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata uri, _body, query_string_params = transcode_list_managed_instances request @@ -1129,11 +1145,12 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata uri, _body, query_string_params = transcode_list_per_instance_configs request @@ -1204,19 +1221,21 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata - uri, body, _query_string_params = transcode_patch request + uri, body, query_string_params = transcode_patch request response = @client_stub.make_patch_request( uri: uri, body: body, + params: query_string_params, options: options ) result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true yield result, response if block_given? @@ -1279,19 +1298,21 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata - uri, body, _query_string_params = transcode_patch_per_instance_configs request + uri, body, query_string_params = transcode_patch_per_instance_configs request response = @client_stub.make_post_request( uri: uri, body: body, + params: query_string_params, options: options ) result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true yield result, response if block_given? @@ -1358,19 +1379,21 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata - uri, body, _query_string_params = transcode_recreate_instances request + uri, body, query_string_params = transcode_recreate_instances request response = @client_stub.make_post_request( uri: uri, body: body, + params: query_string_params, options: options ) result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true yield result, response if block_given? @@ -1441,11 +1464,12 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata uri, _body, query_string_params = transcode_resize request @@ -1516,19 +1540,21 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata - uri, body, _query_string_params = transcode_set_instance_template request + uri, body, query_string_params = transcode_set_instance_template request response = @client_stub.make_post_request( uri: uri, body: body, + params: query_string_params, options: options ) result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true yield result, response if block_given? @@ -1591,19 +1617,21 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata - uri, body, _query_string_params = transcode_set_target_pools request + uri, body, query_string_params = transcode_set_target_pools request response = @client_stub.make_post_request( uri: uri, body: body, + params: query_string_params, options: options ) result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true yield result, response if block_given? @@ -1666,18 +1694,20 @@ call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Compute::V1::VERSION + gapic_version: ::Google::Cloud::Compute::V1::VERSION, + transports_version_send: [:rest] options.apply_defaults timeout: @config.timeout, metadata: call_metadata - uri, body, _query_string_params = transcode_update_per_instance_configs request + uri, body, query_string_params = transcode_update_per_instance_configs request response = @client_stub.make_post_request( uri: uri, body: body, + params: query_string_params, options: options ) result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true yield result, response if block_given?