google-cloud-compute-v1 3.6.0 → 3.8.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.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +2 -0
  4. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +2 -0
  5. data/lib/google/cloud/compute/v1/advice/rest/client.rb +2 -0
  6. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +2 -0
  7. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +2 -0
  8. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +2 -0
  9. data/lib/google/cloud/compute/v1/compute_pb.rb +58 -1
  10. data/lib/google/cloud/compute/v1/cross_site_networks/rest/client.rb +2 -0
  11. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +2 -0
  12. data/lib/google/cloud/compute/v1/disks/rest/client.rb +2 -0
  13. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +2 -0
  14. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +2 -0
  15. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +2 -0
  16. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +2 -0
  17. data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +2 -0
  18. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +2 -0
  19. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +2 -0
  20. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +2 -0
  21. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +2 -0
  22. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +2 -0
  23. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +2 -0
  24. data/lib/google/cloud/compute/v1/global_vm_extension_policies/credentials.rb +52 -0
  25. data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest/client.rb +1166 -0
  26. data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest/service_stub.rb +453 -0
  27. data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest.rb +51 -0
  28. data/lib/google/cloud/compute/v1/global_vm_extension_policies.rb +47 -0
  29. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +2 -0
  30. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +2 -0
  31. data/lib/google/cloud/compute/v1/images/rest/client.rb +2 -0
  32. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +2 -0
  33. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +2 -0
  34. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +2 -0
  35. data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +2 -0
  36. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +2 -0
  37. data/lib/google/cloud/compute/v1/instances/rest/client.rb +2 -0
  38. data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/client.rb +2 -0
  39. data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +2 -0
  40. data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +2 -0
  41. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +2 -0
  42. data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +2 -0
  43. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +2 -0
  44. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +2 -0
  45. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +2 -0
  46. data/lib/google/cloud/compute/v1/license_codes/credentials.rb +0 -1
  47. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +195 -0
  48. data/lib/google/cloud/compute/v1/license_codes/rest/service_stub.rb +125 -0
  49. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +2 -0
  50. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +2 -0
  51. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +2 -0
  52. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +2 -0
  53. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +2 -0
  54. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +2 -0
  55. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +2 -0
  56. data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +2 -0
  57. data/lib/google/cloud/compute/v1/networks/rest/client.rb +118 -0
  58. data/lib/google/cloud/compute/v1/networks/rest/service_stub.rb +63 -0
  59. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +2 -0
  60. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +2 -0
  61. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +2 -0
  62. data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +2 -0
  63. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +2 -0
  64. data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +2 -0
  65. data/lib/google/cloud/compute/v1/projects/rest/client.rb +2 -0
  66. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +2 -0
  67. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +2 -0
  68. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +2 -0
  69. data/lib/google/cloud/compute/v1/region_backend_buckets/rest/client.rb +2 -0
  70. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +2 -0
  71. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +2 -0
  72. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +2 -0
  73. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +2 -0
  74. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +2 -0
  75. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +2 -0
  76. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +2 -0
  77. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +2 -0
  78. data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +2 -0
  79. data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/client.rb +2 -0
  80. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +2 -0
  81. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +2 -0
  82. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +2 -0
  83. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +2 -0
  84. data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/client.rb +2 -0
  85. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +2 -0
  86. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +2 -0
  87. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +2 -0
  88. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +2 -0
  89. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +2 -0
  90. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +2 -0
  91. data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/client.rb +2 -0
  92. data/lib/google/cloud/compute/v1/region_snapshots/rest/client.rb +2 -0
  93. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +2 -0
  94. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +2 -0
  95. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +2 -0
  96. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +2 -0
  97. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +2 -0
  98. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +2 -0
  99. data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +2 -0
  100. data/lib/google/cloud/compute/v1/regions/rest/client.rb +2 -0
  101. data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +2 -0
  102. data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +2 -0
  103. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +2 -0
  104. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +2 -0
  105. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +2 -0
  106. data/lib/google/cloud/compute/v1/rest.rb +3 -0
  107. data/lib/google/cloud/compute/v1/rollout_plans/credentials.rb +52 -0
  108. data/lib/google/cloud/compute/v1/rollout_plans/rest/client.rb +850 -0
  109. data/lib/google/cloud/compute/v1/rollout_plans/rest/service_stub.rb +328 -0
  110. data/lib/google/cloud/compute/v1/rollout_plans/rest.rb +51 -0
  111. data/lib/google/cloud/compute/v1/rollout_plans.rb +47 -0
  112. data/lib/google/cloud/compute/v1/rollouts/credentials.rb +52 -0
  113. data/lib/google/cloud/compute/v1/rollouts/rest/client.rb +855 -0
  114. data/lib/google/cloud/compute/v1/rollouts/rest/service_stub.rb +328 -0
  115. data/lib/google/cloud/compute/v1/rollouts/rest.rb +51 -0
  116. data/lib/google/cloud/compute/v1/rollouts.rb +47 -0
  117. data/lib/google/cloud/compute/v1/routers/rest/client.rb +2 -0
  118. data/lib/google/cloud/compute/v1/routes/rest/client.rb +2 -0
  119. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +2 -0
  120. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +2 -0
  121. data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +2 -0
  122. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +2 -0
  123. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +2 -0
  124. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +2 -0
  125. data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +2 -0
  126. data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +2 -0
  127. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +2 -0
  128. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +2 -0
  129. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +2 -0
  130. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +2 -0
  131. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +2 -0
  132. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +2 -0
  133. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +2 -0
  134. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +2 -0
  135. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +2 -0
  136. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +2 -0
  137. data/lib/google/cloud/compute/v1/version.rb +1 -1
  138. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +2 -0
  139. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +2 -0
  140. data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +2 -0
  141. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +2 -0
  142. data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/client.rb +5 -3
  143. data/lib/google/cloud/compute/v1/zones/rest/client.rb +2 -0
  144. data/lib/google/cloud/compute/v1.rb +3 -0
  145. data/proto_docs/google/cloud/compute/v1/compute.rb +2698 -914
  146. metadata +18 -3
@@ -1438,6 +1438,7 @@ module Google
1438
1438
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1439
1439
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1440
1440
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1441
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1441
1442
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1442
1443
  # trigger a retry.
1443
1444
  # @return [::Hash]
@@ -1510,6 +1511,7 @@ module Google
1510
1511
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1511
1512
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1512
1513
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1514
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1513
1515
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1514
1516
  # trigger a retry.
1515
1517
  #
@@ -2525,6 +2525,7 @@ module Google
2525
2525
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
2526
2526
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
2527
2527
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
2528
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
2528
2529
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
2529
2530
  # trigger a retry.
2530
2531
  # @return [::Hash]
@@ -2597,6 +2598,7 @@ module Google
2597
2598
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
2598
2599
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
2599
2600
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
2601
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
2600
2602
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
2601
2603
  # trigger a retry.
2602
2604
  #
@@ -503,6 +503,7 @@ module Google
503
503
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
504
504
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
505
505
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
506
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
506
507
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
507
508
  # trigger a retry.
508
509
  # @return [::Hash]
@@ -575,6 +576,7 @@ module Google
575
576
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
576
577
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
577
578
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
579
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
578
580
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
579
581
  # trigger a retry.
580
582
  #
@@ -73,6 +73,8 @@ module Google
73
73
 
74
74
  default_config.rpcs.add_peering.timeout = 600.0
75
75
 
76
+ default_config.rpcs.cancel_request_remove_peering.timeout = 600.0
77
+
76
78
  default_config.rpcs.delete.timeout = 600.0
77
79
 
78
80
  default_config.rpcs.get.timeout = 600.0
@@ -330,6 +332,113 @@ module Google
330
332
  raise ::Google::Cloud::Error.from_error(e)
331
333
  end
332
334
 
335
+ ##
336
+ # Cancel requests to remove a peering from the specified network. Applicable
337
+ # only for PeeringConnection with update_strategy=CONSENSUS. Cancels a
338
+ # request to remove a peering from the specified network.
339
+ #
340
+ # @overload cancel_request_remove_peering(request, options = nil)
341
+ # Pass arguments to `cancel_request_remove_peering` via a request object, either of type
342
+ # {::Google::Cloud::Compute::V1::CancelRequestRemovePeeringNetworkRequest} or an equivalent Hash.
343
+ #
344
+ # @param request [::Google::Cloud::Compute::V1::CancelRequestRemovePeeringNetworkRequest, ::Hash]
345
+ # A request object representing the call parameters. Required. To specify no
346
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
347
+ # @param options [::Gapic::CallOptions, ::Hash]
348
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
349
+ #
350
+ # @overload cancel_request_remove_peering(network: nil, networks_cancel_request_remove_peering_request_resource: nil, project: nil, request_id: nil)
351
+ # Pass arguments to `cancel_request_remove_peering` via keyword arguments. Note that at
352
+ # least one keyword argument is required. To specify no parameters, or to keep all
353
+ # the default parameter values, pass an empty Hash as a request object (see above).
354
+ #
355
+ # @param network [::String]
356
+ # Name of the network resource to remove peering from.
357
+ # @param networks_cancel_request_remove_peering_request_resource [::Google::Cloud::Compute::V1::NetworksCancelRequestRemovePeeringRequest, ::Hash]
358
+ # The body resource for this request
359
+ # @param project [::String]
360
+ # Project ID for this request.
361
+ # @param request_id [::String]
362
+ # An optional request ID to identify requests. Specify a unique request ID so
363
+ # that if you must retry your request, the server will know to ignore the
364
+ # request if it has already been completed.
365
+ #
366
+ # For example, consider a situation where you make an initial request and
367
+ # the request times out. If you make the request again with the same
368
+ # request ID, the server can check if original operation with the same
369
+ # request ID was received, and if so, will ignore the second request. This
370
+ # prevents clients from accidentally creating duplicate commitments.
371
+ #
372
+ # The request ID must be
373
+ # a valid UUID with the exception that zero UUID is not supported
374
+ # (00000000-0000-0000-0000-000000000000).
375
+ # @yield [result, operation] Access the result along with the TransportOperation object
376
+ # @yieldparam result [::Gapic::GenericLRO::Operation]
377
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
378
+ #
379
+ # @return [::Gapic::GenericLRO::Operation]
380
+ #
381
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
382
+ #
383
+ # @example Basic example
384
+ # require "google/cloud/compute/v1"
385
+ #
386
+ # # Create a client object. The client can be reused for multiple calls.
387
+ # client = Google::Cloud::Compute::V1::Networks::Rest::Client.new
388
+ #
389
+ # # Create a request. To set request fields, pass in keyword arguments.
390
+ # request = Google::Cloud::Compute::V1::CancelRequestRemovePeeringNetworkRequest.new
391
+ #
392
+ # # Call the cancel_request_remove_peering method.
393
+ # result = client.cancel_request_remove_peering request
394
+ #
395
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
396
+ # p result
397
+ #
398
+ def cancel_request_remove_peering request, options = nil
399
+ raise ::ArgumentError, "request must be provided" if request.nil?
400
+
401
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::CancelRequestRemovePeeringNetworkRequest
402
+
403
+ # Converts hash and nil to an options object
404
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
405
+
406
+ # Customize the options with defaults
407
+ call_metadata = @config.rpcs.cancel_request_remove_peering.metadata.to_h
408
+
409
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
410
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
411
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
412
+ gapic_version: ::Google::Cloud::Compute::V1::VERSION,
413
+ transports_version_send: [:rest]
414
+
415
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
416
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
417
+
418
+ options.apply_defaults timeout: @config.rpcs.cancel_request_remove_peering.timeout,
419
+ metadata: call_metadata,
420
+ retry_policy: @config.rpcs.cancel_request_remove_peering.retry_policy
421
+
422
+ options.apply_defaults timeout: @config.timeout,
423
+ metadata: @config.metadata,
424
+ retry_policy: @config.retry_policy
425
+
426
+ @networks_stub.cancel_request_remove_peering request, options do |result, response|
427
+ result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
428
+ operation: result,
429
+ client: global_operations,
430
+ request_values: {
431
+ "project" => request.project
432
+ },
433
+ options: options
434
+ )
435
+ yield result, response if block_given?
436
+ throw :response, result
437
+ end
438
+ rescue ::Gapic::Rest::Error => e
439
+ raise ::Google::Cloud::Error.from_error(e)
440
+ end
441
+
333
442
  ##
334
443
  # Deletes the specified network.
335
444
  #
@@ -1640,6 +1749,7 @@ module Google
1640
1749
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1641
1750
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1642
1751
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1752
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1643
1753
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1644
1754
  # trigger a retry.
1645
1755
  # @return [::Hash]
@@ -1712,6 +1822,7 @@ module Google
1712
1822
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1713
1823
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1714
1824
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1825
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1715
1826
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1716
1827
  # trigger a retry.
1717
1828
  #
@@ -1722,6 +1833,11 @@ module Google
1722
1833
  #
1723
1834
  attr_reader :add_peering
1724
1835
  ##
1836
+ # RPC-specific configuration for `cancel_request_remove_peering`
1837
+ # @return [::Gapic::Config::Method]
1838
+ #
1839
+ attr_reader :cancel_request_remove_peering
1840
+ ##
1725
1841
  # RPC-specific configuration for `delete`
1726
1842
  # @return [::Gapic::Config::Method]
1727
1843
  #
@@ -1781,6 +1897,8 @@ module Google
1781
1897
  def initialize parent_rpcs = nil
1782
1898
  add_peering_config = parent_rpcs.add_peering if parent_rpcs.respond_to? :add_peering
1783
1899
  @add_peering = ::Gapic::Config::Method.new add_peering_config
1900
+ cancel_request_remove_peering_config = parent_rpcs.cancel_request_remove_peering if parent_rpcs.respond_to? :cancel_request_remove_peering
1901
+ @cancel_request_remove_peering = ::Gapic::Config::Method.new cancel_request_remove_peering_config
1784
1902
  delete_config = parent_rpcs.delete if parent_rpcs.respond_to? :delete
1785
1903
  @delete = ::Gapic::Config::Method.new delete_config
1786
1904
  get_config = parent_rpcs.get if parent_rpcs.respond_to? :get
@@ -113,6 +113,46 @@ module Google
113
113
  end
114
114
  end
115
115
 
116
+ ##
117
+ # Baseline implementation for the cancel_request_remove_peering REST call
118
+ #
119
+ # @param request_pb [::Google::Cloud::Compute::V1::CancelRequestRemovePeeringNetworkRequest]
120
+ # A request object representing the call parameters. Required.
121
+ # @param options [::Gapic::CallOptions]
122
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
123
+ #
124
+ # @yield [result, operation] Access the result along with the TransportOperation object
125
+ # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
126
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
127
+ #
128
+ # @return [::Google::Cloud::Compute::V1::Operation]
129
+ # A result object deserialized from the server's reply
130
+ def cancel_request_remove_peering request_pb, options = nil
131
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
132
+
133
+ verb, uri, query_string_params, body = ServiceStub.transcode_cancel_request_remove_peering_request request_pb
134
+ query_string_params = if query_string_params.any?
135
+ query_string_params.to_h { |p| p.split "=", 2 }
136
+ else
137
+ {}
138
+ end
139
+
140
+ response = @client_stub.make_http_request(
141
+ verb,
142
+ uri: uri,
143
+ body: body || "",
144
+ params: query_string_params,
145
+ method_name: "cancel_request_remove_peering",
146
+ options: options
147
+ )
148
+ operation = ::Gapic::Rest::TransportOperation.new response
149
+ result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
150
+ catch :response do
151
+ yield result, operation if block_given?
152
+ result
153
+ end
154
+ end
155
+
116
156
  ##
117
157
  # Baseline implementation for the delete REST call
118
158
  #
@@ -576,6 +616,29 @@ module Google
576
616
  transcoder.transcode request_pb
577
617
  end
578
618
 
619
+ ##
620
+ # @private
621
+ #
622
+ # GRPC transcoding helper method for the cancel_request_remove_peering REST call
623
+ #
624
+ # @param request_pb [::Google::Cloud::Compute::V1::CancelRequestRemovePeeringNetworkRequest]
625
+ # A request object representing the call parameters. Required.
626
+ # @return [Array(String, [String, nil], Hash{String => String})]
627
+ # Uri, Body, Query string parameters
628
+ def self.transcode_cancel_request_remove_peering_request request_pb
629
+ transcoder = Gapic::Rest::GrpcTranscoder.new
630
+ .with_bindings(
631
+ uri_method: :post,
632
+ uri_template: "/compute/v1/projects/{project}/global/networks/{network}/cancelRequestRemovePeering",
633
+ body: "networks_cancel_request_remove_peering_request_resource",
634
+ matches: [
635
+ ["project", %r{^[^/]+/?$}, false],
636
+ ["network", %r{^[^/]+/?$}, false]
637
+ ]
638
+ )
639
+ transcoder.transcode request_pb
640
+ end
641
+
579
642
  ##
580
643
  # @private
581
644
  #
@@ -2030,6 +2030,7 @@ module Google
2030
2030
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
2031
2031
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
2032
2032
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
2033
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
2033
2034
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
2034
2035
  # trigger a retry.
2035
2036
  # @return [::Hash]
@@ -2102,6 +2103,7 @@ module Google
2102
2103
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
2103
2104
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
2104
2105
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
2106
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
2105
2107
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
2106
2108
  # trigger a retry.
2107
2109
  #
@@ -1189,6 +1189,7 @@ module Google
1189
1189
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1190
1190
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1191
1191
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1192
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1192
1193
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1193
1194
  # trigger a retry.
1194
1195
  # @return [::Hash]
@@ -1261,6 +1262,7 @@ module Google
1261
1262
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1262
1263
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1263
1264
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1265
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1264
1266
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1265
1267
  # trigger a retry.
1266
1268
  #
@@ -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
  #
@@ -2054,6 +2054,7 @@ module Google
2054
2054
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
2055
2055
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
2056
2056
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
2057
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
2057
2058
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
2058
2059
  # trigger a retry.
2059
2060
  # @return [::Hash]
@@ -2126,6 +2127,7 @@ module Google
2126
2127
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
2127
2128
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
2128
2129
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
2130
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
2129
2131
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
2130
2132
  # trigger a retry.
2131
2133
  #
@@ -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
  #
@@ -625,6 +625,7 @@ module Google
625
625
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
626
626
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
627
627
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
628
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
628
629
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
629
630
  # trigger a retry.
630
631
  # @return [::Hash]
@@ -697,6 +698,7 @@ module Google
697
698
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
698
699
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
699
700
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
701
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
700
702
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
701
703
  # trigger a retry.
702
704
  #
@@ -1856,6 +1856,7 @@ module Google
1856
1856
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1857
1857
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1858
1858
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1859
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1859
1860
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1860
1861
  # trigger a retry.
1861
1862
  # @return [::Hash]
@@ -1928,6 +1929,7 @@ module Google
1928
1929
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1929
1930
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1930
1931
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1932
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1931
1933
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1932
1934
  # trigger a retry.
1933
1935
  #
@@ -1048,6 +1048,7 @@ module Google
1048
1048
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1049
1049
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1050
1050
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1051
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1051
1052
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1052
1053
  # trigger a retry.
1053
1054
  # @return [::Hash]
@@ -1120,6 +1121,7 @@ module Google
1120
1121
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1121
1122
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1122
1123
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1124
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1123
1125
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1124
1126
  # trigger a retry.
1125
1127
  #
@@ -1257,6 +1257,7 @@ module Google
1257
1257
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1258
1258
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1259
1259
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1260
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1260
1261
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1261
1262
  # trigger a retry.
1262
1263
  # @return [::Hash]
@@ -1329,6 +1330,7 @@ module Google
1329
1330
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1330
1331
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1331
1332
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1333
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1332
1334
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1333
1335
  # trigger a retry.
1334
1336
  #
@@ -1049,6 +1049,7 @@ module Google
1049
1049
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1050
1050
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1051
1051
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1052
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1052
1053
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1053
1054
  # trigger a retry.
1054
1055
  # @return [::Hash]
@@ -1121,6 +1122,7 @@ module Google
1121
1122
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1122
1123
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1123
1124
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1125
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1124
1126
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1125
1127
  # trigger a retry.
1126
1128
  #
@@ -1294,6 +1294,7 @@ module Google
1294
1294
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1295
1295
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1296
1296
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1297
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1297
1298
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1298
1299
  # trigger a retry.
1299
1300
  # @return [::Hash]
@@ -1366,6 +1367,7 @@ module Google
1366
1367
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1367
1368
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1368
1369
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1370
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1369
1371
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1370
1372
  # trigger a retry.
1371
1373
  #
@@ -1606,6 +1606,7 @@ module Google
1606
1606
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1607
1607
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1608
1608
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1609
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1609
1610
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1610
1611
  # trigger a retry.
1611
1612
  # @return [::Hash]
@@ -1678,6 +1679,7 @@ module Google
1678
1679
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1679
1680
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1680
1681
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1682
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1681
1683
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1682
1684
  # trigger a retry.
1683
1685
  #
@@ -933,6 +933,7 @@ module Google
933
933
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
934
934
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
935
935
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
936
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
936
937
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
937
938
  # trigger a retry.
938
939
  # @return [::Hash]
@@ -1005,6 +1006,7 @@ module Google
1005
1006
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1006
1007
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1007
1008
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1009
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1008
1010
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1009
1011
  # trigger a retry.
1010
1012
  #
@@ -1214,6 +1214,7 @@ module Google
1214
1214
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1215
1215
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1216
1216
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1217
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1217
1218
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1218
1219
  # trigger a retry.
1219
1220
  # @return [::Hash]
@@ -1286,6 +1287,7 @@ module Google
1286
1287
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1287
1288
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1288
1289
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1290
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1289
1291
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1290
1292
  # trigger a retry.
1291
1293
  #
@@ -506,6 +506,7 @@ module Google
506
506
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
507
507
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
508
508
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
509
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
509
510
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
510
511
  # trigger a retry.
511
512
  # @return [::Hash]
@@ -578,6 +579,7 @@ module Google
578
579
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
579
580
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
580
581
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
582
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
581
583
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
582
584
  # trigger a retry.
583
585
  #
@@ -2226,6 +2226,7 @@ module Google
2226
2226
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
2227
2227
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
2228
2228
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
2229
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
2229
2230
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
2230
2231
  # trigger a retry.
2231
2232
  # @return [::Hash]
@@ -2298,6 +2299,7 @@ module Google
2298
2299
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
2299
2300
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
2300
2301
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
2302
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
2301
2303
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
2302
2304
  # trigger a retry.
2303
2305
  #
@@ -1126,6 +1126,7 @@ module Google
1126
1126
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1127
1127
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1128
1128
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1129
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1129
1130
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1130
1131
  # trigger a retry.
1131
1132
  # @return [::Hash]
@@ -1198,6 +1199,7 @@ module Google
1198
1199
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1199
1200
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1200
1201
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1202
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1201
1203
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1202
1204
  # trigger a retry.
1203
1205
  #
@@ -1129,6 +1129,7 @@ module Google
1129
1129
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1130
1130
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1131
1131
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1132
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1132
1133
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1133
1134
  # trigger a retry.
1134
1135
  # @return [::Hash]
@@ -1201,6 +1202,7 @@ module Google
1201
1202
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1202
1203
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1203
1204
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1205
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1204
1206
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1205
1207
  # trigger a retry.
1206
1208
  #
@@ -1049,6 +1049,7 @@ module Google
1049
1049
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1050
1050
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1051
1051
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1052
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1052
1053
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1053
1054
  # trigger a retry.
1054
1055
  # @return [::Hash]
@@ -1121,6 +1122,7 @@ module Google
1121
1122
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1122
1123
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1123
1124
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1125
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1124
1126
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1125
1127
  # trigger a retry.
1126
1128
  #
@@ -1214,6 +1214,7 @@ module Google
1214
1214
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1215
1215
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1216
1216
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1217
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1217
1218
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1218
1219
  # trigger a retry.
1219
1220
  # @return [::Hash]
@@ -1286,6 +1287,7 @@ module Google
1286
1287
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1287
1288
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1288
1289
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1290
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1289
1291
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1290
1292
  # trigger a retry.
1291
1293
  #