2020class RuntimeUpdatableParams extends \Google \Model
2121{
2222 /**
23- * Optional. Deprecated: Use `autoscaling_tier ` instead. The backlog threshold
23+ * Optional. Deprecated: Use `latency_tier ` instead. The backlog threshold
2424 * duration in seconds for autoscaling. Value must be non-negative.
2525 *
2626 * @deprecated
2727 * @var string
2828 */
2929 public $ acceptableBacklogDuration ;
30+ /**
31+ * Optional. Deprecated: Use `latency_tier` instead. The backlog threshold
32+ * tier for autoscaling. Value must be one of "low-latency", "medium-latency",
33+ * or "high-latency".
34+ *
35+ * @deprecated
36+ * @var string
37+ */
38+ public $ autoscalingTier ;
3039 /**
3140 * Optional. The backlog threshold tier for autoscaling. Value must be one of
3241 * "low-latency", "medium-latency", or "high-latency".
3342 *
3443 * @var string
3544 */
36- public $ autoscalingTier ;
45+ public $ latencyTier ;
3746 /**
3847 * The maximum number of workers to cap autoscaling at. This field is
3948 * currently only supported for Streaming Engine jobs.
@@ -61,7 +70,7 @@ class RuntimeUpdatableParams extends \Google\Model
6170 public $ workerUtilizationHint ;
6271
6372 /**
64- * Optional. Deprecated: Use `autoscaling_tier ` instead. The backlog threshold
73+ * Optional. Deprecated: Use `latency_tier ` instead. The backlog threshold
6574 * duration in seconds for autoscaling. Value must be non-negative.
6675 *
6776 * @deprecated
@@ -80,22 +89,42 @@ public function getAcceptableBacklogDuration()
8089 return $ this ->acceptableBacklogDuration ;
8190 }
8291 /**
83- * Optional. The backlog threshold tier for autoscaling. Value must be one of
84- * "low-latency", "medium-latency", or "high-latency".
92+ * Optional. Deprecated: Use `latency_tier` instead. The backlog threshold
93+ * tier for autoscaling. Value must be one of "low-latency", "medium-latency",
94+ * or "high-latency".
8595 *
96+ * @deprecated
8697 * @param string $autoscalingTier
8798 */
8899 public function setAutoscalingTier ($ autoscalingTier )
89100 {
90101 $ this ->autoscalingTier = $ autoscalingTier ;
91102 }
92103 /**
104+ * @deprecated
93105 * @return string
94106 */
95107 public function getAutoscalingTier ()
96108 {
97109 return $ this ->autoscalingTier ;
98110 }
111+ /**
112+ * Optional. The backlog threshold tier for autoscaling. Value must be one of
113+ * "low-latency", "medium-latency", or "high-latency".
114+ *
115+ * @param string $latencyTier
116+ */
117+ public function setLatencyTier ($ latencyTier )
118+ {
119+ $ this ->latencyTier = $ latencyTier ;
120+ }
121+ /**
122+ * @return string
123+ */
124+ public function getLatencyTier ()
125+ {
126+ return $ this ->latencyTier ;
127+ }
99128 /**
100129 * The maximum number of workers to cap autoscaling at. This field is
101130 * currently only supported for Streaming Engine jobs.
0 commit comments