google-apis-compute_beta 0.111.0 → 0.112.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6aa6d3ffc4ebe0526ca79d827ba18a2e82546da9b5f4292d273acfaaf61da70
4
- data.tar.gz: c7a33b7b48ec1cc16fba0d9fecd0c3d14105e376f2301a9e6a8a926bf22097d8
3
+ metadata.gz: 590566b5df460eb98a628f43ab8b38483a1b57e89ddce52f789c8123be1379dc
4
+ data.tar.gz: e6d60916e939ef266dd11b8037401c86d77ff541b9b24fa6e742c73e964dcf3f
5
5
  SHA512:
6
- metadata.gz: 97bf7f81b86de1d3aeeca0ffa035514e55c4d1a256ed06c71cdaefdf2ff0c042c02c7e760bb5b5251ad61efe5ef07318b80cf3a12301ab0e9754d8f10cdd5bb3
7
- data.tar.gz: 224ebc2309defecd708efe161fdd6490b4907751f058d0c94d61799568bd14c706f0beb470a061ab7a7ab8c997cd6809c08be4c7e522d754c7dc31667487c0eb
6
+ metadata.gz: 34aadf3fd61e7cac18256e45ccdad509993372fb088c40a46690e397910a1875841df2afae3b8f9625ef15065c154c5d8a528dd37d1e3ac031d23f43d149d2a6
7
+ data.tar.gz: 3a367f7c711063d3153507109ce7768a381923f04e58821e923b1858acbd04c9659556628cef5f80ba288e96966915ab534c9c82594a654c23aeea4a4b2444cc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.112.0 (2025-03-23)
4
+
5
+ * Regenerated from discovery document revision 20250320
6
+
3
7
  ### v0.111.0 (2025-03-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20250302
@@ -2917,7 +2917,8 @@ module Google
2917
2917
  # the [Backend services overview](https://cloud.google.com/load-balancing/docs/
2918
2918
  # backend-service#backends). You must use the *fully-qualified* URL (starting
2919
2919
  # with https://www.googleapis.com/) to specify the instance group or NEG.
2920
- # Partial URLs are not supported.
2920
+ # Partial URLs are not supported. If haPolicy is specified, backends must refer
2921
+ # to NEG resources of type GCE_VM_IP.
2921
2922
  # Corresponds to the JSON property `group`
2922
2923
  # @return [String]
2923
2924
  attr_accessor :group
@@ -3805,13 +3806,35 @@ module Google
3805
3806
  # @return [String]
3806
3807
  attr_accessor :fingerprint
3807
3808
 
3809
+ # Configures self-managed High Availability (HA) for External and Internal
3810
+ # Protocol Forwarding. The backends of this regional backend service must only
3811
+ # specify zonal network endpoint groups (NEGs) of type GCE_VM_IP. When haPolicy
3812
+ # is set for an Internal Passthrough Network Load Balancer, the regional backend
3813
+ # service must set the network field. All zonal NEGs must belong to the same
3814
+ # network. However, individual NEGs can belong to different subnetworks of that
3815
+ # network. When haPolicy is specified, the set of attached network endpoints
3816
+ # across all backends comprise an High Availability domain from which one
3817
+ # endpoint is selected as the active endpoint (the leader) that receives all
3818
+ # traffic. haPolicy can be added only at backend service creation time. Once set
3819
+ # up, it cannot be deleted. Note that haPolicy is not for load balancing, and
3820
+ # therefore cannot be specified with sessionAffinity, connectionTrackingPolicy,
3821
+ # and failoverPolicy. haPolicy requires customers to be responsible for tracking
3822
+ # backend endpoint health and electing a leader among the healthy endpoints.
3823
+ # Therefore, haPolicy cannot be specified with healthChecks. haPolicy can only
3824
+ # be specified for External Passthrough Network Load Balancers and Internal
3825
+ # Passthrough Network Load Balancers.
3826
+ # Corresponds to the JSON property `haPolicy`
3827
+ # @return [Google::Apis::ComputeBeta::BackendServiceHaPolicy]
3828
+ attr_accessor :ha_policy
3829
+
3808
3830
  # The list of URLs to the healthChecks, httpHealthChecks (legacy), or
3809
3831
  # httpsHealthChecks (legacy) resource for health checking this backend service.
3810
3832
  # Not all backend services support legacy health checks. See Load balancer guide.
3811
3833
  # Currently, at most one health check can be specified for each backend service.
3812
3834
  # Backend services with instance group or zonal NEG backends must have a health
3813
- # check. Backend services with internet or serverless NEG backends must not have
3814
- # a health check.
3835
+ # check unless haPolicy is specified. Backend services with internet or
3836
+ # serverless NEG backends must not have a health check. healthChecks[] cannot be
3837
+ # specified with haPolicy.
3815
3838
  # Corresponds to the JSON property `healthChecks`
3816
3839
  # @return [Array<String>]
3817
3840
  attr_accessor :health_checks
@@ -3899,6 +3922,7 @@ module Google
3899
3922
  # default value for localityLbPolicy is MAGLEV. Only ROUND_ROBIN and RING_HASH
3900
3923
  # are supported when the backend service is referenced by a URL map that is
3901
3924
  # bound to target gRPC proxy that has validateForProxyless field set to true.
3925
+ # localityLbPolicy cannot be specified with haPolicy.
3902
3926
  # Corresponds to the JSON property `localityLbPolicy`
3903
3927
  # @return [String]
3904
3928
  attr_accessor :locality_lb_policy
@@ -3933,14 +3957,17 @@ module Google
3933
3957
  # @return [String]
3934
3958
  attr_accessor :name
3935
3959
 
3936
- # The URL of the network to which this backend service belongs. This field can
3937
- # only be specified when the load balancing scheme is set to INTERNAL.
3960
+ # The URL of the network to which this backend service belongs. This field must
3961
+ # be set for Internal Passthrough Network Load Balancers when the haPolicy is
3962
+ # enabled, and for External Passthrough Network Load Balancers when the haPolicy
3963
+ # fastIpMove is enabled. This field can only be specified when the load
3964
+ # balancing scheme is set to INTERNAL.
3938
3965
  # Corresponds to the JSON property `network`
3939
3966
  # @return [String]
3940
3967
  attr_accessor :network
3941
3968
 
3942
3969
  # Configures traffic steering properties of internal passthrough Network Load
3943
- # Balancers.
3970
+ # Balancers. networkPassThroughLbTrafficPolicy cannot be specified with haPolicy.
3944
3971
  # Corresponds to the JSON property `networkPassThroughLbTrafficPolicy`
3945
3972
  # @return [Google::Apis::ComputeBeta::BackendServiceNetworkPassThroughLbTrafficPolicy]
3946
3973
  attr_accessor :network_pass_through_lb_traffic_policy
@@ -4020,7 +4047,8 @@ module Google
4020
4047
  # HEADER_FIELD are supported when the backend service is referenced by a URL map
4021
4048
  # that is bound to target gRPC proxy that has validateForProxyless field set to
4022
4049
  # true. For more details, see: [Session Affinity](https://cloud.google.com/load-
4023
- # balancing/docs/backend-service#session_affinity).
4050
+ # balancing/docs/backend-service#session_affinity). sessionAffinity cannot be
4051
+ # specified with haPolicy.
4024
4052
  # Corresponds to the JSON property `sessionAffinity`
4025
4053
  # @return [String]
4026
4054
  attr_accessor :session_affinity
@@ -4086,6 +4114,7 @@ module Google
4086
4114
  @external_managed_migration_testing_percentage = args[:external_managed_migration_testing_percentage] if args.key?(:external_managed_migration_testing_percentage)
4087
4115
  @failover_policy = args[:failover_policy] if args.key?(:failover_policy)
4088
4116
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
4117
+ @ha_policy = args[:ha_policy] if args.key?(:ha_policy)
4089
4118
  @health_checks = args[:health_checks] if args.key?(:health_checks)
4090
4119
  @iap = args[:iap] if args.key?(:iap)
4091
4120
  @id = args[:id] if args.key?(:id)
@@ -4680,6 +4709,70 @@ module Google
4680
4709
  end
4681
4710
  end
4682
4711
 
4712
+ #
4713
+ class BackendServiceHaPolicy
4714
+ include Google::Apis::Core::Hashable
4715
+
4716
+ # Specifies whether fast IP move is enabled, and if so, the mechanism to achieve
4717
+ # it. Supported values are: - DISABLED: Fast IP Move is disabled. You can only
4718
+ # use the haPolicy.leader API to update the leader. - >GARP_RA: Provides a
4719
+ # method to very quickly define a new network endpoint as the leader. This
4720
+ # method is faster than updating the leader using the haPolicy.leader API. Fast
4721
+ # IP move works as follows: The VM hosting the network endpoint that should
4722
+ # become the new leader sends either a Gratuitous ARP (GARP) packet (IPv4) or an
4723
+ # ICMPv6 Router Advertisement(RA) packet (IPv6). Google Cloud immediately but
4724
+ # temporarily associates the forwarding rule IP address with that VM, and both
4725
+ # new and in-flight packets are quickly delivered to that VM. Note the important
4726
+ # properties of the Fast IP Move functionality: - The GARP/RA-initiated re-
4727
+ # routing stays active for approximately 20 minutes. After triggering fast
4728
+ # failover, you must also appropriately set the haPolicy.leader. - The new
4729
+ # leader instance should continue to send GARP/RA packets periodically every 10
4730
+ # seconds until at least 10 minutes after updating the haPolicy.leader (but stop
4731
+ # immediately if it is no longer the leader). - After triggering a fast failover,
4732
+ # we recommend that you wait at least 3 seconds before sending another GARP/RA
4733
+ # packet from a different VM instance to avoid race conditions. - Don't send
4734
+ # GARP/RA packets from different VM instances at the same time. If multiple
4735
+ # instances continue to send GARP/RA packets, traffic might be routed to
4736
+ # different destinations in an alternating order. This condition ceases when a
4737
+ # single instance issues a GARP/RA packet. - The GARP/RA request always takes
4738
+ # priority over the leader API. Using the haPolicy.leader API to change the
4739
+ # leader to a different instance will have no effect until the GARP/RA request
4740
+ # becomes inactive. - The GARP/RA packets should follow the GARP/RA Packet
4741
+ # Specifications.. - When multiple forwarding rules refer to a regional backend
4742
+ # service, you need only send a GARP or RA packet for a single forwarding rule
4743
+ # virtual IP. The virtual IPs for all forwarding rules targeting the same
4744
+ # backend service will also be moved to the sender of the GARP or RA packet. The
4745
+ # following are the Fast IP Move limitations (that is, when fastIPMove is not
4746
+ # DISABLED): - Multiple forwarding rules cannot use the same IP address if one
4747
+ # of them refers to a regional backend service with fastIPMove. - The regional
4748
+ # backend service must set the network field, and all NEGs must belong to that
4749
+ # network. However, individual NEGs can belong to different subnetworks of that
4750
+ # network. - The maximum number of network endpoints across all backends of a
4751
+ # backend service with fastIPMove is 64. - The maximum number of backend
4752
+ # services with fastIPMove that can have the same network endpoint attached to
4753
+ # one of its backends is 64. - The maximum number of backend services with
4754
+ # fastIPMove in a VPC in a region is 64. - The network endpoints that are
4755
+ # attached to a backend of a backend service with fastIPMove cannot resolve to
4756
+ # C3 machines. - Traffic directed to the leader by a static route next hop will
4757
+ # not be redirected to a new leader by fast failover. Such traffic will only be
4758
+ # redirected once an haPolicy.leader update has taken effect. Only traffic to
4759
+ # the forwarding rule's virtual IP will be redirected to a new leader by fast
4760
+ # failover. haPolicy.fastIPMove can be set only at backend service creation time.
4761
+ # Once set, it cannot be updated. By default, fastIpMove is set to DISABLED.
4762
+ # Corresponds to the JSON property `fastIPMove`
4763
+ # @return [String]
4764
+ attr_accessor :fast_ip_move
4765
+
4766
+ def initialize(**args)
4767
+ update!(**args)
4768
+ end
4769
+
4770
+ # Update properties of this object
4771
+ def update!(**args)
4772
+ @fast_ip_move = args[:fast_ip_move] if args.key?(:fast_ip_move)
4773
+ end
4774
+ end
4775
+
4683
4776
  # The HTTP cookie used for stateful session affinity.
4684
4777
  class BackendServiceHttpCookie
4685
4778
  include Google::Apis::Core::Hashable
@@ -22400,7 +22493,8 @@ module Google
22400
22493
 
22401
22494
  # Type of link requested, which can take one of the following values: -
22402
22495
  # LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics -
22403
- # LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this
22496
+ # LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. -
22497
+ # LINK_TYPE_ETHERNET_400G_LR4: A 400G Ethernet with LR4 optics. Note that this
22404
22498
  # field indicates the speed of each of the links in the bundle, not the speed of
22405
22499
  # the entire bundle.
22406
22500
  # Corresponds to the JSON property `linkType`
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.111.0"
19
+ GEM_VERSION = "0.112.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250302"
25
+ REVISION = "20250320"
26
26
  end
27
27
  end
28
28
  end
@@ -520,6 +520,12 @@ module Google
520
520
  include Google::Apis::Core::JsonObjectSupport
521
521
  end
522
522
 
523
+ class BackendServiceHaPolicy
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
523
529
  class BackendServiceHttpCookie
524
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
531
 
@@ -8366,6 +8372,8 @@ module Google
8366
8372
  property :failover_policy, as: 'failoverPolicy', class: Google::Apis::ComputeBeta::BackendServiceFailoverPolicy, decorator: Google::Apis::ComputeBeta::BackendServiceFailoverPolicy::Representation
8367
8373
 
8368
8374
  property :fingerprint, :base64 => true, as: 'fingerprint'
8375
+ property :ha_policy, as: 'haPolicy', class: Google::Apis::ComputeBeta::BackendServiceHaPolicy, decorator: Google::Apis::ComputeBeta::BackendServiceHaPolicy::Representation
8376
+
8369
8377
  collection :health_checks, as: 'healthChecks'
8370
8378
  property :iap, as: 'iap', class: Google::Apis::ComputeBeta::BackendServiceIap, decorator: Google::Apis::ComputeBeta::BackendServiceIap::Representation
8371
8379
 
@@ -8531,6 +8539,13 @@ module Google
8531
8539
  end
8532
8540
  end
8533
8541
 
8542
+ class BackendServiceHaPolicy
8543
+ # @private
8544
+ class Representation < Google::Apis::Core::JsonRepresentation
8545
+ property :fast_ip_move, as: 'fastIPMove'
8546
+ end
8547
+ end
8548
+
8534
8549
  class BackendServiceHttpCookie
8535
8550
  # @private
8536
8551
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.111.0
4
+ version: 0.112.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-16 00:00:00.000000000 Z
10
+ date: 2025-03-23 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.111.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.112.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
62
62
  rdoc_options: []
63
63
  require_paths: