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.
- 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 +2 -0
- data/lib/google/cloud/compute/v1/compute_pb.rb +58 -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 +2 -0
- 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 +2 -0
- 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/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest/client.rb +1166 -0
- data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest/service_stub.rb +453 -0
- data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/global_vm_extension_policies.rb +47 -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 +2 -0
- 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/credentials.rb +0 -1
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +195 -0
- data/lib/google/cloud/compute/v1/license_codes/rest/service_stub.rb +125 -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 +118 -0
- data/lib/google/cloud/compute/v1/networks/rest/service_stub.rb +63 -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 +2 -0
- 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 +2 -0
- 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/rest.rb +3 -0
- data/lib/google/cloud/compute/v1/rollout_plans/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/rollout_plans/rest/client.rb +850 -0
- data/lib/google/cloud/compute/v1/rollout_plans/rest/service_stub.rb +328 -0
- data/lib/google/cloud/compute/v1/rollout_plans/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/rollout_plans.rb +47 -0
- data/lib/google/cloud/compute/v1/rollouts/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/rollouts/rest/client.rb +855 -0
- data/lib/google/cloud/compute/v1/rollouts/rest/service_stub.rb +328 -0
- data/lib/google/cloud/compute/v1/rollouts/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/rollouts.rb +47 -0
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +2 -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 +5 -3
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +2 -0
- data/lib/google/cloud/compute/v1.rb +3 -0
- data/proto_docs/google/cloud/compute/v1/compute.rb +2698 -914
- metadata +18 -3
|
@@ -847,6 +847,7 @@ module Google
|
|
|
847
847
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
848
848
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
849
849
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
850
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
850
851
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
851
852
|
# trigger a retry.
|
|
852
853
|
# @return [::Hash]
|
|
@@ -919,6 +920,7 @@ module Google
|
|
|
919
920
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
920
921
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
921
922
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
923
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
922
924
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
923
925
|
# trigger a retry.
|
|
924
926
|
#
|
|
@@ -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
|
#
|
|
@@ -2533,6 +2533,7 @@ module Google
|
|
|
2533
2533
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
2534
2534
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
2535
2535
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
2536
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
2536
2537
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
2537
2538
|
# trigger a retry.
|
|
2538
2539
|
# @return [::Hash]
|
|
@@ -2605,6 +2606,7 @@ module Google
|
|
|
2605
2606
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
2606
2607
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
2607
2608
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
2609
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
2608
2610
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
2609
2611
|
# trigger a retry.
|
|
2610
2612
|
#
|
|
@@ -909,6 +909,7 @@ module Google
|
|
|
909
909
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
910
910
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
911
911
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
912
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
912
913
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
913
914
|
# trigger a retry.
|
|
914
915
|
# @return [::Hash]
|
|
@@ -981,6 +982,7 @@ module Google
|
|
|
981
982
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
982
983
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
983
984
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
985
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
984
986
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
985
987
|
# trigger a retry.
|
|
986
988
|
#
|
|
@@ -2070,6 +2070,7 @@ module Google
|
|
|
2070
2070
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
2071
2071
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
2072
2072
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
2073
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
2073
2074
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
2074
2075
|
# trigger a retry.
|
|
2075
2076
|
# @return [::Hash]
|
|
@@ -2142,6 +2143,7 @@ module Google
|
|
|
2142
2143
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
2143
2144
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
2144
2145
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
2146
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
2145
2147
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
2146
2148
|
# trigger a retry.
|
|
2147
2149
|
#
|
|
@@ -1033,6 +1033,7 @@ module Google
|
|
|
1033
1033
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1034
1034
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1035
1035
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1036
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1036
1037
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1037
1038
|
# trigger a retry.
|
|
1038
1039
|
# @return [::Hash]
|
|
@@ -1105,6 +1106,7 @@ module Google
|
|
|
1105
1106
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1106
1107
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1107
1108
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1109
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1108
1110
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1109
1111
|
# trigger a retry.
|
|
1110
1112
|
#
|
|
@@ -1263,6 +1263,7 @@ module Google
|
|
|
1263
1263
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1264
1264
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1265
1265
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1266
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1266
1267
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1267
1268
|
# trigger a retry.
|
|
1268
1269
|
# @return [::Hash]
|
|
@@ -1335,6 +1336,7 @@ module Google
|
|
|
1335
1336
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1336
1337
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1337
1338
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1339
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1338
1340
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1339
1341
|
# trigger a retry.
|
|
1340
1342
|
#
|
|
@@ -1145,6 +1145,7 @@ module Google
|
|
|
1145
1145
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1146
1146
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1147
1147
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1148
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1148
1149
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1149
1150
|
# trigger a retry.
|
|
1150
1151
|
# @return [::Hash]
|
|
@@ -1217,6 +1218,7 @@ module Google
|
|
|
1217
1218
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1218
1219
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1219
1220
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1221
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1220
1222
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1221
1223
|
# trigger a retry.
|
|
1222
1224
|
#
|
|
@@ -1013,6 +1013,7 @@ module Google
|
|
|
1013
1013
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1014
1014
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1015
1015
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1016
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1016
1017
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1017
1018
|
# trigger a retry.
|
|
1018
1019
|
# @return [::Hash]
|
|
@@ -1085,6 +1086,7 @@ module Google
|
|
|
1085
1086
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1086
1087
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1087
1088
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1089
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1088
1090
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1089
1091
|
# trigger a retry.
|
|
1090
1092
|
#
|
|
@@ -1044,6 +1044,7 @@ module Google
|
|
|
1044
1044
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1045
1045
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1046
1046
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1047
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1047
1048
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1048
1049
|
# trigger a retry.
|
|
1049
1050
|
# @return [::Hash]
|
|
@@ -1116,6 +1117,7 @@ module Google
|
|
|
1116
1117
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1117
1118
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1118
1119
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1120
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1119
1121
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1120
1122
|
# trigger a retry.
|
|
1121
1123
|
#
|
|
@@ -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
|
#
|
|
@@ -872,6 +872,7 @@ module Google
|
|
|
872
872
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
873
873
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
874
874
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
875
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
875
876
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
876
877
|
# trigger a retry.
|
|
877
878
|
# @return [::Hash]
|
|
@@ -944,6 +945,7 @@ module Google
|
|
|
944
945
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
945
946
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
946
947
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
948
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
947
949
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
948
950
|
# trigger a retry.
|
|
949
951
|
#
|
|
@@ -588,6 +588,7 @@ module Google
|
|
|
588
588
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
589
589
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
590
590
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
591
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
591
592
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
592
593
|
# trigger a retry.
|
|
593
594
|
# @return [::Hash]
|
|
@@ -660,6 +661,7 @@ module Google
|
|
|
660
661
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
661
662
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
662
663
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
664
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
663
665
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
664
666
|
# trigger a retry.
|
|
665
667
|
#
|
|
@@ -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
|
#
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
require "googleauth"
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Cloud
|
|
23
|
+
module Compute
|
|
24
|
+
module V1
|
|
25
|
+
module GlobalVmExtensionPolicies
|
|
26
|
+
# Credentials for the GlobalVmExtensionPolicies API.
|
|
27
|
+
class Credentials < ::Google::Auth::Credentials
|
|
28
|
+
self.scope = [
|
|
29
|
+
"https://www.googleapis.com/auth/compute",
|
|
30
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
31
|
+
]
|
|
32
|
+
self.env_vars = [
|
|
33
|
+
"COMPUTE_CREDENTIALS",
|
|
34
|
+
"COMPUTE_KEYFILE",
|
|
35
|
+
"GOOGLE_CLOUD_CREDENTIALS",
|
|
36
|
+
"GOOGLE_CLOUD_KEYFILE",
|
|
37
|
+
"GCLOUD_KEYFILE",
|
|
38
|
+
"COMPUTE_CREDENTIALS_JSON",
|
|
39
|
+
"COMPUTE_KEYFILE_JSON",
|
|
40
|
+
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
|
41
|
+
"GOOGLE_CLOUD_KEYFILE_JSON",
|
|
42
|
+
"GCLOUD_KEYFILE_JSON"
|
|
43
|
+
]
|
|
44
|
+
self.paths = [
|
|
45
|
+
"~/.config/google_cloud/application_default_credentials.json"
|
|
46
|
+
]
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|