lib/google/cloud/compute/v1/vpn_gateways/rest/service_stub.rb in google-cloud-compute-v1-2.1.0 vs lib/google/cloud/compute/v1/vpn_gateways/rest/service_stub.rb in google-cloud-compute-v1-2.2.0
- old
+ new
@@ -57,11 +57,11 @@
def aggregated_list request_pb, options = nil
raise ::ArgumentError, "request must be provided" if request_pb.nil?
verb, uri, query_string_params, body = ServiceStub.transcode_aggregated_list_request request_pb
query_string_params = if query_string_params.any?
- query_string_params.to_h { |p| p.split("=", 2) }
+ query_string_params.to_h { |p| p.split "=", 2 }
else
{}
end
response = @client_stub.make_http_request(
@@ -95,11 +95,11 @@
def delete request_pb, options = nil
raise ::ArgumentError, "request must be provided" if request_pb.nil?
verb, uri, query_string_params, body = ServiceStub.transcode_delete_request request_pb
query_string_params = if query_string_params.any?
- query_string_params.to_h { |p| p.split("=", 2) }
+ query_string_params.to_h { |p| p.split "=", 2 }
else
{}
end
response = @client_stub.make_http_request(
@@ -133,11 +133,11 @@
def get request_pb, options = nil
raise ::ArgumentError, "request must be provided" if request_pb.nil?
verb, uri, query_string_params, body = ServiceStub.transcode_get_request request_pb
query_string_params = if query_string_params.any?
- query_string_params.to_h { |p| p.split("=", 2) }
+ query_string_params.to_h { |p| p.split "=", 2 }
else
{}
end
response = @client_stub.make_http_request(
@@ -171,11 +171,11 @@
def get_status request_pb, options = nil
raise ::ArgumentError, "request must be provided" if request_pb.nil?
verb, uri, query_string_params, body = ServiceStub.transcode_get_status_request request_pb
query_string_params = if query_string_params.any?
- query_string_params.to_h { |p| p.split("=", 2) }
+ query_string_params.to_h { |p| p.split "=", 2 }
else
{}
end
response = @client_stub.make_http_request(
@@ -209,11 +209,11 @@
def insert request_pb, options = nil
raise ::ArgumentError, "request must be provided" if request_pb.nil?
verb, uri, query_string_params, body = ServiceStub.transcode_insert_request request_pb
query_string_params = if query_string_params.any?
- query_string_params.to_h { |p| p.split("=", 2) }
+ query_string_params.to_h { |p| p.split "=", 2 }
else
{}
end
response = @client_stub.make_http_request(
@@ -247,11 +247,11 @@
def list request_pb, options = nil
raise ::ArgumentError, "request must be provided" if request_pb.nil?
verb, uri, query_string_params, body = ServiceStub.transcode_list_request request_pb
query_string_params = if query_string_params.any?
- query_string_params.to_h { |p| p.split("=", 2) }
+ query_string_params.to_h { |p| p.split "=", 2 }
else
{}
end
response = @client_stub.make_http_request(
@@ -285,11 +285,11 @@
def set_labels request_pb, options = nil
raise ::ArgumentError, "request must be provided" if request_pb.nil?
verb, uri, query_string_params, body = ServiceStub.transcode_set_labels_request request_pb
query_string_params = if query_string_params.any?
- query_string_params.to_h { |p| p.split("=", 2) }
+ query_string_params.to_h { |p| p.split "=", 2 }
else
{}
end
response = @client_stub.make_http_request(
@@ -323,10 +323,10 @@
def test_iam_permissions request_pb, options = nil
raise ::ArgumentError, "request must be provided" if request_pb.nil?
verb, uri, query_string_params, body = ServiceStub.transcode_test_iam_permissions_request request_pb
query_string_params = if query_string_params.any?
- query_string_params.to_h { |p| p.split("=", 2) }
+ query_string_params.to_h { |p| p.split "=", 2 }
else
{}
end
response = @client_stub.make_http_request(