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
@@ -1179,6 +1179,7 @@ module Google
1179
1179
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1180
1180
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1181
1181
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1182
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1182
1183
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1183
1184
  # trigger a retry.
1184
1185
  # @return [::Hash]
@@ -1251,6 +1252,7 @@ module Google
1251
1252
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1252
1253
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1253
1254
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1255
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1254
1256
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1255
1257
  # trigger a retry.
1256
1258
  #
@@ -5998,6 +5998,7 @@ module Google
5998
5998
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
5999
5999
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
6000
6000
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
6001
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
6001
6002
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
6002
6003
  # trigger a retry.
6003
6004
  # @return [::Hash]
@@ -6070,6 +6071,7 @@ module Google
6070
6071
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
6071
6072
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
6072
6073
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
6074
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
6073
6075
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
6074
6076
  # trigger a retry.
6075
6077
  #
@@ -1003,6 +1003,7 @@ module Google
1003
1003
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1004
1004
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1005
1005
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1006
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1006
1007
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1007
1008
  # trigger a retry.
1008
1009
  # @return [::Hash]
@@ -1075,6 +1076,7 @@ module Google
1075
1076
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1076
1077
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1077
1078
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1079
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1078
1080
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1079
1081
  # trigger a retry.
1080
1082
  #
@@ -1307,6 +1307,7 @@ module Google
1307
1307
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1308
1308
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1309
1309
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1310
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1310
1311
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1311
1312
  # trigger a retry.
1312
1313
  # @return [::Hash]
@@ -1379,6 +1380,7 @@ module Google
1379
1380
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1380
1381
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1381
1382
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1383
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1382
1384
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1383
1385
  # trigger a retry.
1384
1386
  #
@@ -1187,6 +1187,7 @@ module Google
1187
1187
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1188
1188
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1189
1189
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1190
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1190
1191
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1191
1192
  # trigger a retry.
1192
1193
  # @return [::Hash]
@@ -1259,6 +1260,7 @@ module Google
1259
1260
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1260
1261
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1261
1262
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1263
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1262
1264
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1263
1265
  # trigger a retry.
1264
1266
  #
@@ -1153,6 +1153,7 @@ module Google
1153
1153
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1154
1154
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1155
1155
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1156
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1156
1157
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1157
1158
  # trigger a retry.
1158
1159
  # @return [::Hash]
@@ -1225,6 +1226,7 @@ module Google
1225
1226
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1226
1227
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1227
1228
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1229
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1228
1230
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1229
1231
  # trigger a retry.
1230
1232
  #
@@ -1280,6 +1280,7 @@ module Google
1280
1280
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1281
1281
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1282
1282
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1283
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1283
1284
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1284
1285
  # trigger a retry.
1285
1286
  # @return [::Hash]
@@ -1352,6 +1353,7 @@ module Google
1352
1353
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1353
1354
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1354
1355
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1356
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1355
1357
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1356
1358
  # trigger a retry.
1357
1359
  #
@@ -504,6 +504,7 @@ module Google
504
504
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
505
505
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
506
506
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
507
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
507
508
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
508
509
  # trigger a retry.
509
510
  # @return [::Hash]
@@ -576,6 +577,7 @@ module Google
576
577
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
577
578
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
578
579
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
580
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
579
581
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
580
582
  # trigger a retry.
581
583
  #
@@ -504,6 +504,7 @@ module Google
504
504
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
505
505
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
506
506
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
507
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
507
508
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
508
509
  # trigger a retry.
509
510
  # @return [::Hash]
@@ -576,6 +577,7 @@ module Google
576
577
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
577
578
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
578
579
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
580
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
579
581
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
580
582
  # trigger a retry.
581
583
  #
@@ -1114,6 +1114,7 @@ module Google
1114
1114
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1115
1115
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1116
1116
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1117
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1117
1118
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1118
1119
  # trigger a retry.
1119
1120
  # @return [::Hash]
@@ -1186,6 +1187,7 @@ module Google
1186
1187
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1187
1188
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1188
1189
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1190
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1189
1191
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1190
1192
  # trigger a retry.
1191
1193
  #
@@ -26,7 +26,6 @@ module Google
26
26
  # Credentials for the LicenseCodes API.
27
27
  class Credentials < ::Google::Auth::Credentials
28
28
  self.scope = [
29
- "https://www.googleapis.com/auth/compute.readonly",
30
29
  "https://www.googleapis.com/auth/compute",
31
30
  "https://www.googleapis.com/auth/cloud-platform"
32
31
  ]
@@ -75,6 +75,13 @@ module Google
75
75
  initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
76
76
  }
77
77
 
78
+ default_config.rpcs.get_iam_policy.timeout = 600.0
79
+ default_config.rpcs.get_iam_policy.retry_policy = {
80
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
81
+ }
82
+
83
+ default_config.rpcs.set_iam_policy.timeout = 600.0
84
+
78
85
  default_config.rpcs.test_iam_permissions.timeout = 600.0
79
86
 
80
87
  default_config
@@ -265,6 +272,178 @@ module Google
265
272
  raise ::Google::Cloud::Error.from_error(e)
266
273
  end
267
274
 
275
+ ##
276
+ # Gets the access control policy for a resource. May be empty if no such
277
+ # policy or resource exists.
278
+ # *Caution* This resource is intended
279
+ # for use only by third-party partners who are creatingCloud Marketplace
280
+ # images.
281
+ #
282
+ # @overload get_iam_policy(request, options = nil)
283
+ # Pass arguments to `get_iam_policy` via a request object, either of type
284
+ # {::Google::Cloud::Compute::V1::GetIamPolicyLicenseCodeRequest} or an equivalent Hash.
285
+ #
286
+ # @param request [::Google::Cloud::Compute::V1::GetIamPolicyLicenseCodeRequest, ::Hash]
287
+ # A request object representing the call parameters. Required. To specify no
288
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
289
+ # @param options [::Gapic::CallOptions, ::Hash]
290
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
291
+ #
292
+ # @overload get_iam_policy(options_requested_policy_version: nil, project: nil, resource: nil)
293
+ # Pass arguments to `get_iam_policy` via keyword arguments. Note that at
294
+ # least one keyword argument is required. To specify no parameters, or to keep all
295
+ # the default parameter values, pass an empty Hash as a request object (see above).
296
+ #
297
+ # @param options_requested_policy_version [::Integer]
298
+ # Requested IAM Policy version.
299
+ # @param project [::String]
300
+ # Project ID for this request.
301
+ # @param resource [::String]
302
+ # Name or id of the resource for this request.
303
+ # @yield [result, operation] Access the result along with the TransportOperation object
304
+ # @yieldparam result [::Google::Cloud::Compute::V1::Policy]
305
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
306
+ #
307
+ # @return [::Google::Cloud::Compute::V1::Policy]
308
+ #
309
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
310
+ #
311
+ # @example Basic example
312
+ # require "google/cloud/compute/v1"
313
+ #
314
+ # # Create a client object. The client can be reused for multiple calls.
315
+ # client = Google::Cloud::Compute::V1::LicenseCodes::Rest::Client.new
316
+ #
317
+ # # Create a request. To set request fields, pass in keyword arguments.
318
+ # request = Google::Cloud::Compute::V1::GetIamPolicyLicenseCodeRequest.new
319
+ #
320
+ # # Call the get_iam_policy method.
321
+ # result = client.get_iam_policy request
322
+ #
323
+ # # The returned object is of type Google::Cloud::Compute::V1::Policy.
324
+ # p result
325
+ #
326
+ def get_iam_policy request, options = nil
327
+ raise ::ArgumentError, "request must be provided" if request.nil?
328
+
329
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::GetIamPolicyLicenseCodeRequest
330
+
331
+ # Converts hash and nil to an options object
332
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
333
+
334
+ # Customize the options with defaults
335
+ call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
336
+
337
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
338
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
339
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
340
+ gapic_version: ::Google::Cloud::Compute::V1::VERSION,
341
+ transports_version_send: [:rest]
342
+
343
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
344
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
345
+
346
+ options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
347
+ metadata: call_metadata,
348
+ retry_policy: @config.rpcs.get_iam_policy.retry_policy
349
+
350
+ options.apply_defaults timeout: @config.timeout,
351
+ metadata: @config.metadata,
352
+ retry_policy: @config.retry_policy
353
+
354
+ @license_codes_stub.get_iam_policy request, options do |result, operation|
355
+ yield result, operation if block_given?
356
+ end
357
+ rescue ::Gapic::Rest::Error => e
358
+ raise ::Google::Cloud::Error.from_error(e)
359
+ end
360
+
361
+ ##
362
+ # Sets the access control policy on the specified resource.
363
+ # Replaces any existing policy.
364
+ # *Caution* This resource is intended
365
+ # for use only by third-party partners who are creatingCloud Marketplace
366
+ # images.
367
+ #
368
+ # @overload set_iam_policy(request, options = nil)
369
+ # Pass arguments to `set_iam_policy` via a request object, either of type
370
+ # {::Google::Cloud::Compute::V1::SetIamPolicyLicenseCodeRequest} or an equivalent Hash.
371
+ #
372
+ # @param request [::Google::Cloud::Compute::V1::SetIamPolicyLicenseCodeRequest, ::Hash]
373
+ # A request object representing the call parameters. Required. To specify no
374
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
375
+ # @param options [::Gapic::CallOptions, ::Hash]
376
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
377
+ #
378
+ # @overload set_iam_policy(global_set_policy_request_resource: nil, project: nil, resource: nil)
379
+ # Pass arguments to `set_iam_policy` via keyword arguments. Note that at
380
+ # least one keyword argument is required. To specify no parameters, or to keep all
381
+ # the default parameter values, pass an empty Hash as a request object (see above).
382
+ #
383
+ # @param global_set_policy_request_resource [::Google::Cloud::Compute::V1::GlobalSetPolicyRequest, ::Hash]
384
+ # The body resource for this request
385
+ # @param project [::String]
386
+ # Project ID for this request.
387
+ # @param resource [::String]
388
+ # Name or id of the resource for this request.
389
+ # @yield [result, operation] Access the result along with the TransportOperation object
390
+ # @yieldparam result [::Google::Cloud::Compute::V1::Policy]
391
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
392
+ #
393
+ # @return [::Google::Cloud::Compute::V1::Policy]
394
+ #
395
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
396
+ #
397
+ # @example Basic example
398
+ # require "google/cloud/compute/v1"
399
+ #
400
+ # # Create a client object. The client can be reused for multiple calls.
401
+ # client = Google::Cloud::Compute::V1::LicenseCodes::Rest::Client.new
402
+ #
403
+ # # Create a request. To set request fields, pass in keyword arguments.
404
+ # request = Google::Cloud::Compute::V1::SetIamPolicyLicenseCodeRequest.new
405
+ #
406
+ # # Call the set_iam_policy method.
407
+ # result = client.set_iam_policy request
408
+ #
409
+ # # The returned object is of type Google::Cloud::Compute::V1::Policy.
410
+ # p result
411
+ #
412
+ def set_iam_policy request, options = nil
413
+ raise ::ArgumentError, "request must be provided" if request.nil?
414
+
415
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::SetIamPolicyLicenseCodeRequest
416
+
417
+ # Converts hash and nil to an options object
418
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
419
+
420
+ # Customize the options with defaults
421
+ call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
422
+
423
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
424
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
425
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
426
+ gapic_version: ::Google::Cloud::Compute::V1::VERSION,
427
+ transports_version_send: [:rest]
428
+
429
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
430
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
431
+
432
+ options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
433
+ metadata: call_metadata,
434
+ retry_policy: @config.rpcs.set_iam_policy.retry_policy
435
+
436
+ options.apply_defaults timeout: @config.timeout,
437
+ metadata: @config.metadata,
438
+ retry_policy: @config.retry_policy
439
+
440
+ @license_codes_stub.set_iam_policy request, options do |result, operation|
441
+ yield result, operation if block_given?
442
+ end
443
+ rescue ::Gapic::Rest::Error => e
444
+ raise ::Google::Cloud::Error.from_error(e)
445
+ end
446
+
268
447
  ##
269
448
  # Returns permissions that a caller has on the specified resource.
270
449
  # *Caution* This resource is intended
@@ -420,6 +599,7 @@ module Google
420
599
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
421
600
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
422
601
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
602
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
423
603
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
424
604
  # trigger a retry.
425
605
  # @return [::Hash]
@@ -492,6 +672,7 @@ module Google
492
672
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
493
673
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
494
674
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
675
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
495
676
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
496
677
  # trigger a retry.
497
678
  #
@@ -502,6 +683,16 @@ module Google
502
683
  #
503
684
  attr_reader :get
504
685
  ##
686
+ # RPC-specific configuration for `get_iam_policy`
687
+ # @return [::Gapic::Config::Method]
688
+ #
689
+ attr_reader :get_iam_policy
690
+ ##
691
+ # RPC-specific configuration for `set_iam_policy`
692
+ # @return [::Gapic::Config::Method]
693
+ #
694
+ attr_reader :set_iam_policy
695
+ ##
505
696
  # RPC-specific configuration for `test_iam_permissions`
506
697
  # @return [::Gapic::Config::Method]
507
698
  #
@@ -511,6 +702,10 @@ module Google
511
702
  def initialize parent_rpcs = nil
512
703
  get_config = parent_rpcs.get if parent_rpcs.respond_to? :get
513
704
  @get = ::Gapic::Config::Method.new get_config
705
+ get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy
706
+ @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config
707
+ set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy
708
+ @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config
514
709
  test_iam_permissions_config = parent_rpcs.test_iam_permissions if parent_rpcs.respond_to? :test_iam_permissions
515
710
  @test_iam_permissions = ::Gapic::Config::Method.new test_iam_permissions_config
516
711
 
@@ -113,6 +113,86 @@ module Google
113
113
  end
114
114
  end
115
115
 
116
+ ##
117
+ # Baseline implementation for the get_iam_policy REST call
118
+ #
119
+ # @param request_pb [::Google::Cloud::Compute::V1::GetIamPolicyLicenseCodeRequest]
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::Policy]
126
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
127
+ #
128
+ # @return [::Google::Cloud::Compute::V1::Policy]
129
+ # A result object deserialized from the server's reply
130
+ def get_iam_policy 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_get_iam_policy_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: "get_iam_policy",
146
+ options: options
147
+ )
148
+ operation = ::Gapic::Rest::TransportOperation.new response
149
+ result = ::Google::Cloud::Compute::V1::Policy.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
+
156
+ ##
157
+ # Baseline implementation for the set_iam_policy REST call
158
+ #
159
+ # @param request_pb [::Google::Cloud::Compute::V1::SetIamPolicyLicenseCodeRequest]
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::Policy]
166
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
167
+ #
168
+ # @return [::Google::Cloud::Compute::V1::Policy]
169
+ # A result object deserialized from the server's reply
170
+ def set_iam_policy 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_set_iam_policy_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: "set_iam_policy",
186
+ options: options
187
+ )
188
+ operation = ::Gapic::Rest::TransportOperation.new response
189
+ result = ::Google::Cloud::Compute::V1::Policy.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
+
116
196
  ##
117
197
  # Baseline implementation for the test_iam_permissions REST call
118
198
  #
@@ -175,6 +255,51 @@ module Google
175
255
  transcoder.transcode request_pb
176
256
  end
177
257
 
258
+ ##
259
+ # @private
260
+ #
261
+ # GRPC transcoding helper method for the get_iam_policy REST call
262
+ #
263
+ # @param request_pb [::Google::Cloud::Compute::V1::GetIamPolicyLicenseCodeRequest]
264
+ # A request object representing the call parameters. Required.
265
+ # @return [Array(String, [String, nil], Hash{String => String})]
266
+ # Uri, Body, Query string parameters
267
+ def self.transcode_get_iam_policy_request request_pb
268
+ transcoder = Gapic::Rest::GrpcTranscoder.new
269
+ .with_bindings(
270
+ uri_method: :get,
271
+ uri_template: "/compute/v1/projects/{project}/global/licenseCodes/{resource}/getIamPolicy",
272
+ matches: [
273
+ ["project", %r{^[^/]+/?$}, false],
274
+ ["resource", %r{^[^/]+/?$}, false]
275
+ ]
276
+ )
277
+ transcoder.transcode request_pb
278
+ end
279
+
280
+ ##
281
+ # @private
282
+ #
283
+ # GRPC transcoding helper method for the set_iam_policy REST call
284
+ #
285
+ # @param request_pb [::Google::Cloud::Compute::V1::SetIamPolicyLicenseCodeRequest]
286
+ # A request object representing the call parameters. Required.
287
+ # @return [Array(String, [String, nil], Hash{String => String})]
288
+ # Uri, Body, Query string parameters
289
+ def self.transcode_set_iam_policy_request request_pb
290
+ transcoder = Gapic::Rest::GrpcTranscoder.new
291
+ .with_bindings(
292
+ uri_method: :post,
293
+ uri_template: "/compute/v1/projects/{project}/global/licenseCodes/{resource}/setIamPolicy",
294
+ body: "global_set_policy_request_resource",
295
+ matches: [
296
+ ["project", %r{^[^/]+/?$}, false],
297
+ ["resource", %r{^[^/]+/?$}, false]
298
+ ]
299
+ )
300
+ transcoder.transcode request_pb
301
+ end
302
+
178
303
  ##
179
304
  # @private
180
305
  #
@@ -1122,6 +1122,7 @@ module Google
1122
1122
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1123
1123
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1124
1124
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1125
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1125
1126
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1126
1127
  # trigger a retry.
1127
1128
  # @return [::Hash]
@@ -1194,6 +1195,7 @@ module Google
1194
1195
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1195
1196
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1196
1197
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1198
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1197
1199
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1198
1200
  # trigger a retry.
1199
1201
  #
@@ -1086,6 +1086,7 @@ module Google
1086
1086
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1087
1087
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1088
1088
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1089
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1089
1090
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1090
1091
  # trigger a retry.
1091
1092
  # @return [::Hash]
@@ -1158,6 +1159,7 @@ module Google
1158
1159
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1159
1160
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1160
1161
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1162
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1161
1163
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1162
1164
  # trigger a retry.
1163
1165
  #
@@ -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
  #
@@ -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
  #
@@ -866,6 +866,7 @@ module Google
866
866
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
867
867
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
868
868
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
869
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
869
870
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
870
871
  # trigger a retry.
871
872
  # @return [::Hash]
@@ -938,6 +939,7 @@ module Google
938
939
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
939
940
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
940
941
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
942
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
941
943
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
942
944
  # trigger a retry.
943
945
  #