@@ -2981,6 +2981,24 @@ class Backend
2981
2981
# @return [Fixnum]
2982
2982
attr_accessor :max_connections_per_instance
2983
2983
2984
+ # Defines a maximum number of in-flight requests for the whole NEG or instance
2985
+ # group. Not available if backend's balancingMode is RATE or CONNECTION.
2986
+ # Corresponds to the JSON property `maxInFlightRequests`
2987
+ # @return [Fixnum]
2988
+ attr_accessor :max_in_flight_requests
2989
+
2990
+ # Defines a maximum number of in-flight requests for a single endpoint. Not
2991
+ # available if backend's balancingMode is RATE or CONNECTION.
2992
+ # Corresponds to the JSON property `maxInFlightRequestsPerEndpoint`
2993
+ # @return [Fixnum]
2994
+ attr_accessor :max_in_flight_requests_per_endpoint
2995
+
2996
+ # Defines a maximum number of in-flight requests for a single VM. Not available
2997
+ # if backend's balancingMode is RATE or CONNECTION.
2998
+ # Corresponds to the JSON property `maxInFlightRequestsPerInstance`
2999
+ # @return [Fixnum]
3000
+ attr_accessor :max_in_flight_requests_per_instance
3001
+
2984
3002
# Defines a maximum number of HTTP requests per second (RPS). For usage
2985
3003
# guidelines, see Rate balancing mode and Utilization balancing mode. Not
2986
3004
# available if the backend's balancingMode is CONNECTION.
@@ -3019,6 +3037,11 @@ class Backend
3019
3037
# @return [String]
3020
3038
attr_accessor :preference
3021
3039
3040
+ #
3041
+ # Corresponds to the JSON property `trafficDuration`
3042
+ # @return [String]
3043
+ attr_accessor :traffic_duration
3044
+
3022
3045
def initialize(**args)
3023
3046
update!(**args)
3024
3047
end
@@ -3034,11 +3057,15 @@ def update!(**args)
3034
3057
@max_connections = args[:max_connections] if args.key?(:max_connections)
3035
3058
@max_connections_per_endpoint = args[:max_connections_per_endpoint] if args.key?(:max_connections_per_endpoint)
3036
3059
@max_connections_per_instance = args[:max_connections_per_instance] if args.key?(:max_connections_per_instance)
3060
+ @max_in_flight_requests = args[:max_in_flight_requests] if args.key?(:max_in_flight_requests)
3061
+ @max_in_flight_requests_per_endpoint = args[:max_in_flight_requests_per_endpoint] if args.key?(:max_in_flight_requests_per_endpoint)
3062
+ @max_in_flight_requests_per_instance = args[:max_in_flight_requests_per_instance] if args.key?(:max_in_flight_requests_per_instance)
3037
3063
@max_rate = args[:max_rate] if args.key?(:max_rate)
3038
3064
@max_rate_per_endpoint = args[:max_rate_per_endpoint] if args.key?(:max_rate_per_endpoint)
3039
3065
@max_rate_per_instance = args[:max_rate_per_instance] if args.key?(:max_rate_per_instance)
3040
3066
@max_utilization = args[:max_utilization] if args.key?(:max_utilization)
3041
3067
@preference = args[:preference] if args.key?(:preference)
3068
+ @traffic_duration = args[:traffic_duration] if args.key?(:traffic_duration)
3042
3069
end
3043
3070
end
3044
3071
@@ -28417,6 +28444,12 @@ class ManagedInstance
28417
28444
# @return [Google::Apis::ComputeBeta::ManagedInstancePropertiesFromFlexibilityPolicy]
28418
28445
attr_accessor :properties_from_flexibility_policy
28419
28446
28447
+ # [Output Only] Information about the termination timestamp of the instance, if
28448
+ # applicable.
28449
+ # Corresponds to the JSON property `scheduling`
28450
+ # @return [Google::Apis::ComputeBeta::ManagedInstanceScheduling]
28451
+ attr_accessor :scheduling
28452
+
28420
28453
# [Output Only] The eventual status of the instance. The instance group manager
28421
28454
# will not be identified as stable till each managed instance reaches its
28422
28455
# targetStatus.
@@ -28446,6 +28479,7 @@ def update!(**args)
28446
28479
@preserved_state_from_config = args[:preserved_state_from_config] if args.key?(:preserved_state_from_config)
28447
28480
@preserved_state_from_policy = args[:preserved_state_from_policy] if args.key?(:preserved_state_from_policy)
28448
28481
@properties_from_flexibility_policy = args[:properties_from_flexibility_policy] if args.key?(:properties_from_flexibility_policy)
28482
+ @scheduling = args[:scheduling] if args.key?(:scheduling)
28449
28483
@target_status = args[:target_status] if args.key?(:target_status)
28450
28484
@version = args[:version] if args.key?(:version)
28451
28485
end
@@ -28651,6 +28685,26 @@ def update!(**args)
28651
28685
end
28652
28686
end
28653
28687
28688
+ #
28689
+ class ManagedInstanceScheduling
28690
+ include Google::Apis::Core::Hashable
28691
+
28692
+ # [Output Only] The timestamp at which the managed instance will be terminated.
28693
+ # This is in RFC3339 text format.
28694
+ # Corresponds to the JSON property `terminationTimestamp`
28695
+ # @return [String]
28696
+ attr_accessor :termination_timestamp
28697
+
28698
+ def initialize(**args)
28699
+ update!(**args)
28700
+ end
28701
+
28702
+ # Update properties of this object
28703
+ def update!(**args)
28704
+ @termination_timestamp = args[:termination_timestamp] if args.key?(:termination_timestamp)
28705
+ end
28706
+ end
28707
+
28654
28708
#
28655
28709
class ManagedInstanceVersion
28656
28710
include Google::Apis::Core::Hashable
@@ -40197,6 +40251,12 @@ def update!(**args)
40197
40251
class Reservation
40198
40252
include Google::Apis::Core::Hashable
40199
40253
40254
+ # Advance control for cluster management, applicable only to DENSE deployment
40255
+ # type reservations.
40256
+ # Corresponds to the JSON property `advancedDeploymentControl`
40257
+ # @return [Google::Apis::ComputeBeta::ReservationAdvancedDeploymentControl]
40258
+ attr_accessor :advanced_deployment_control
40259
+
40200
40260
# This reservation type is specified by total resource amounts (e.g. total count
40201
40261
# of CPUs) and can account for multiple instance SKUs. In other words, one can
40202
40262
# create instances of varying shapes against this reservation.
@@ -40360,6 +40420,7 @@ def initialize(**args)
40360
40420
40361
40421
# Update properties of this object
40362
40422
def update!(**args)
40423
+ @advanced_deployment_control = args[:advanced_deployment_control] if args.key?(:advanced_deployment_control)
40363
40424
@aggregate_reservation = args[:aggregate_reservation] if args.key?(:aggregate_reservation)
40364
40425
@commitment = args[:commitment] if args.key?(:commitment)
40365
40426
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@@ -40388,6 +40449,26 @@ def update!(**args)
40388
40449
end
40389
40450
end
40390
40451
40452
+ # Advance control for cluster management, applicable only to DENSE deployment
40453
+ # type reservations.
40454
+ class ReservationAdvancedDeploymentControl
40455
+ include Google::Apis::Core::Hashable
40456
+
40457
+ # Indicates chosen reservation operational mode for the reservation.
40458
+ # Corresponds to the JSON property `reservationOperationalMode`
40459
+ # @return [String]
40460
+ attr_accessor :reservation_operational_mode
40461
+
40462
+ def initialize(**args)
40463
+ update!(**args)
40464
+ end
40465
+
40466
+ # Update properties of this object
40467
+ def update!(**args)
40468
+ @reservation_operational_mode = args[:reservation_operational_mode] if args.key?(:reservation_operational_mode)
40469
+ end
40470
+ end
40471
+
40391
40472
# Specifies the reservations that this instance can consume from.
40392
40473
class ReservationAffinity
40393
40474
include Google::Apis::Core::Hashable
@@ -42463,17 +42544,18 @@ def update!(**args)
42463
42544
class ResourcePolicyWorkloadPolicy
42464
42545
include Google::Apis::Core::Hashable
42465
42546
42466
- #
42547
+ # Specifies the topology required to create a partition for VMs that have
42548
+ # interconnected GPUs.
42467
42549
# Corresponds to the JSON property `acceleratorTopology`
42468
42550
# @return [String]
42469
42551
attr_accessor :accelerator_topology
42470
42552
42471
- #
42553
+ # Specifies the maximum distance between instances.
42472
42554
# Corresponds to the JSON property `maxTopologyDistance`
42473
42555
# @return [String]
42474
42556
attr_accessor :max_topology_distance
42475
42557
42476
- #
42558
+ # Specifies the intent of the instance placement in the MIG.
42477
42559
# Corresponds to the JSON property `type`
42478
42560
# @return [String]
42479
42561
attr_accessor :type
0 commit comments