google-cloud-compute-v1 2.3.0 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +48 -0
  3. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +112 -0
  4. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +112 -0
  5. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +144 -0
  6. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +224 -0
  7. data/lib/google/cloud/compute/v1/compute_pb.rb +3 -1
  8. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +48 -0
  9. data/lib/google/cloud/compute/v1/disks/rest/client.rb +288 -0
  10. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +96 -0
  11. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +288 -0
  12. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +96 -0
  13. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +128 -0
  14. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +96 -0
  15. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +112 -0
  16. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +112 -0
  17. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +80 -0
  18. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +48 -0
  19. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +80 -0
  20. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +112 -0
  21. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +16 -0
  22. data/lib/google/cloud/compute/v1/images/rest/client.rb +176 -0
  23. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +320 -0
  24. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +144 -0
  25. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +128 -0
  26. data/lib/google/cloud/compute/v1/instances/rest/client.rb +736 -0
  27. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +112 -0
  28. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +32 -0
  29. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +32 -0
  30. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +112 -0
  31. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +32 -0
  32. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +112 -0
  33. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +112 -0
  34. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +48 -0
  35. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +128 -0
  36. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +80 -0
  37. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +144 -0
  38. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +256 -0
  39. data/lib/google/cloud/compute/v1/networks/rest/client.rb +176 -0
  40. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +224 -0
  41. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +128 -0
  42. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +48 -0
  43. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +112 -0
  44. data/lib/google/cloud/compute/v1/projects/rest/client.rb +208 -0
  45. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +80 -0
  46. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +96 -0
  47. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +96 -0
  48. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +144 -0
  49. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +80 -0
  50. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +32 -0
  51. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +272 -0
  52. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +80 -0
  53. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +96 -0
  54. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +304 -0
  55. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +64 -0
  56. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +64 -0
  57. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +16 -0
  58. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +64 -0
  59. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +272 -0
  60. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +64 -0
  61. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +64 -0
  62. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +81 -1
  63. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +64 -0
  64. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +96 -0
  65. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +80 -0
  66. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +112 -0
  67. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +64 -0
  68. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +112 -0
  69. data/lib/google/cloud/compute/v1/regions/rest/client.rb +32 -0
  70. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +160 -0
  71. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +234 -0
  72. data/lib/google/cloud/compute/v1/resource_policies/rest/service_stub.rb +62 -0
  73. data/lib/google/cloud/compute/v1/routers/rest/client.rb +160 -0
  74. data/lib/google/cloud/compute/v1/routes/rest/client.rb +64 -0
  75. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +194 -2
  76. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +144 -0
  77. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +128 -0
  78. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +80 -0
  79. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +112 -0
  80. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +192 -0
  81. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +80 -0
  82. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +112 -0
  83. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +176 -0
  84. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +80 -0
  85. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +176 -0
  86. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +144 -0
  87. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +112 -0
  88. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +96 -0
  89. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +144 -0
  90. data/lib/google/cloud/compute/v1/version.rb +1 -1
  91. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +128 -0
  92. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +96 -0
  93. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +64 -0
  94. data/lib/google/cloud/compute/v1/zones/rest/client.rb +32 -0
  95. data/proto_docs/google/api/field_behavior.rb +14 -0
  96. data/proto_docs/google/cloud/compute/v1/compute.rb +56 -4
  97. metadata +5 -5
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
@@ -2982,7 +2982,7 @@ module Google
2982
2982
  # [Output Only] Creation timestamp in RFC3339 text format.
2983
2983
  # @!attribute [rw] custom_response_headers
2984
2984
  # @return [::Array<::String>]
2985
- # Headers that the HTTP/S load balancer should add to proxied responses.
2985
+ # Headers that the Application Load Balancer should add to proxied responses.
2986
2986
  # @!attribute [rw] description
2987
2987
  # @return [::String]
2988
2988
  # An optional textual description of the resource; provided by the client when the resource is created.
@@ -6899,6 +6899,9 @@ module Google
6899
6899
  # The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability.
6900
6900
  ANY = 64_972
6901
6901
 
6902
+ # The group creates all VM instances within a single zone. The zone is selected based on the present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads with heavy interprocess communication.
6903
+ ANY_SINGLE_ZONE = 61_100_880
6904
+
6902
6905
  # The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads.
6903
6906
  BALANCED = 468_409_608
6904
6907
 
@@ -12983,7 +12986,7 @@ module Google
12983
12986
  # Check the ReplacementMethod enum for the list of possible values.
12984
12987
  # @!attribute [rw] type
12985
12988
  # @return [::String]
12986
- # The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
12989
+ # The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
12987
12990
  # Check the Type enum for the list of possible values.
12988
12991
  class InstanceGroupManagerUpdatePolicy
12989
12992
  include ::Google::Protobuf::MessageExts
@@ -13032,14 +13035,14 @@ module Google
13032
13035
  SUBSTITUTE = 280_924_314
13033
13036
  end
13034
13037
 
13035
- # The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
13038
+ # The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
13036
13039
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
13037
13040
  # PROACTIVE
13038
13041
  module Type
13039
13042
  # A value indicating that the enum field is not set.
13040
13043
  UNDEFINED_TYPE = 0
13041
13044
 
13042
- # No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
13045
+ # MIG will apply new configurations to existing VMs only when you selectively target specific or all VMs to be updated.
13043
13046
  OPPORTUNISTIC = 429_530_089
13044
13047
  end
13045
13048
  end
@@ -21514,6 +21517,30 @@ module Google
21514
21517
  extend ::Google::Protobuf::MessageExts::ClassMethods
21515
21518
  end
21516
21519
 
21520
+ # A request message for ResourcePolicies.Patch. See the method description for details.
21521
+ # @!attribute [rw] project
21522
+ # @return [::String]
21523
+ # Project ID for this request.
21524
+ # @!attribute [rw] region
21525
+ # @return [::String]
21526
+ # Name of the region for this request.
21527
+ # @!attribute [rw] request_id
21528
+ # @return [::String]
21529
+ # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
21530
+ # @!attribute [rw] resource_policy
21531
+ # @return [::String]
21532
+ # Id of the resource policy to patch.
21533
+ # @!attribute [rw] resource_policy_resource
21534
+ # @return [::Google::Cloud::Compute::V1::ResourcePolicy]
21535
+ # The body resource for this request
21536
+ # @!attribute [rw] update_mask
21537
+ # @return [::String]
21538
+ # update_mask indicates fields to be updated as part of this request.
21539
+ class PatchResourcePolicyRequest
21540
+ include ::Google::Protobuf::MessageExts
21541
+ extend ::Google::Protobuf::MessageExts::ClassMethods
21542
+ end
21543
+
21517
21544
  # A request message for Routers.Patch. See the method description for details.
21518
21545
  # @!attribute [rw] project
21519
21546
  # @return [::String]
@@ -22751,6 +22778,9 @@ module Google
22751
22778
  # @!attribute [rw] dimensions
22752
22779
  # @return [::Google::Protobuf::Map{::String => ::String}]
22753
22780
  # The map holding related quota dimensions.
22781
+ # @!attribute [rw] future_limit
22782
+ # @return [::Float]
22783
+ # Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
22754
22784
  # @!attribute [rw] limit
22755
22785
  # @return [::Float]
22756
22786
  # Current effective quota limit. The limit's unit depends on the quota type or metric.
@@ -22760,6 +22790,10 @@ module Google
22760
22790
  # @!attribute [rw] metric_name
22761
22791
  # @return [::String]
22762
22792
  # The Compute Engine quota metric name.
22793
+ # @!attribute [rw] rollout_status
22794
+ # @return [::String]
22795
+ # Rollout status of the future quota limit.
22796
+ # Check the RolloutStatus enum for the list of possible values.
22763
22797
  class QuotaExceededInfo
22764
22798
  include ::Google::Protobuf::MessageExts
22765
22799
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -22772,6 +22806,18 @@ module Google
22772
22806
  include ::Google::Protobuf::MessageExts
22773
22807
  extend ::Google::Protobuf::MessageExts::ClassMethods
22774
22808
  end
22809
+
22810
+ # Rollout status of the future quota limit.
22811
+ module RolloutStatus
22812
+ # A value indicating that the enum field is not set.
22813
+ UNDEFINED_ROLLOUT_STATUS = 0
22814
+
22815
+ # IN_PROGRESS - A rollout is in process which will change the limit value to future limit.
22816
+ IN_PROGRESS = 469_193_735
22817
+
22818
+ # ROLLOUT_STATUS_UNSPECIFIED - Rollout status is not specified. The default value.
22819
+ ROLLOUT_STATUS_UNSPECIFIED = 26_864_568
22820
+ end
22775
22821
  end
22776
22822
 
22777
22823
  # The parameters of the raw disk image.
@@ -25608,6 +25654,9 @@ module Google
25608
25654
  # @return [::String]
25609
25655
  # Specifies the termination action for the instance.
25610
25656
  # Check the InstanceTerminationAction enum for the list of possible values.
25657
+ # @!attribute [rw] local_ssd_recovery_timeout
25658
+ # @return [::Google::Cloud::Compute::V1::Duration]
25659
+ # Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
25611
25660
  # @!attribute [rw] location_hint
25612
25661
  # @return [::String]
25613
25662
  # An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.
@@ -26457,6 +26506,9 @@ module Google
26457
26506
  end
26458
26507
 
26459
26508
  # [Output Only] A connection connected to this service attachment.
26509
+ # @!attribute [rw] consumer_network
26510
+ # @return [::String]
26511
+ # The url of the consumer network.
26460
26512
  # @!attribute [rw] endpoint
26461
26513
  # @return [::String]
26462
26514
  # The url of a connected endpoint.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-compute-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-10 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.1
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -745,7 +745,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
745
745
  - !ruby/object:Gem::Version
746
746
  version: '0'
747
747
  requirements: []
748
- rubygems_version: 3.4.2
748
+ rubygems_version: 3.4.19
749
749
  signing_key:
750
750
  specification_version: 4
751
751
  summary: API Client library for the Google Cloud Compute V1 API