google-cloud-compute-v1 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +10 -8
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +6 -3
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +12 -6
- data/lib/google/cloud/compute/v1/addresses/rest/grpc_transcoding.rb +1 -0
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +20 -10
- data/lib/google/cloud/compute/v1/autoscalers/rest/grpc_transcoding.rb +5 -0
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +24 -12
- data/lib/google/cloud/compute/v1/backend_buckets/rest/grpc_transcoding.rb +4 -0
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +32 -16
- data/lib/google/cloud/compute/v1/backend_services/rest/grpc_transcoding.rb +5 -0
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +6 -3
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +38 -19
- data/lib/google/cloud/compute/v1/disks/rest/grpc_transcoding.rb +8 -0
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +14 -7
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/grpc_transcoding.rb +1 -0
- data/lib/google/cloud/compute/v1/firewall_policies.rb +44 -0
- data/lib/google/cloud/compute/v1/firewall_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/firewall_policies/rest.rb +35 -0
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +1459 -0
- data/lib/google/cloud/compute/v1/firewall_policies/rest/grpc_transcoding.rb +269 -0
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +18 -9
- data/lib/google/cloud/compute/v1/firewalls/rest/grpc_transcoding.rb +3 -0
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +20 -10
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/grpc_transcoding.rb +3 -0
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +10 -5
- data/lib/google/cloud/compute/v1/global_addresses/rest/grpc_transcoding.rb +1 -0
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +18 -9
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/grpc_transcoding.rb +3 -0
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +20 -10
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/grpc_transcoding.rb +3 -0
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +10 -5
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +6 -3
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes.rb +44 -0
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest.rb +35 -0
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +576 -0
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/grpc_transcoding.rb +100 -0
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +20 -10
- data/lib/google/cloud/compute/v1/health_checks/rest/grpc_transcoding.rb +3 -0
- data/lib/google/cloud/compute/v1/images/rest/client.rb +28 -14
- data/lib/google/cloud/compute/v1/images/rest/grpc_transcoding.rb +4 -0
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +60 -30
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/grpc_transcoding.rb +10 -0
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +28 -14
- data/lib/google/cloud/compute/v1/instance_groups/rest/grpc_transcoding.rb +9 -0
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +16 -8
- data/lib/google/cloud/compute/v1/instance_templates/rest/grpc_transcoding.rb +1 -0
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +120 -60
- data/lib/google/cloud/compute/v1/instances/rest/grpc_transcoding.rb +27 -0
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +16 -8
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/grpc_transcoding.rb +3 -0
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +4 -2
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +16 -8
- data/lib/google/cloud/compute/v1/interconnects/rest/grpc_transcoding.rb +2 -0
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +4 -2
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +16 -8
- data/lib/google/cloud/compute/v1/licenses/rest/grpc_transcoding.rb +1 -0
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +6 -3
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +26 -13
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/grpc_transcoding.rb +8 -0
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +30 -15
- data/lib/google/cloud/compute/v1/networks/rest/grpc_transcoding.rb +5 -0
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +36 -18
- data/lib/google/cloud/compute/v1/node_groups/rest/grpc_transcoding.rb +6 -0
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +18 -9
- data/lib/google/cloud/compute/v1/node_templates/rest/grpc_transcoding.rb +1 -0
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +6 -3
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +18 -9
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/grpc_transcoding.rb +2 -0
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +42 -21
- data/lib/google/cloud/compute/v1/projects/rest/grpc_transcoding.rb +12 -0
- data/lib/google/cloud/compute/v1/public_advertised_prefixes.rb +44 -0
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest.rb +35 -0
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +576 -0
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/grpc_transcoding.rb +100 -0
- data/lib/google/cloud/compute/v1/public_delegated_prefixes.rb +44 -0
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest.rb +35 -0
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +671 -0
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/grpc_transcoding.rb +118 -0
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +18 -9
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/grpc_transcoding.rb +5 -0
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +20 -10
- data/lib/google/cloud/compute/v1/region_backend_services/rest/grpc_transcoding.rb +3 -0
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +10 -5
- data/lib/google/cloud/compute/v1/region_commitments/rest/grpc_transcoding.rb +1 -0
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +4 -2
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +36 -18
- data/lib/google/cloud/compute/v1/region_disks/rest/grpc_transcoding.rb +7 -0
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +14 -7
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/grpc_transcoding.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +18 -9
- data/lib/google/cloud/compute/v1/region_health_checks/rest/grpc_transcoding.rb +3 -0
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +58 -29
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/grpc_transcoding.rb +10 -0
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +12 -6
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/grpc_transcoding.rb +6 -0
- data/lib/google/cloud/compute/v1/region_instances.rb +44 -0
- data/lib/google/cloud/compute/v1/region_instances/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_instances/rest.rb +35 -0
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +287 -0
- data/lib/google/cloud/compute/v1/region_instances/rest/grpc_transcoding.rb +46 -0
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +10 -5
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/grpc_transcoding.rb +1 -0
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +10 -5
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/grpc_transcoding.rb +1 -0
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +8 -4
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +10 -5
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/grpc_transcoding.rb +1 -0
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +14 -7
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/grpc_transcoding.rb +2 -0
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +18 -9
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/grpc_transcoding.rb +3 -0
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +20 -10
- data/lib/google/cloud/compute/v1/region_url_maps/rest/grpc_transcoding.rb +3 -0
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +4 -2
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +22 -11
- data/lib/google/cloud/compute/v1/reservations/rest/grpc_transcoding.rb +2 -0
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +18 -9
- data/lib/google/cloud/compute/v1/resource_policies/rest/grpc_transcoding.rb +1 -0
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +26 -13
- data/lib/google/cloud/compute/v1/routers/rest/grpc_transcoding.rb +3 -0
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +10 -5
- data/lib/google/cloud/compute/v1/routes/rest/grpc_transcoding.rb +1 -0
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +26 -13
- data/lib/google/cloud/compute/v1/security_policies/rest/grpc_transcoding.rb +3 -0
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +14 -7
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +12 -6
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/grpc_transcoding.rb +1 -0
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +16 -8
- data/lib/google/cloud/compute/v1/ssl_policies/rest/grpc_transcoding.rb +2 -0
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +32 -16
- data/lib/google/cloud/compute/v1/subnetworks/rest/grpc_transcoding.rb +5 -0
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +14 -7
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/grpc_transcoding.rb +2 -0
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +20 -10
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/grpc_transcoding.rb +3 -0
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +28 -14
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/grpc_transcoding.rb +5 -0
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +12 -6
- data/lib/google/cloud/compute/v1/target_instances/rest/grpc_transcoding.rb +1 -0
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +34 -17
- data/lib/google/cloud/compute/v1/target_pools/rest/grpc_transcoding.rb +7 -0
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +26 -13
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/grpc_transcoding.rb +5 -0
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +18 -9
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/grpc_transcoding.rb +3 -0
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +12 -6
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/grpc_transcoding.rb +1 -0
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +26 -13
- data/lib/google/cloud/compute/v1/url_maps/rest/grpc_transcoding.rb +4 -0
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +20 -10
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/grpc_transcoding.rb +2 -0
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +12 -6
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/grpc_transcoding.rb +1 -0
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +8 -4
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +4 -2
- metadata +37 -12
@@ -200,7 +200,8 @@ module Google
|
|
200
200
|
# Set x-goog-api-client header
|
201
201
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
202
202
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
203
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
203
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
204
|
+
transports_version_send: [:rest]
|
204
205
|
|
205
206
|
options.apply_defaults timeout: @config.timeout,
|
206
207
|
metadata: call_metadata
|
@@ -273,7 +274,8 @@ module Google
|
|
273
274
|
# Set x-goog-api-client header
|
274
275
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
275
276
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
276
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
277
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
278
|
+
transports_version_send: [:rest]
|
277
279
|
|
278
280
|
options.apply_defaults timeout: @config.timeout,
|
279
281
|
metadata: call_metadata
|
@@ -348,15 +350,17 @@ module Google
|
|
348
350
|
# Set x-goog-api-client header
|
349
351
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
350
352
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
351
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
353
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
354
|
+
transports_version_send: [:rest]
|
352
355
|
|
353
356
|
options.apply_defaults timeout: @config.timeout,
|
354
357
|
metadata: call_metadata
|
355
358
|
|
356
|
-
uri, body,
|
359
|
+
uri, body, query_string_params = transcode_expand_ip_cidr_range request
|
357
360
|
response = @client_stub.make_post_request(
|
358
361
|
uri: uri,
|
359
362
|
body: body,
|
363
|
+
params: query_string_params,
|
360
364
|
options: options
|
361
365
|
)
|
362
366
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
@@ -415,7 +419,8 @@ module Google
|
|
415
419
|
# Set x-goog-api-client header
|
416
420
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
417
421
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
418
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
422
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
423
|
+
transports_version_send: [:rest]
|
419
424
|
|
420
425
|
options.apply_defaults timeout: @config.timeout,
|
421
426
|
metadata: call_metadata
|
@@ -483,7 +488,8 @@ module Google
|
|
483
488
|
# Set x-goog-api-client header
|
484
489
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
485
490
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
486
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
491
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
492
|
+
transports_version_send: [:rest]
|
487
493
|
|
488
494
|
options.apply_defaults timeout: @config.timeout,
|
489
495
|
metadata: call_metadata
|
@@ -556,15 +562,17 @@ module Google
|
|
556
562
|
# Set x-goog-api-client header
|
557
563
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
558
564
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
559
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
565
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
566
|
+
transports_version_send: [:rest]
|
560
567
|
|
561
568
|
options.apply_defaults timeout: @config.timeout,
|
562
569
|
metadata: call_metadata
|
563
570
|
|
564
|
-
uri, body,
|
571
|
+
uri, body, query_string_params = transcode_insert request
|
565
572
|
response = @client_stub.make_post_request(
|
566
573
|
uri: uri,
|
567
574
|
body: body,
|
575
|
+
params: query_string_params,
|
568
576
|
options: options
|
569
577
|
)
|
570
578
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
@@ -641,7 +649,8 @@ module Google
|
|
641
649
|
# Set x-goog-api-client header
|
642
650
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
643
651
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
644
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
652
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
653
|
+
transports_version_send: [:rest]
|
645
654
|
|
646
655
|
options.apply_defaults timeout: @config.timeout,
|
647
656
|
metadata: call_metadata
|
@@ -724,7 +733,8 @@ module Google
|
|
724
733
|
# Set x-goog-api-client header
|
725
734
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
726
735
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
727
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
736
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
737
|
+
transports_version_send: [:rest]
|
728
738
|
|
729
739
|
options.apply_defaults timeout: @config.timeout,
|
730
740
|
metadata: call_metadata
|
@@ -801,15 +811,17 @@ module Google
|
|
801
811
|
# Set x-goog-api-client header
|
802
812
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
803
813
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
804
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
814
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
815
|
+
transports_version_send: [:rest]
|
805
816
|
|
806
817
|
options.apply_defaults timeout: @config.timeout,
|
807
818
|
metadata: call_metadata
|
808
819
|
|
809
|
-
uri, body,
|
820
|
+
uri, body, query_string_params = transcode_patch request
|
810
821
|
response = @client_stub.make_patch_request(
|
811
822
|
uri: uri,
|
812
823
|
body: body,
|
824
|
+
params: query_string_params,
|
813
825
|
options: options
|
814
826
|
)
|
815
827
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
@@ -870,7 +882,8 @@ module Google
|
|
870
882
|
# Set x-goog-api-client header
|
871
883
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
872
884
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
873
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
885
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
886
|
+
transports_version_send: [:rest]
|
874
887
|
|
875
888
|
options.apply_defaults timeout: @config.timeout,
|
876
889
|
metadata: call_metadata
|
@@ -945,15 +958,17 @@ module Google
|
|
945
958
|
# Set x-goog-api-client header
|
946
959
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
947
960
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
948
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
961
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
962
|
+
transports_version_send: [:rest]
|
949
963
|
|
950
964
|
options.apply_defaults timeout: @config.timeout,
|
951
965
|
metadata: call_metadata
|
952
966
|
|
953
|
-
uri, body,
|
967
|
+
uri, body, query_string_params = transcode_set_private_ip_google_access request
|
954
968
|
response = @client_stub.make_post_request(
|
955
969
|
uri: uri,
|
956
970
|
body: body,
|
971
|
+
params: query_string_params,
|
957
972
|
options: options
|
958
973
|
)
|
959
974
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
@@ -1014,7 +1029,8 @@ module Google
|
|
1014
1029
|
# Set x-goog-api-client header
|
1015
1030
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1016
1031
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1017
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
1032
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
1033
|
+
transports_version_send: [:rest]
|
1018
1034
|
|
1019
1035
|
options.apply_defaults timeout: @config.timeout,
|
1020
1036
|
metadata: call_metadata
|
@@ -64,6 +64,7 @@ module Google
|
|
64
64
|
uri = "/compute/v1/projects/#{request_pb.project}/regions/#{request_pb.region}/subnetworks/#{request_pb.subnetwork}/expandIpCidrRange"
|
65
65
|
body = request_pb.subnetworks_expand_ip_cidr_range_request_resource.to_json
|
66
66
|
query_string_params = {}
|
67
|
+
query_string_params["requestId"] = request_pb.request_id.to_s if request_pb.has_request_id?
|
67
68
|
|
68
69
|
[uri, body, query_string_params]
|
69
70
|
end
|
@@ -101,6 +102,7 @@ module Google
|
|
101
102
|
uri = "/compute/v1/projects/#{request_pb.project}/regions/#{request_pb.region}/subnetworks"
|
102
103
|
body = request_pb.subnetwork_resource.to_json
|
103
104
|
query_string_params = {}
|
105
|
+
query_string_params["requestId"] = request_pb.request_id.to_s if request_pb.has_request_id?
|
104
106
|
|
105
107
|
[uri, body, query_string_params]
|
106
108
|
end
|
@@ -147,6 +149,8 @@ module Google
|
|
147
149
|
uri = "/compute/v1/projects/#{request_pb.project}/regions/#{request_pb.region}/subnetworks/#{request_pb.subnetwork}"
|
148
150
|
body = request_pb.subnetwork_resource.to_json
|
149
151
|
query_string_params = {}
|
152
|
+
query_string_params["drainTimeoutSeconds"] = request_pb.drain_timeout_seconds.to_s if request_pb.has_drain_timeout_seconds?
|
153
|
+
query_string_params["requestId"] = request_pb.request_id.to_s if request_pb.has_request_id?
|
150
154
|
|
151
155
|
[uri, body, query_string_params]
|
152
156
|
end
|
@@ -171,6 +175,7 @@ module Google
|
|
171
175
|
uri = "/compute/v1/projects/#{request_pb.project}/regions/#{request_pb.region}/subnetworks/#{request_pb.subnetwork}/setPrivateIpGoogleAccess"
|
172
176
|
body = request_pb.subnetworks_set_private_ip_google_access_request_resource.to_json
|
173
177
|
query_string_params = {}
|
178
|
+
query_string_params["requestId"] = request_pb.request_id.to_s if request_pb.has_request_id?
|
174
179
|
|
175
180
|
[uri, body, query_string_params]
|
176
181
|
end
|
@@ -186,7 +186,8 @@ module Google
|
|
186
186
|
# Set x-goog-api-client header
|
187
187
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
188
188
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
189
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
189
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
190
|
+
transports_version_send: [:rest]
|
190
191
|
|
191
192
|
options.apply_defaults timeout: @config.timeout,
|
192
193
|
metadata: call_metadata
|
@@ -251,7 +252,8 @@ module Google
|
|
251
252
|
# Set x-goog-api-client header
|
252
253
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
253
254
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
254
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
255
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
256
|
+
transports_version_send: [:rest]
|
255
257
|
|
256
258
|
options.apply_defaults timeout: @config.timeout,
|
257
259
|
metadata: call_metadata
|
@@ -321,15 +323,17 @@ module Google
|
|
321
323
|
# Set x-goog-api-client header
|
322
324
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
323
325
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
324
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
326
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
327
|
+
transports_version_send: [:rest]
|
325
328
|
|
326
329
|
options.apply_defaults timeout: @config.timeout,
|
327
330
|
metadata: call_metadata
|
328
331
|
|
329
|
-
uri, body,
|
332
|
+
uri, body, query_string_params = transcode_insert request
|
330
333
|
response = @client_stub.make_post_request(
|
331
334
|
uri: uri,
|
332
335
|
body: body,
|
336
|
+
params: query_string_params,
|
333
337
|
options: options
|
334
338
|
)
|
335
339
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
@@ -404,7 +408,8 @@ module Google
|
|
404
408
|
# Set x-goog-api-client header
|
405
409
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
406
410
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
407
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
411
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
412
|
+
transports_version_send: [:rest]
|
408
413
|
|
409
414
|
options.apply_defaults timeout: @config.timeout,
|
410
415
|
metadata: call_metadata
|
@@ -477,15 +482,17 @@ module Google
|
|
477
482
|
# Set x-goog-api-client header
|
478
483
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
479
484
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
480
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
485
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
486
|
+
transports_version_send: [:rest]
|
481
487
|
|
482
488
|
options.apply_defaults timeout: @config.timeout,
|
483
489
|
metadata: call_metadata
|
484
490
|
|
485
|
-
uri, body,
|
491
|
+
uri, body, query_string_params = transcode_patch request
|
486
492
|
response = @client_stub.make_patch_request(
|
487
493
|
uri: uri,
|
488
494
|
body: body,
|
495
|
+
params: query_string_params,
|
489
496
|
options: options
|
490
497
|
)
|
491
498
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
@@ -58,6 +58,7 @@ module Google
|
|
58
58
|
uri = "/compute/v1/projects/#{request_pb.project}/global/targetGrpcProxies"
|
59
59
|
body = request_pb.target_grpc_proxy_resource.to_json
|
60
60
|
query_string_params = {}
|
61
|
+
query_string_params["requestId"] = request_pb.request_id.to_s if request_pb.has_request_id?
|
61
62
|
|
62
63
|
[uri, body, query_string_params]
|
63
64
|
end
|
@@ -87,6 +88,7 @@ module Google
|
|
87
88
|
uri = "/compute/v1/projects/#{request_pb.project}/global/targetGrpcProxies/#{request_pb.target_grpc_proxy}"
|
88
89
|
body = request_pb.target_grpc_proxy_resource.to_json
|
89
90
|
query_string_params = {}
|
91
|
+
query_string_params["requestId"] = request_pb.request_id.to_s if request_pb.has_request_id?
|
90
92
|
|
91
93
|
[uri, body, query_string_params]
|
92
94
|
end
|
@@ -200,7 +200,8 @@ module Google
|
|
200
200
|
# Set x-goog-api-client header
|
201
201
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
202
202
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
203
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
203
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
204
|
+
transports_version_send: [:rest]
|
204
205
|
|
205
206
|
options.apply_defaults timeout: @config.timeout,
|
206
207
|
metadata: call_metadata
|
@@ -271,7 +272,8 @@ module Google
|
|
271
272
|
# Set x-goog-api-client header
|
272
273
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
273
274
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
274
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
275
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
276
|
+
transports_version_send: [:rest]
|
275
277
|
|
276
278
|
options.apply_defaults timeout: @config.timeout,
|
277
279
|
metadata: call_metadata
|
@@ -336,7 +338,8 @@ module Google
|
|
336
338
|
# Set x-goog-api-client header
|
337
339
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
338
340
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
339
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
341
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
342
|
+
transports_version_send: [:rest]
|
340
343
|
|
341
344
|
options.apply_defaults timeout: @config.timeout,
|
342
345
|
metadata: call_metadata
|
@@ -406,15 +409,17 @@ module Google
|
|
406
409
|
# Set x-goog-api-client header
|
407
410
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
408
411
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
409
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
412
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
413
|
+
transports_version_send: [:rest]
|
410
414
|
|
411
415
|
options.apply_defaults timeout: @config.timeout,
|
412
416
|
metadata: call_metadata
|
413
417
|
|
414
|
-
uri, body,
|
418
|
+
uri, body, query_string_params = transcode_insert request
|
415
419
|
response = @client_stub.make_post_request(
|
416
420
|
uri: uri,
|
417
421
|
body: body,
|
422
|
+
params: query_string_params,
|
418
423
|
options: options
|
419
424
|
)
|
420
425
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
@@ -489,7 +494,8 @@ module Google
|
|
489
494
|
# Set x-goog-api-client header
|
490
495
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
491
496
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
492
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
497
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
498
|
+
transports_version_send: [:rest]
|
493
499
|
|
494
500
|
options.apply_defaults timeout: @config.timeout,
|
495
501
|
metadata: call_metadata
|
@@ -562,15 +568,17 @@ module Google
|
|
562
568
|
# Set x-goog-api-client header
|
563
569
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
564
570
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
565
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
571
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
572
|
+
transports_version_send: [:rest]
|
566
573
|
|
567
574
|
options.apply_defaults timeout: @config.timeout,
|
568
575
|
metadata: call_metadata
|
569
576
|
|
570
|
-
uri, body,
|
577
|
+
uri, body, query_string_params = transcode_patch request
|
571
578
|
response = @client_stub.make_patch_request(
|
572
579
|
uri: uri,
|
573
580
|
body: body,
|
581
|
+
params: query_string_params,
|
574
582
|
options: options
|
575
583
|
)
|
576
584
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
@@ -635,15 +643,17 @@ module Google
|
|
635
643
|
# Set x-goog-api-client header
|
636
644
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
637
645
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
638
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
646
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
647
|
+
transports_version_send: [:rest]
|
639
648
|
|
640
649
|
options.apply_defaults timeout: @config.timeout,
|
641
650
|
metadata: call_metadata
|
642
651
|
|
643
|
-
uri, body,
|
652
|
+
uri, body, query_string_params = transcode_set_url_map request
|
644
653
|
response = @client_stub.make_post_request(
|
645
654
|
uri: uri,
|
646
655
|
body: body,
|
656
|
+
params: query_string_params,
|
647
657
|
options: options
|
648
658
|
)
|
649
659
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
@@ -76,6 +76,7 @@ module Google
|
|
76
76
|
uri = "/compute/v1/projects/#{request_pb.project}/global/targetHttpProxies"
|
77
77
|
body = request_pb.target_http_proxy_resource.to_json
|
78
78
|
query_string_params = {}
|
79
|
+
query_string_params["requestId"] = request_pb.request_id.to_s if request_pb.has_request_id?
|
79
80
|
|
80
81
|
[uri, body, query_string_params]
|
81
82
|
end
|
@@ -105,6 +106,7 @@ module Google
|
|
105
106
|
uri = "/compute/v1/projects/#{request_pb.project}/global/targetHttpProxies/#{request_pb.target_http_proxy}"
|
106
107
|
body = request_pb.target_http_proxy_resource.to_json
|
107
108
|
query_string_params = {}
|
109
|
+
query_string_params["requestId"] = request_pb.request_id.to_s if request_pb.has_request_id?
|
108
110
|
|
109
111
|
[uri, body, query_string_params]
|
110
112
|
end
|
@@ -117,6 +119,7 @@ module Google
|
|
117
119
|
uri = "/compute/v1/projects/#{request_pb.project}/targetHttpProxies/#{request_pb.target_http_proxy}/setUrlMap"
|
118
120
|
body = request_pb.url_map_reference_resource.to_json
|
119
121
|
query_string_params = {}
|
122
|
+
query_string_params["requestId"] = request_pb.request_id.to_s if request_pb.has_request_id?
|
120
123
|
|
121
124
|
[uri, body, query_string_params]
|
122
125
|
end
|
@@ -200,7 +200,8 @@ module Google
|
|
200
200
|
# Set x-goog-api-client header
|
201
201
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
202
202
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
203
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
203
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
204
|
+
transports_version_send: [:rest]
|
204
205
|
|
205
206
|
options.apply_defaults timeout: @config.timeout,
|
206
207
|
metadata: call_metadata
|
@@ -271,7 +272,8 @@ module Google
|
|
271
272
|
# Set x-goog-api-client header
|
272
273
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
273
274
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
274
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
275
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
276
|
+
transports_version_send: [:rest]
|
275
277
|
|
276
278
|
options.apply_defaults timeout: @config.timeout,
|
277
279
|
metadata: call_metadata
|
@@ -336,7 +338,8 @@ module Google
|
|
336
338
|
# Set x-goog-api-client header
|
337
339
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
338
340
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
339
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
341
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
342
|
+
transports_version_send: [:rest]
|
340
343
|
|
341
344
|
options.apply_defaults timeout: @config.timeout,
|
342
345
|
metadata: call_metadata
|
@@ -406,15 +409,17 @@ module Google
|
|
406
409
|
# Set x-goog-api-client header
|
407
410
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
408
411
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
409
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
412
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
413
|
+
transports_version_send: [:rest]
|
410
414
|
|
411
415
|
options.apply_defaults timeout: @config.timeout,
|
412
416
|
metadata: call_metadata
|
413
417
|
|
414
|
-
uri, body,
|
418
|
+
uri, body, query_string_params = transcode_insert request
|
415
419
|
response = @client_stub.make_post_request(
|
416
420
|
uri: uri,
|
417
421
|
body: body,
|
422
|
+
params: query_string_params,
|
418
423
|
options: options
|
419
424
|
)
|
420
425
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
@@ -489,7 +494,8 @@ module Google
|
|
489
494
|
# Set x-goog-api-client header
|
490
495
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
491
496
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
492
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
497
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
498
|
+
transports_version_send: [:rest]
|
493
499
|
|
494
500
|
options.apply_defaults timeout: @config.timeout,
|
495
501
|
metadata: call_metadata
|
@@ -562,15 +568,17 @@ module Google
|
|
562
568
|
# Set x-goog-api-client header
|
563
569
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
564
570
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
565
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
571
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
572
|
+
transports_version_send: [:rest]
|
566
573
|
|
567
574
|
options.apply_defaults timeout: @config.timeout,
|
568
575
|
metadata: call_metadata
|
569
576
|
|
570
|
-
uri, body,
|
577
|
+
uri, body, query_string_params = transcode_set_quic_override request
|
571
578
|
response = @client_stub.make_post_request(
|
572
579
|
uri: uri,
|
573
580
|
body: body,
|
581
|
+
params: query_string_params,
|
574
582
|
options: options
|
575
583
|
)
|
576
584
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
@@ -635,15 +643,17 @@ module Google
|
|
635
643
|
# Set x-goog-api-client header
|
636
644
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
637
645
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
638
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
646
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
647
|
+
transports_version_send: [:rest]
|
639
648
|
|
640
649
|
options.apply_defaults timeout: @config.timeout,
|
641
650
|
metadata: call_metadata
|
642
651
|
|
643
|
-
uri, body,
|
652
|
+
uri, body, query_string_params = transcode_set_ssl_certificates request
|
644
653
|
response = @client_stub.make_post_request(
|
645
654
|
uri: uri,
|
646
655
|
body: body,
|
656
|
+
params: query_string_params,
|
647
657
|
options: options
|
648
658
|
)
|
649
659
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
@@ -708,15 +718,17 @@ module Google
|
|
708
718
|
# Set x-goog-api-client header
|
709
719
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
710
720
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
711
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
721
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
722
|
+
transports_version_send: [:rest]
|
712
723
|
|
713
724
|
options.apply_defaults timeout: @config.timeout,
|
714
725
|
metadata: call_metadata
|
715
726
|
|
716
|
-
uri, body,
|
727
|
+
uri, body, query_string_params = transcode_set_ssl_policy request
|
717
728
|
response = @client_stub.make_post_request(
|
718
729
|
uri: uri,
|
719
730
|
body: body,
|
731
|
+
params: query_string_params,
|
720
732
|
options: options
|
721
733
|
)
|
722
734
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
@@ -781,15 +793,17 @@ module Google
|
|
781
793
|
# Set x-goog-api-client header
|
782
794
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
783
795
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
784
|
-
gapic_version: ::Google::Cloud::Compute::V1::VERSION
|
796
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
797
|
+
transports_version_send: [:rest]
|
785
798
|
|
786
799
|
options.apply_defaults timeout: @config.timeout,
|
787
800
|
metadata: call_metadata
|
788
801
|
|
789
|
-
uri, body,
|
802
|
+
uri, body, query_string_params = transcode_set_url_map request
|
790
803
|
response = @client_stub.make_post_request(
|
791
804
|
uri: uri,
|
792
805
|
body: body,
|
806
|
+
params: query_string_params,
|
793
807
|
options: options
|
794
808
|
)
|
795
809
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|