google-cloud-compute-v1 3.7.0 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/advice/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +6 -1
- data/lib/google/cloud/compute/v1/compute_pb.rb +34 -1
- data/lib/google/cloud/compute/v1/cross_site_networks/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +5 -1
- data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +5 -1
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/images/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +18 -4
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +6 -2
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +18 -4
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_snapshots/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/rollout_plans/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/rollouts/rest/client.rb +351 -3
- data/lib/google/cloud/compute/v1/rollouts/rest/service_stub.rb +186 -0
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +636 -0
- data/lib/google/cloud/compute/v1/routers/rest/service_stub.rb +317 -0
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +2 -0
- data/proto_docs/google/cloud/compute/v1/compute.rb +1023 -75
- metadata +3 -3
|
@@ -153,6 +153,46 @@ module Google
|
|
|
153
153
|
end
|
|
154
154
|
end
|
|
155
155
|
|
|
156
|
+
##
|
|
157
|
+
# Baseline implementation for the delete_named_set REST call
|
|
158
|
+
#
|
|
159
|
+
# @param request_pb [::Google::Cloud::Compute::V1::DeleteNamedSetRouterRequest]
|
|
160
|
+
# A request object representing the call parameters. Required.
|
|
161
|
+
# @param options [::Gapic::CallOptions]
|
|
162
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
163
|
+
#
|
|
164
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
165
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
|
166
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
167
|
+
#
|
|
168
|
+
# @return [::Google::Cloud::Compute::V1::Operation]
|
|
169
|
+
# A result object deserialized from the server's reply
|
|
170
|
+
def delete_named_set request_pb, options = nil
|
|
171
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
172
|
+
|
|
173
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_named_set_request request_pb
|
|
174
|
+
query_string_params = if query_string_params.any?
|
|
175
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
176
|
+
else
|
|
177
|
+
{}
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
response = @client_stub.make_http_request(
|
|
181
|
+
verb,
|
|
182
|
+
uri: uri,
|
|
183
|
+
body: body || "",
|
|
184
|
+
params: query_string_params,
|
|
185
|
+
method_name: "delete_named_set",
|
|
186
|
+
options: options
|
|
187
|
+
)
|
|
188
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
189
|
+
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
190
|
+
catch :response do
|
|
191
|
+
yield result, operation if block_given?
|
|
192
|
+
result
|
|
193
|
+
end
|
|
194
|
+
end
|
|
195
|
+
|
|
156
196
|
##
|
|
157
197
|
# Baseline implementation for the delete_route_policy REST call
|
|
158
198
|
#
|
|
@@ -233,6 +273,46 @@ module Google
|
|
|
233
273
|
end
|
|
234
274
|
end
|
|
235
275
|
|
|
276
|
+
##
|
|
277
|
+
# Baseline implementation for the get_named_set REST call
|
|
278
|
+
#
|
|
279
|
+
# @param request_pb [::Google::Cloud::Compute::V1::GetNamedSetRouterRequest]
|
|
280
|
+
# A request object representing the call parameters. Required.
|
|
281
|
+
# @param options [::Gapic::CallOptions]
|
|
282
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
283
|
+
#
|
|
284
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
285
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::RoutersGetNamedSetResponse]
|
|
286
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
287
|
+
#
|
|
288
|
+
# @return [::Google::Cloud::Compute::V1::RoutersGetNamedSetResponse]
|
|
289
|
+
# A result object deserialized from the server's reply
|
|
290
|
+
def get_named_set request_pb, options = nil
|
|
291
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
292
|
+
|
|
293
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_named_set_request request_pb
|
|
294
|
+
query_string_params = if query_string_params.any?
|
|
295
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
296
|
+
else
|
|
297
|
+
{}
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
response = @client_stub.make_http_request(
|
|
301
|
+
verb,
|
|
302
|
+
uri: uri,
|
|
303
|
+
body: body || "",
|
|
304
|
+
params: query_string_params,
|
|
305
|
+
method_name: "get_named_set",
|
|
306
|
+
options: options
|
|
307
|
+
)
|
|
308
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
309
|
+
result = ::Google::Cloud::Compute::V1::RoutersGetNamedSetResponse.decode_json response.body, ignore_unknown_fields: true
|
|
310
|
+
catch :response do
|
|
311
|
+
yield result, operation if block_given?
|
|
312
|
+
result
|
|
313
|
+
end
|
|
314
|
+
end
|
|
315
|
+
|
|
236
316
|
##
|
|
237
317
|
# Baseline implementation for the get_nat_ip_info REST call
|
|
238
318
|
#
|
|
@@ -513,6 +593,46 @@ module Google
|
|
|
513
593
|
end
|
|
514
594
|
end
|
|
515
595
|
|
|
596
|
+
##
|
|
597
|
+
# Baseline implementation for the list_named_sets REST call
|
|
598
|
+
#
|
|
599
|
+
# @param request_pb [::Google::Cloud::Compute::V1::ListNamedSetsRoutersRequest]
|
|
600
|
+
# A request object representing the call parameters. Required.
|
|
601
|
+
# @param options [::Gapic::CallOptions]
|
|
602
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
603
|
+
#
|
|
604
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
605
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::RoutersListNamedSets]
|
|
606
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
607
|
+
#
|
|
608
|
+
# @return [::Google::Cloud::Compute::V1::RoutersListNamedSets]
|
|
609
|
+
# A result object deserialized from the server's reply
|
|
610
|
+
def list_named_sets request_pb, options = nil
|
|
611
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
612
|
+
|
|
613
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_named_sets_request request_pb
|
|
614
|
+
query_string_params = if query_string_params.any?
|
|
615
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
616
|
+
else
|
|
617
|
+
{}
|
|
618
|
+
end
|
|
619
|
+
|
|
620
|
+
response = @client_stub.make_http_request(
|
|
621
|
+
verb,
|
|
622
|
+
uri: uri,
|
|
623
|
+
body: body || "",
|
|
624
|
+
params: query_string_params,
|
|
625
|
+
method_name: "list_named_sets",
|
|
626
|
+
options: options
|
|
627
|
+
)
|
|
628
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
629
|
+
result = ::Google::Cloud::Compute::V1::RoutersListNamedSets.decode_json response.body, ignore_unknown_fields: true
|
|
630
|
+
catch :response do
|
|
631
|
+
yield result, operation if block_given?
|
|
632
|
+
result
|
|
633
|
+
end
|
|
634
|
+
end
|
|
635
|
+
|
|
516
636
|
##
|
|
517
637
|
# Baseline implementation for the list_route_policies REST call
|
|
518
638
|
#
|
|
@@ -593,6 +713,46 @@ module Google
|
|
|
593
713
|
end
|
|
594
714
|
end
|
|
595
715
|
|
|
716
|
+
##
|
|
717
|
+
# Baseline implementation for the patch_named_set REST call
|
|
718
|
+
#
|
|
719
|
+
# @param request_pb [::Google::Cloud::Compute::V1::PatchNamedSetRouterRequest]
|
|
720
|
+
# A request object representing the call parameters. Required.
|
|
721
|
+
# @param options [::Gapic::CallOptions]
|
|
722
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
723
|
+
#
|
|
724
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
725
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
|
726
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
727
|
+
#
|
|
728
|
+
# @return [::Google::Cloud::Compute::V1::Operation]
|
|
729
|
+
# A result object deserialized from the server's reply
|
|
730
|
+
def patch_named_set request_pb, options = nil
|
|
731
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
732
|
+
|
|
733
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_patch_named_set_request request_pb
|
|
734
|
+
query_string_params = if query_string_params.any?
|
|
735
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
736
|
+
else
|
|
737
|
+
{}
|
|
738
|
+
end
|
|
739
|
+
|
|
740
|
+
response = @client_stub.make_http_request(
|
|
741
|
+
verb,
|
|
742
|
+
uri: uri,
|
|
743
|
+
body: body || "",
|
|
744
|
+
params: query_string_params,
|
|
745
|
+
method_name: "patch_named_set",
|
|
746
|
+
options: options
|
|
747
|
+
)
|
|
748
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
749
|
+
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
750
|
+
catch :response do
|
|
751
|
+
yield result, operation if block_given?
|
|
752
|
+
result
|
|
753
|
+
end
|
|
754
|
+
end
|
|
755
|
+
|
|
596
756
|
##
|
|
597
757
|
# Baseline implementation for the patch_route_policy REST call
|
|
598
758
|
#
|
|
@@ -713,6 +873,46 @@ module Google
|
|
|
713
873
|
end
|
|
714
874
|
end
|
|
715
875
|
|
|
876
|
+
##
|
|
877
|
+
# Baseline implementation for the update_named_set REST call
|
|
878
|
+
#
|
|
879
|
+
# @param request_pb [::Google::Cloud::Compute::V1::UpdateNamedSetRouterRequest]
|
|
880
|
+
# A request object representing the call parameters. Required.
|
|
881
|
+
# @param options [::Gapic::CallOptions]
|
|
882
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
883
|
+
#
|
|
884
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
885
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
|
886
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
887
|
+
#
|
|
888
|
+
# @return [::Google::Cloud::Compute::V1::Operation]
|
|
889
|
+
# A result object deserialized from the server's reply
|
|
890
|
+
def update_named_set request_pb, options = nil
|
|
891
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
892
|
+
|
|
893
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_named_set_request request_pb
|
|
894
|
+
query_string_params = if query_string_params.any?
|
|
895
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
896
|
+
else
|
|
897
|
+
{}
|
|
898
|
+
end
|
|
899
|
+
|
|
900
|
+
response = @client_stub.make_http_request(
|
|
901
|
+
verb,
|
|
902
|
+
uri: uri,
|
|
903
|
+
body: body || "",
|
|
904
|
+
params: query_string_params,
|
|
905
|
+
method_name: "update_named_set",
|
|
906
|
+
options: options
|
|
907
|
+
)
|
|
908
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
909
|
+
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
910
|
+
catch :response do
|
|
911
|
+
yield result, operation if block_given?
|
|
912
|
+
result
|
|
913
|
+
end
|
|
914
|
+
end
|
|
915
|
+
|
|
716
916
|
##
|
|
717
917
|
# Baseline implementation for the update_route_policy REST call
|
|
718
918
|
#
|
|
@@ -797,6 +997,29 @@ module Google
|
|
|
797
997
|
transcoder.transcode request_pb
|
|
798
998
|
end
|
|
799
999
|
|
|
1000
|
+
##
|
|
1001
|
+
# @private
|
|
1002
|
+
#
|
|
1003
|
+
# GRPC transcoding helper method for the delete_named_set REST call
|
|
1004
|
+
#
|
|
1005
|
+
# @param request_pb [::Google::Cloud::Compute::V1::DeleteNamedSetRouterRequest]
|
|
1006
|
+
# A request object representing the call parameters. Required.
|
|
1007
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1008
|
+
# Uri, Body, Query string parameters
|
|
1009
|
+
def self.transcode_delete_named_set_request request_pb
|
|
1010
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1011
|
+
.with_bindings(
|
|
1012
|
+
uri_method: :post,
|
|
1013
|
+
uri_template: "/compute/v1/projects/{project}/regions/{region}/routers/{router}/deleteNamedSet",
|
|
1014
|
+
matches: [
|
|
1015
|
+
["project", %r{^[^/]+/?$}, false],
|
|
1016
|
+
["region", %r{^[^/]+/?$}, false],
|
|
1017
|
+
["router", %r{^[^/]+/?$}, false]
|
|
1018
|
+
]
|
|
1019
|
+
)
|
|
1020
|
+
transcoder.transcode request_pb
|
|
1021
|
+
end
|
|
1022
|
+
|
|
800
1023
|
##
|
|
801
1024
|
# @private
|
|
802
1025
|
#
|
|
@@ -843,6 +1066,29 @@ module Google
|
|
|
843
1066
|
transcoder.transcode request_pb
|
|
844
1067
|
end
|
|
845
1068
|
|
|
1069
|
+
##
|
|
1070
|
+
# @private
|
|
1071
|
+
#
|
|
1072
|
+
# GRPC transcoding helper method for the get_named_set REST call
|
|
1073
|
+
#
|
|
1074
|
+
# @param request_pb [::Google::Cloud::Compute::V1::GetNamedSetRouterRequest]
|
|
1075
|
+
# A request object representing the call parameters. Required.
|
|
1076
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1077
|
+
# Uri, Body, Query string parameters
|
|
1078
|
+
def self.transcode_get_named_set_request request_pb
|
|
1079
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1080
|
+
.with_bindings(
|
|
1081
|
+
uri_method: :get,
|
|
1082
|
+
uri_template: "/compute/v1/projects/{project}/regions/{region}/routers/{router}/getNamedSet",
|
|
1083
|
+
matches: [
|
|
1084
|
+
["project", %r{^[^/]+/?$}, false],
|
|
1085
|
+
["region", %r{^[^/]+/?$}, false],
|
|
1086
|
+
["router", %r{^[^/]+/?$}, false]
|
|
1087
|
+
]
|
|
1088
|
+
)
|
|
1089
|
+
transcoder.transcode request_pb
|
|
1090
|
+
end
|
|
1091
|
+
|
|
846
1092
|
##
|
|
847
1093
|
# @private
|
|
848
1094
|
#
|
|
@@ -1003,6 +1249,29 @@ module Google
|
|
|
1003
1249
|
transcoder.transcode request_pb
|
|
1004
1250
|
end
|
|
1005
1251
|
|
|
1252
|
+
##
|
|
1253
|
+
# @private
|
|
1254
|
+
#
|
|
1255
|
+
# GRPC transcoding helper method for the list_named_sets REST call
|
|
1256
|
+
#
|
|
1257
|
+
# @param request_pb [::Google::Cloud::Compute::V1::ListNamedSetsRoutersRequest]
|
|
1258
|
+
# A request object representing the call parameters. Required.
|
|
1259
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1260
|
+
# Uri, Body, Query string parameters
|
|
1261
|
+
def self.transcode_list_named_sets_request request_pb
|
|
1262
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1263
|
+
.with_bindings(
|
|
1264
|
+
uri_method: :get,
|
|
1265
|
+
uri_template: "/compute/v1/projects/{project}/regions/{region}/routers/{router}/listNamedSets",
|
|
1266
|
+
matches: [
|
|
1267
|
+
["project", %r{^[^/]+/?$}, false],
|
|
1268
|
+
["region", %r{^[^/]+/?$}, false],
|
|
1269
|
+
["router", %r{^[^/]+/?$}, false]
|
|
1270
|
+
]
|
|
1271
|
+
)
|
|
1272
|
+
transcoder.transcode request_pb
|
|
1273
|
+
end
|
|
1274
|
+
|
|
1006
1275
|
##
|
|
1007
1276
|
# @private
|
|
1008
1277
|
#
|
|
@@ -1050,6 +1319,30 @@ module Google
|
|
|
1050
1319
|
transcoder.transcode request_pb
|
|
1051
1320
|
end
|
|
1052
1321
|
|
|
1322
|
+
##
|
|
1323
|
+
# @private
|
|
1324
|
+
#
|
|
1325
|
+
# GRPC transcoding helper method for the patch_named_set REST call
|
|
1326
|
+
#
|
|
1327
|
+
# @param request_pb [::Google::Cloud::Compute::V1::PatchNamedSetRouterRequest]
|
|
1328
|
+
# A request object representing the call parameters. Required.
|
|
1329
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1330
|
+
# Uri, Body, Query string parameters
|
|
1331
|
+
def self.transcode_patch_named_set_request request_pb
|
|
1332
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1333
|
+
.with_bindings(
|
|
1334
|
+
uri_method: :post,
|
|
1335
|
+
uri_template: "/compute/v1/projects/{project}/regions/{region}/routers/{router}/patchNamedSet",
|
|
1336
|
+
body: "named_set_resource",
|
|
1337
|
+
matches: [
|
|
1338
|
+
["project", %r{^[^/]+/?$}, false],
|
|
1339
|
+
["region", %r{^[^/]+/?$}, false],
|
|
1340
|
+
["router", %r{^[^/]+/?$}, false]
|
|
1341
|
+
]
|
|
1342
|
+
)
|
|
1343
|
+
transcoder.transcode request_pb
|
|
1344
|
+
end
|
|
1345
|
+
|
|
1053
1346
|
##
|
|
1054
1347
|
# @private
|
|
1055
1348
|
#
|
|
@@ -1122,6 +1415,30 @@ module Google
|
|
|
1122
1415
|
transcoder.transcode request_pb
|
|
1123
1416
|
end
|
|
1124
1417
|
|
|
1418
|
+
##
|
|
1419
|
+
# @private
|
|
1420
|
+
#
|
|
1421
|
+
# GRPC transcoding helper method for the update_named_set REST call
|
|
1422
|
+
#
|
|
1423
|
+
# @param request_pb [::Google::Cloud::Compute::V1::UpdateNamedSetRouterRequest]
|
|
1424
|
+
# A request object representing the call parameters. Required.
|
|
1425
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1426
|
+
# Uri, Body, Query string parameters
|
|
1427
|
+
def self.transcode_update_named_set_request request_pb
|
|
1428
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1429
|
+
.with_bindings(
|
|
1430
|
+
uri_method: :post,
|
|
1431
|
+
uri_template: "/compute/v1/projects/{project}/regions/{region}/routers/{router}/updateNamedSet",
|
|
1432
|
+
body: "named_set_resource",
|
|
1433
|
+
matches: [
|
|
1434
|
+
["project", %r{^[^/]+/?$}, false],
|
|
1435
|
+
["region", %r{^[^/]+/?$}, false],
|
|
1436
|
+
["router", %r{^[^/]+/?$}, false]
|
|
1437
|
+
]
|
|
1438
|
+
)
|
|
1439
|
+
transcoder.transcode request_pb
|
|
1440
|
+
end
|
|
1441
|
+
|
|
1125
1442
|
##
|
|
1126
1443
|
# @private
|
|
1127
1444
|
#
|
|
@@ -812,6 +812,7 @@ module Google
|
|
|
812
812
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
813
813
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
814
814
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
815
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
815
816
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
816
817
|
# trigger a retry.
|
|
817
818
|
# @return [::Hash]
|
|
@@ -884,6 +885,7 @@ module Google
|
|
|
884
885
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
885
886
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
886
887
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
888
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
887
889
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
888
890
|
# trigger a retry.
|
|
889
891
|
#
|
|
@@ -1673,6 +1673,7 @@ module Google
|
|
|
1673
1673
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1674
1674
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1675
1675
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1676
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1676
1677
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1677
1678
|
# trigger a retry.
|
|
1678
1679
|
# @return [::Hash]
|
|
@@ -1745,6 +1746,7 @@ module Google
|
|
|
1745
1746
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1746
1747
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1747
1748
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1749
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1748
1750
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1749
1751
|
# trigger a retry.
|
|
1750
1752
|
#
|
|
@@ -1305,6 +1305,7 @@ module Google
|
|
|
1305
1305
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1306
1306
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1307
1307
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1308
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1308
1309
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1309
1310
|
# trigger a retry.
|
|
1310
1311
|
# @return [::Hash]
|
|
@@ -1377,6 +1378,7 @@ module Google
|
|
|
1377
1378
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1378
1379
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1379
1380
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1381
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1380
1382
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1381
1383
|
# trigger a retry.
|
|
1382
1384
|
#
|
|
@@ -449,6 +449,7 @@ module Google
|
|
|
449
449
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
450
450
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
451
451
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
452
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
452
453
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
453
454
|
# trigger a retry.
|
|
454
455
|
# @return [::Hash]
|
|
@@ -521,6 +522,7 @@ module Google
|
|
|
521
522
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
522
523
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
523
524
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
525
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
524
526
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
525
527
|
# trigger a retry.
|
|
526
528
|
#
|
|
@@ -1198,6 +1198,7 @@ module Google
|
|
|
1198
1198
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1199
1199
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1200
1200
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1201
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1201
1202
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1202
1203
|
# trigger a retry.
|
|
1203
1204
|
# @return [::Hash]
|
|
@@ -1270,6 +1271,7 @@ module Google
|
|
|
1270
1271
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1271
1272
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1272
1273
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1274
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1273
1275
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1274
1276
|
# trigger a retry.
|
|
1275
1277
|
#
|
|
@@ -917,6 +917,7 @@ module Google
|
|
|
917
917
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
918
918
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
919
919
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
920
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
920
921
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
921
922
|
# trigger a retry.
|
|
922
923
|
# @return [::Hash]
|
|
@@ -989,6 +990,7 @@ module Google
|
|
|
989
990
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
990
991
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
991
992
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
993
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
992
994
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
993
995
|
# trigger a retry.
|
|
994
996
|
#
|
|
@@ -1200,6 +1200,7 @@ module Google
|
|
|
1200
1200
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1201
1201
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1202
1202
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1203
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1203
1204
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1204
1205
|
# trigger a retry.
|
|
1205
1206
|
# @return [::Hash]
|
|
@@ -1272,6 +1273,7 @@ module Google
|
|
|
1272
1273
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1273
1274
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1274
1275
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1276
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1275
1277
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1276
1278
|
# trigger a retry.
|
|
1277
1279
|
#
|
|
@@ -694,6 +694,7 @@ module Google
|
|
|
694
694
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
695
695
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
696
696
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
697
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
697
698
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
698
699
|
# trigger a retry.
|
|
699
700
|
# @return [::Hash]
|
|
@@ -766,6 +767,7 @@ module Google
|
|
|
766
767
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
767
768
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
768
769
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
770
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
769
771
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
770
772
|
# trigger a retry.
|
|
771
773
|
#
|
|
@@ -1487,6 +1487,7 @@ module Google
|
|
|
1487
1487
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1488
1488
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1489
1489
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1490
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1490
1491
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1491
1492
|
# trigger a retry.
|
|
1492
1493
|
# @return [::Hash]
|
|
@@ -1559,6 +1560,7 @@ module Google
|
|
|
1559
1560
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1560
1561
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1561
1562
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1563
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1562
1564
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1563
1565
|
# trigger a retry.
|
|
1564
1566
|
#
|
|
@@ -1732,6 +1732,7 @@ module Google
|
|
|
1732
1732
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1733
1733
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1734
1734
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1735
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1735
1736
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1736
1737
|
# trigger a retry.
|
|
1737
1738
|
# @return [::Hash]
|
|
@@ -1804,6 +1805,7 @@ module Google
|
|
|
1804
1805
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1805
1806
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1806
1807
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1808
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1807
1809
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1808
1810
|
# trigger a retry.
|
|
1809
1811
|
#
|
|
@@ -838,6 +838,7 @@ module Google
|
|
|
838
838
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
839
839
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
840
840
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
841
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
841
842
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
842
843
|
# trigger a retry.
|
|
843
844
|
# @return [::Hash]
|
|
@@ -910,6 +911,7 @@ module Google
|
|
|
910
911
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
911
912
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
912
913
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
914
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
913
915
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
914
916
|
# trigger a retry.
|
|
915
917
|
#
|
|
@@ -1134,6 +1134,7 @@ module Google
|
|
|
1134
1134
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1135
1135
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1136
1136
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1137
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1137
1138
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1138
1139
|
# trigger a retry.
|
|
1139
1140
|
# @return [::Hash]
|
|
@@ -1206,6 +1207,7 @@ module Google
|
|
|
1206
1207
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1207
1208
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1208
1209
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1210
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1209
1211
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1210
1212
|
# trigger a retry.
|
|
1211
1213
|
#
|
|
@@ -1570,6 +1570,7 @@ module Google
|
|
|
1570
1570
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1571
1571
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1572
1572
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1573
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1573
1574
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1574
1575
|
# trigger a retry.
|
|
1575
1576
|
# @return [::Hash]
|
|
@@ -1642,6 +1643,7 @@ module Google
|
|
|
1642
1643
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1643
1644
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1644
1645
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1646
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1645
1647
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1646
1648
|
# trigger a retry.
|
|
1647
1649
|
#
|
|
@@ -1125,6 +1125,7 @@ module Google
|
|
|
1125
1125
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1126
1126
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1127
1127
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1128
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1128
1129
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1129
1130
|
# trigger a retry.
|
|
1130
1131
|
# @return [::Hash]
|
|
@@ -1197,6 +1198,7 @@ module Google
|
|
|
1197
1198
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1198
1199
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1199
1200
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1201
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1200
1202
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1201
1203
|
# trigger a retry.
|
|
1202
1204
|
#
|
|
@@ -1764,6 +1764,7 @@ module Google
|
|
|
1764
1764
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1765
1765
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1766
1766
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1767
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1767
1768
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1768
1769
|
# trigger a retry.
|
|
1769
1770
|
# @return [::Hash]
|
|
@@ -1836,6 +1837,7 @@ module Google
|
|
|
1836
1837
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1837
1838
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1838
1839
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1840
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1839
1841
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1840
1842
|
# trigger a retry.
|
|
1841
1843
|
#
|
|
@@ -1355,6 +1355,7 @@ module Google
|
|
|
1355
1355
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1356
1356
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1357
1357
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1358
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1358
1359
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1359
1360
|
# trigger a retry.
|
|
1360
1361
|
# @return [::Hash]
|
|
@@ -1427,6 +1428,7 @@ module Google
|
|
|
1427
1428
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1428
1429
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1429
1430
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1431
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1430
1432
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1431
1433
|
# trigger a retry.
|
|
1432
1434
|
#
|