google-apis-compute_v1 0.116.0 → 0.117.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: 47984a654ef5bec6361a5eeb4063924438c748631711bc9d2374026f916993bc
4
- data.tar.gz: dc6f1f016fc302cf893986e2a5cfdaf6d5200c64ff657326c3e4239eb2df6112
3
+ metadata.gz: 324123d95753da8a2c521dd8ab5eb93bff283e194517deab60d22e7a463f8d89
4
+ data.tar.gz: 516ee46bc02854b8bbebee964b787a2ad65b4eb62ecd64699e6fbe2c7313f897
5
5
  SHA512:
6
- metadata.gz: 48d4b5d82f1e8fc22e10d9d529388ea9a3d0ca2b5f55701b4195e8fb9db7dd3993d9d05907aa2c22d160581342b75e26f58ef1f86482f349808d95bfe2791510
7
- data.tar.gz: 6cc539eb6e3c3614c4cc10e4bfafa78221db8a2a015bbc8fc0f4df97fe64b0c09d57100a9d23027b2a624a2350cdbd5f0caeaf375a653185c9f8050790cdb18c
6
+ metadata.gz: d92de895f02836d0a4227805641ea3faa55da26649017da66210998c1d456ef63eba24266cb92bb337888398abdae60c59e551678b0ab689de413b5dd32de797
7
+ data.tar.gz: 8f59b233e7ee4967f724ef0a05ce14a27acd1a35639cb433f41e7ab4df80e1dd1dbb2736b46bfcfc5732e23fa5ea4c6836aabb6be570127d6ead89fa1e00b25b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.117.0 (2025-03-23)
4
+
5
+ * Regenerated from discovery document revision 20250320
6
+
3
7
  ### v0.116.0 (2025-03-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20250302
@@ -2807,7 +2807,8 @@ module Google
2807
2807
  # the [Backend services overview](https://cloud.google.com/load-balancing/docs/
2808
2808
  # backend-service#backends). You must use the *fully-qualified* URL (starting
2809
2809
  # with https://www.googleapis.com/) to specify the instance group or NEG.
2810
- # Partial URLs are not supported.
2810
+ # Partial URLs are not supported. If haPolicy is specified, backends must refer
2811
+ # to NEG resources of type GCE_VM_IP.
2811
2812
  # Corresponds to the JSON property `group`
2812
2813
  # @return [String]
2813
2814
  attr_accessor :group
@@ -3537,13 +3538,35 @@ module Google
3537
3538
  # @return [String]
3538
3539
  attr_accessor :fingerprint
3539
3540
 
3541
+ # Configures self-managed High Availability (HA) for External and Internal
3542
+ # Protocol Forwarding. The backends of this regional backend service must only
3543
+ # specify zonal network endpoint groups (NEGs) of type GCE_VM_IP. When haPolicy
3544
+ # is set for an Internal Passthrough Network Load Balancer, the regional backend
3545
+ # service must set the network field. All zonal NEGs must belong to the same
3546
+ # network. However, individual NEGs can belong to different subnetworks of that
3547
+ # network. When haPolicy is specified, the set of attached network endpoints
3548
+ # across all backends comprise an High Availability domain from which one
3549
+ # endpoint is selected as the active endpoint (the leader) that receives all
3550
+ # traffic. haPolicy can be added only at backend service creation time. Once set
3551
+ # up, it cannot be deleted. Note that haPolicy is not for load balancing, and
3552
+ # therefore cannot be specified with sessionAffinity, connectionTrackingPolicy,
3553
+ # and failoverPolicy. haPolicy requires customers to be responsible for tracking
3554
+ # backend endpoint health and electing a leader among the healthy endpoints.
3555
+ # Therefore, haPolicy cannot be specified with healthChecks. haPolicy can only
3556
+ # be specified for External Passthrough Network Load Balancers and Internal
3557
+ # Passthrough Network Load Balancers.
3558
+ # Corresponds to the JSON property `haPolicy`
3559
+ # @return [Google::Apis::ComputeV1::BackendServiceHaPolicy]
3560
+ attr_accessor :ha_policy
3561
+
3540
3562
  # The list of URLs to the healthChecks, httpHealthChecks (legacy), or
3541
3563
  # httpsHealthChecks (legacy) resource for health checking this backend service.
3542
3564
  # Not all backend services support legacy health checks. See Load balancer guide.
3543
3565
  # Currently, at most one health check can be specified for each backend service.
3544
3566
  # Backend services with instance group or zonal NEG backends must have a health
3545
- # check. Backend services with internet or serverless NEG backends must not have
3546
- # a health check.
3567
+ # check unless haPolicy is specified. Backend services with internet or
3568
+ # serverless NEG backends must not have a health check. healthChecks[] cannot be
3569
+ # specified with haPolicy.
3547
3570
  # Corresponds to the JSON property `healthChecks`
3548
3571
  # @return [Array<String>]
3549
3572
  attr_accessor :health_checks
@@ -3631,6 +3654,7 @@ module Google
3631
3654
  # default value for localityLbPolicy is MAGLEV. Only ROUND_ROBIN and RING_HASH
3632
3655
  # are supported when the backend service is referenced by a URL map that is
3633
3656
  # bound to target gRPC proxy that has validateForProxyless field set to true.
3657
+ # localityLbPolicy cannot be specified with haPolicy.
3634
3658
  # Corresponds to the JSON property `localityLbPolicy`
3635
3659
  # @return [String]
3636
3660
  attr_accessor :locality_lb_policy
@@ -3665,8 +3689,11 @@ module Google
3665
3689
  # @return [String]
3666
3690
  attr_accessor :name
3667
3691
 
3668
- # The URL of the network to which this backend service belongs. This field can
3669
- # only be specified when the load balancing scheme is set to INTERNAL.
3692
+ # The URL of the network to which this backend service belongs. This field must
3693
+ # be set for Internal Passthrough Network Load Balancers when the haPolicy is
3694
+ # enabled, and for External Passthrough Network Load Balancers when the haPolicy
3695
+ # fastIpMove is enabled. This field can only be specified when the load
3696
+ # balancing scheme is set to INTERNAL.
3670
3697
  # Corresponds to the JSON property `network`
3671
3698
  # @return [String]
3672
3699
  attr_accessor :network
@@ -3746,7 +3773,8 @@ module Google
3746
3773
  # HEADER_FIELD are supported when the backend service is referenced by a URL map
3747
3774
  # that is bound to target gRPC proxy that has validateForProxyless field set to
3748
3775
  # true. For more details, see: [Session Affinity](https://cloud.google.com/load-
3749
- # balancing/docs/backend-service#session_affinity).
3776
+ # balancing/docs/backend-service#session_affinity). sessionAffinity cannot be
3777
+ # specified with haPolicy.
3750
3778
  # Corresponds to the JSON property `sessionAffinity`
3751
3779
  # @return [String]
3752
3780
  attr_accessor :session_affinity
@@ -3803,6 +3831,7 @@ module Google
3803
3831
  @enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
3804
3832
  @failover_policy = args[:failover_policy] if args.key?(:failover_policy)
3805
3833
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
3834
+ @ha_policy = args[:ha_policy] if args.key?(:ha_policy)
3806
3835
  @health_checks = args[:health_checks] if args.key?(:health_checks)
3807
3836
  @iap = args[:iap] if args.key?(:iap)
3808
3837
  @id = args[:id] if args.key?(:id)
@@ -4354,6 +4383,70 @@ module Google
4354
4383
  end
4355
4384
  end
4356
4385
 
4386
+ #
4387
+ class BackendServiceHaPolicy
4388
+ include Google::Apis::Core::Hashable
4389
+
4390
+ # Specifies whether fast IP move is enabled, and if so, the mechanism to achieve
4391
+ # it. Supported values are: - DISABLED: Fast IP Move is disabled. You can only
4392
+ # use the haPolicy.leader API to update the leader. - >GARP_RA: Provides a
4393
+ # method to very quickly define a new network endpoint as the leader. This
4394
+ # method is faster than updating the leader using the haPolicy.leader API. Fast
4395
+ # IP move works as follows: The VM hosting the network endpoint that should
4396
+ # become the new leader sends either a Gratuitous ARP (GARP) packet (IPv4) or an
4397
+ # ICMPv6 Router Advertisement(RA) packet (IPv6). Google Cloud immediately but
4398
+ # temporarily associates the forwarding rule IP address with that VM, and both
4399
+ # new and in-flight packets are quickly delivered to that VM. Note the important
4400
+ # properties of the Fast IP Move functionality: - The GARP/RA-initiated re-
4401
+ # routing stays active for approximately 20 minutes. After triggering fast
4402
+ # failover, you must also appropriately set the haPolicy.leader. - The new
4403
+ # leader instance should continue to send GARP/RA packets periodically every 10
4404
+ # seconds until at least 10 minutes after updating the haPolicy.leader (but stop
4405
+ # immediately if it is no longer the leader). - After triggering a fast failover,
4406
+ # we recommend that you wait at least 3 seconds before sending another GARP/RA
4407
+ # packet from a different VM instance to avoid race conditions. - Don't send
4408
+ # GARP/RA packets from different VM instances at the same time. If multiple
4409
+ # instances continue to send GARP/RA packets, traffic might be routed to
4410
+ # different destinations in an alternating order. This condition ceases when a
4411
+ # single instance issues a GARP/RA packet. - The GARP/RA request always takes
4412
+ # priority over the leader API. Using the haPolicy.leader API to change the
4413
+ # leader to a different instance will have no effect until the GARP/RA request
4414
+ # becomes inactive. - The GARP/RA packets should follow the GARP/RA Packet
4415
+ # Specifications.. - When multiple forwarding rules refer to a regional backend
4416
+ # service, you need only send a GARP or RA packet for a single forwarding rule
4417
+ # virtual IP. The virtual IPs for all forwarding rules targeting the same
4418
+ # backend service will also be moved to the sender of the GARP or RA packet. The
4419
+ # following are the Fast IP Move limitations (that is, when fastIPMove is not
4420
+ # DISABLED): - Multiple forwarding rules cannot use the same IP address if one
4421
+ # of them refers to a regional backend service with fastIPMove. - The regional
4422
+ # backend service must set the network field, and all NEGs must belong to that
4423
+ # network. However, individual NEGs can belong to different subnetworks of that
4424
+ # network. - The maximum number of network endpoints across all backends of a
4425
+ # backend service with fastIPMove is 64. - The maximum number of backend
4426
+ # services with fastIPMove that can have the same network endpoint attached to
4427
+ # one of its backends is 64. - The maximum number of backend services with
4428
+ # fastIPMove in a VPC in a region is 64. - The network endpoints that are
4429
+ # attached to a backend of a backend service with fastIPMove cannot resolve to
4430
+ # C3 machines. - Traffic directed to the leader by a static route next hop will
4431
+ # not be redirected to a new leader by fast failover. Such traffic will only be
4432
+ # redirected once an haPolicy.leader update has taken effect. Only traffic to
4433
+ # the forwarding rule's virtual IP will be redirected to a new leader by fast
4434
+ # failover. haPolicy.fastIPMove can be set only at backend service creation time.
4435
+ # Once set, it cannot be updated. By default, fastIpMove is set to DISABLED.
4436
+ # Corresponds to the JSON property `fastIPMove`
4437
+ # @return [String]
4438
+ attr_accessor :fast_ip_move
4439
+
4440
+ def initialize(**args)
4441
+ update!(**args)
4442
+ end
4443
+
4444
+ # Update properties of this object
4445
+ def update!(**args)
4446
+ @fast_ip_move = args[:fast_ip_move] if args.key?(:fast_ip_move)
4447
+ end
4448
+ end
4449
+
4357
4450
  # The HTTP cookie used for stateful session affinity.
4358
4451
  class BackendServiceHttpCookie
4359
4452
  include Google::Apis::Core::Hashable
@@ -19772,7 +19865,8 @@ module Google
19772
19865
 
19773
19866
  # Type of link requested, which can take one of the following values: -
19774
19867
  # LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics -
19775
- # LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this
19868
+ # LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. -
19869
+ # LINK_TYPE_ETHERNET_400G_LR4: A 400G Ethernet with LR4 optics. Note that this
19776
19870
  # field indicates the speed of each of the links in the bundle, not the speed of
19777
19871
  # the entire bundle.
19778
19872
  # Corresponds to the JSON property `linkType`
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeV1
18
18
  # Version of the google-apis-compute_v1 gem
19
- GEM_VERSION = "0.116.0"
19
+ GEM_VERSION = "0.117.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
@@ -484,6 +484,12 @@ module Google
484
484
  include Google::Apis::Core::JsonObjectSupport
485
485
  end
486
486
 
487
+ class BackendServiceHaPolicy
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
487
493
  class BackendServiceHttpCookie
488
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
495
 
@@ -7557,6 +7563,8 @@ module Google
7557
7563
  property :failover_policy, as: 'failoverPolicy', class: Google::Apis::ComputeV1::BackendServiceFailoverPolicy, decorator: Google::Apis::ComputeV1::BackendServiceFailoverPolicy::Representation
7558
7564
 
7559
7565
  property :fingerprint, :base64 => true, as: 'fingerprint'
7566
+ property :ha_policy, as: 'haPolicy', class: Google::Apis::ComputeV1::BackendServiceHaPolicy, decorator: Google::Apis::ComputeV1::BackendServiceHaPolicy::Representation
7567
+
7560
7568
  collection :health_checks, as: 'healthChecks'
7561
7569
  property :iap, as: 'iap', class: Google::Apis::ComputeV1::BackendServiceIap, decorator: Google::Apis::ComputeV1::BackendServiceIap::Representation
7562
7570
 
@@ -7703,6 +7711,13 @@ module Google
7703
7711
  end
7704
7712
  end
7705
7713
 
7714
+ class BackendServiceHaPolicy
7715
+ # @private
7716
+ class Representation < Google::Apis::Core::JsonRepresentation
7717
+ property :fast_ip_move, as: 'fastIPMove'
7718
+ end
7719
+ end
7720
+
7706
7721
  class BackendServiceHttpCookie
7707
7722
  # @private
7708
7723
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.116.0
4
+ version: 0.117.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.116.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.117.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
62
62
  rdoc_options: []
63
63
  require_paths: