@@ -29,6 +29,46 @@ class AutoscalingConfigOverrides extends \Google\Model
2929 * @var int
3030 */
3131 public $ autoscalingTargetHighPriorityCpuUtilizationPercent ;
32+ /**
33+ * Optional. If specified, overrides the autoscaling target
34+ * `total_cpu_utilization_percent` in the top-level autoscaling configuration
35+ * for the selected replicas.
36+ *
37+ * @var int
38+ */
39+ public $ autoscalingTargetTotalCpuUtilizationPercent ;
40+ /**
41+ * Optional. If true, disables high priority CPU autoscaling for the selected
42+ * replicas and ignores high_priority_cpu_utilization_percent in the top-level
43+ * autoscaling configuration. When setting this field to true, setting
44+ * autoscaling_target_high_priority_cpu_utilization_percent field to a non-
45+ * zero value for the same replica is not supported. If false, the
46+ * autoscaling_target_high_priority_cpu_utilization_percent field in the
47+ * replica will be used if set to a non-zero value. Otherwise, the
48+ * high_priority_cpu_utilization_percent field in the top-level autoscaling
49+ * configuration will be used. Setting both
50+ * disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to
51+ * true for the same replica is not supported.
52+ *
53+ * @var bool
54+ */
55+ public $ disableHighPriorityCpuAutoscaling ;
56+ /**
57+ * Optional. If true, disables total CPU autoscaling for the selected replicas
58+ * and ignores total_cpu_utilization_percent in the top-level autoscaling
59+ * configuration. When setting this field to true, setting
60+ * autoscaling_target_total_cpu_utilization_percent field to a non-zero value
61+ * for the same replica is not supported. If false, the
62+ * autoscaling_target_total_cpu_utilization_percent field in the replica will
63+ * be used if set to a non-zero value. Otherwise, the
64+ * total_cpu_utilization_percent field in the top-level autoscaling
65+ * configuration will be used. Setting both
66+ * disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to
67+ * true for the same replica is not supported.
68+ *
69+ * @var bool
70+ */
71+ public $ disableTotalCpuAutoscaling ;
3272
3373 /**
3474 * Optional. If specified, overrides the min/max limit in the top-level
@@ -65,6 +105,76 @@ public function getAutoscalingTargetHighPriorityCpuUtilizationPercent()
65105 {
66106 return $ this ->autoscalingTargetHighPriorityCpuUtilizationPercent ;
67107 }
108+ /**
109+ * Optional. If specified, overrides the autoscaling target
110+ * `total_cpu_utilization_percent` in the top-level autoscaling configuration
111+ * for the selected replicas.
112+ *
113+ * @param int $autoscalingTargetTotalCpuUtilizationPercent
114+ */
115+ public function setAutoscalingTargetTotalCpuUtilizationPercent ($ autoscalingTargetTotalCpuUtilizationPercent )
116+ {
117+ $ this ->autoscalingTargetTotalCpuUtilizationPercent = $ autoscalingTargetTotalCpuUtilizationPercent ;
118+ }
119+ /**
120+ * @return int
121+ */
122+ public function getAutoscalingTargetTotalCpuUtilizationPercent ()
123+ {
124+ return $ this ->autoscalingTargetTotalCpuUtilizationPercent ;
125+ }
126+ /**
127+ * Optional. If true, disables high priority CPU autoscaling for the selected
128+ * replicas and ignores high_priority_cpu_utilization_percent in the top-level
129+ * autoscaling configuration. When setting this field to true, setting
130+ * autoscaling_target_high_priority_cpu_utilization_percent field to a non-
131+ * zero value for the same replica is not supported. If false, the
132+ * autoscaling_target_high_priority_cpu_utilization_percent field in the
133+ * replica will be used if set to a non-zero value. Otherwise, the
134+ * high_priority_cpu_utilization_percent field in the top-level autoscaling
135+ * configuration will be used. Setting both
136+ * disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to
137+ * true for the same replica is not supported.
138+ *
139+ * @param bool $disableHighPriorityCpuAutoscaling
140+ */
141+ public function setDisableHighPriorityCpuAutoscaling ($ disableHighPriorityCpuAutoscaling )
142+ {
143+ $ this ->disableHighPriorityCpuAutoscaling = $ disableHighPriorityCpuAutoscaling ;
144+ }
145+ /**
146+ * @return bool
147+ */
148+ public function getDisableHighPriorityCpuAutoscaling ()
149+ {
150+ return $ this ->disableHighPriorityCpuAutoscaling ;
151+ }
152+ /**
153+ * Optional. If true, disables total CPU autoscaling for the selected replicas
154+ * and ignores total_cpu_utilization_percent in the top-level autoscaling
155+ * configuration. When setting this field to true, setting
156+ * autoscaling_target_total_cpu_utilization_percent field to a non-zero value
157+ * for the same replica is not supported. If false, the
158+ * autoscaling_target_total_cpu_utilization_percent field in the replica will
159+ * be used if set to a non-zero value. Otherwise, the
160+ * total_cpu_utilization_percent field in the top-level autoscaling
161+ * configuration will be used. Setting both
162+ * disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to
163+ * true for the same replica is not supported.
164+ *
165+ * @param bool $disableTotalCpuAutoscaling
166+ */
167+ public function setDisableTotalCpuAutoscaling ($ disableTotalCpuAutoscaling )
168+ {
169+ $ this ->disableTotalCpuAutoscaling = $ disableTotalCpuAutoscaling ;
170+ }
171+ /**
172+ * @return bool
173+ */
174+ public function getDisableTotalCpuAutoscaling ()
175+ {
176+ return $ this ->disableTotalCpuAutoscaling ;
177+ }
68178}
69179
70180// Adding a class alias for backwards compatibility with the previous class name.
0 commit comments