lib/google/cloud/compute/v1/subnetworks/rest/client.rb in google-cloud-compute-v1-0.1.0 vs lib/google/cloud/compute/v1/subnetworks/rest/client.rb in google-cloud-compute-v1-0.2.0
- old
+ new
@@ -198,11 +198,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
@@ -271,11 +272,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
@@ -346,19 +348,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_expand_ip_cidr_range request
+ uri, body, query_string_params = transcode_expand_ip_cidr_range 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?
@@ -413,11 +417,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
@@ -481,11 +486,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_iam_policy request
@@ -554,19 +560,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?
@@ -639,11 +647,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
@@ -722,11 +731,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_usable request
@@ -799,19 +809,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?
@@ -868,11 +880,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_set_iam_policy request
@@ -943,19 +956,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_private_ip_google_access request
+ uri, body, query_string_params = transcode_set_private_ip_google_access 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?
@@ -1012,10 +1027,11 @@
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_test_iam_permissions request