@@ -47,6 +47,43 @@ public final class AutoscalingConfigOverrides extends com.google.api.client.json
4747 @ com .google .api .client .util .Key
4848 private java .lang .Integer autoscalingTargetHighPriorityCpuUtilizationPercent ;
4949
50+ /**
51+ * Optional. If specified, overrides the autoscaling target `total_cpu_utilization_percent` in the
52+ * top-level autoscaling configuration for the selected replicas.
53+ * The value may be {@code null}.
54+ */
55+ @ com .google .api .client .util .Key
56+ private java .lang .Integer autoscalingTargetTotalCpuUtilizationPercent ;
57+
58+ /**
59+ * Optional. If true, disables high priority CPU autoscaling for the selected replicas and ignores
60+ * high_priority_cpu_utilization_percent in the top-level autoscaling configuration. When setting
61+ * this field to true, setting autoscaling_target_high_priority_cpu_utilization_percent field to a
62+ * non-zero value for the same replica is not supported. If false, the
63+ * autoscaling_target_high_priority_cpu_utilization_percent field in the replica will be used if
64+ * set to a non-zero value. Otherwise, the high_priority_cpu_utilization_percent field in the top-
65+ * level autoscaling configuration will be used. Setting both
66+ * disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same
67+ * replica is not supported.
68+ * The value may be {@code null}.
69+ */
70+ @ com .google .api .client .util .Key
71+ private java .lang .Boolean disableHighPriorityCpuAutoscaling ;
72+
73+ /**
74+ * Optional. If true, disables total CPU autoscaling for the selected replicas and ignores
75+ * total_cpu_utilization_percent in the top-level autoscaling configuration. When setting this
76+ * field to true, setting autoscaling_target_total_cpu_utilization_percent field to a non-zero
77+ * value for the same replica is not supported. If false, the
78+ * autoscaling_target_total_cpu_utilization_percent field in the replica will be used if set to a
79+ * non-zero value. Otherwise, the total_cpu_utilization_percent field in the top-level autoscaling
80+ * configuration will be used. Setting both disable_high_priority_cpu_autoscaling and
81+ * disable_total_cpu_autoscaling to true for the same replica is not supported.
82+ * The value may be {@code null}.
83+ */
84+ @ com .google .api .client .util .Key
85+ private java .lang .Boolean disableTotalCpuAutoscaling ;
86+
5087 /**
5188 * Optional. If specified, overrides the min/max limit in the top-level autoscaling configuration
5289 * for the selected replicas.
@@ -85,6 +122,89 @@ public AutoscalingConfigOverrides setAutoscalingTargetHighPriorityCpuUtilization
85122 return this ;
86123 }
87124
125+ /**
126+ * Optional. If specified, overrides the autoscaling target `total_cpu_utilization_percent` in the
127+ * top-level autoscaling configuration for the selected replicas.
128+ * @return value or {@code null} for none
129+ */
130+ public java .lang .Integer getAutoscalingTargetTotalCpuUtilizationPercent () {
131+ return autoscalingTargetTotalCpuUtilizationPercent ;
132+ }
133+
134+ /**
135+ * Optional. If specified, overrides the autoscaling target `total_cpu_utilization_percent` in the
136+ * top-level autoscaling configuration for the selected replicas.
137+ * @param autoscalingTargetTotalCpuUtilizationPercent autoscalingTargetTotalCpuUtilizationPercent or {@code null} for none
138+ */
139+ public AutoscalingConfigOverrides setAutoscalingTargetTotalCpuUtilizationPercent (java .lang .Integer autoscalingTargetTotalCpuUtilizationPercent ) {
140+ this .autoscalingTargetTotalCpuUtilizationPercent = autoscalingTargetTotalCpuUtilizationPercent ;
141+ return this ;
142+ }
143+
144+ /**
145+ * Optional. If true, disables high priority CPU autoscaling for the selected replicas and ignores
146+ * high_priority_cpu_utilization_percent in the top-level autoscaling configuration. When setting
147+ * this field to true, setting autoscaling_target_high_priority_cpu_utilization_percent field to a
148+ * non-zero value for the same replica is not supported. If false, the
149+ * autoscaling_target_high_priority_cpu_utilization_percent field in the replica will be used if
150+ * set to a non-zero value. Otherwise, the high_priority_cpu_utilization_percent field in the top-
151+ * level autoscaling configuration will be used. Setting both
152+ * disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same
153+ * replica is not supported.
154+ * @return value or {@code null} for none
155+ */
156+ public java .lang .Boolean getDisableHighPriorityCpuAutoscaling () {
157+ return disableHighPriorityCpuAutoscaling ;
158+ }
159+
160+ /**
161+ * Optional. If true, disables high priority CPU autoscaling for the selected replicas and ignores
162+ * high_priority_cpu_utilization_percent in the top-level autoscaling configuration. When setting
163+ * this field to true, setting autoscaling_target_high_priority_cpu_utilization_percent field to a
164+ * non-zero value for the same replica is not supported. If false, the
165+ * autoscaling_target_high_priority_cpu_utilization_percent field in the replica will be used if
166+ * set to a non-zero value. Otherwise, the high_priority_cpu_utilization_percent field in the top-
167+ * level autoscaling configuration will be used. Setting both
168+ * disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same
169+ * replica is not supported.
170+ * @param disableHighPriorityCpuAutoscaling disableHighPriorityCpuAutoscaling or {@code null} for none
171+ */
172+ public AutoscalingConfigOverrides setDisableHighPriorityCpuAutoscaling (java .lang .Boolean disableHighPriorityCpuAutoscaling ) {
173+ this .disableHighPriorityCpuAutoscaling = disableHighPriorityCpuAutoscaling ;
174+ return this ;
175+ }
176+
177+ /**
178+ * Optional. If true, disables total CPU autoscaling for the selected replicas and ignores
179+ * total_cpu_utilization_percent in the top-level autoscaling configuration. When setting this
180+ * field to true, setting autoscaling_target_total_cpu_utilization_percent field to a non-zero
181+ * value for the same replica is not supported. If false, the
182+ * autoscaling_target_total_cpu_utilization_percent field in the replica will be used if set to a
183+ * non-zero value. Otherwise, the total_cpu_utilization_percent field in the top-level autoscaling
184+ * configuration will be used. Setting both disable_high_priority_cpu_autoscaling and
185+ * disable_total_cpu_autoscaling to true for the same replica is not supported.
186+ * @return value or {@code null} for none
187+ */
188+ public java .lang .Boolean getDisableTotalCpuAutoscaling () {
189+ return disableTotalCpuAutoscaling ;
190+ }
191+
192+ /**
193+ * Optional. If true, disables total CPU autoscaling for the selected replicas and ignores
194+ * total_cpu_utilization_percent in the top-level autoscaling configuration. When setting this
195+ * field to true, setting autoscaling_target_total_cpu_utilization_percent field to a non-zero
196+ * value for the same replica is not supported. If false, the
197+ * autoscaling_target_total_cpu_utilization_percent field in the replica will be used if set to a
198+ * non-zero value. Otherwise, the total_cpu_utilization_percent field in the top-level autoscaling
199+ * configuration will be used. Setting both disable_high_priority_cpu_autoscaling and
200+ * disable_total_cpu_autoscaling to true for the same replica is not supported.
201+ * @param disableTotalCpuAutoscaling disableTotalCpuAutoscaling or {@code null} for none
202+ */
203+ public AutoscalingConfigOverrides setDisableTotalCpuAutoscaling (java .lang .Boolean disableTotalCpuAutoscaling ) {
204+ this .disableTotalCpuAutoscaling = disableTotalCpuAutoscaling ;
205+ return this ;
206+ }
207+
88208 @ Override
89209 public AutoscalingConfigOverrides set (String fieldName , Object value ) {
90210 return (AutoscalingConfigOverrides ) super .set (fieldName , value );
0 commit comments