|
20 | 20 | class RuntimeUpdatableParams extends \Google\Model |
21 | 21 | { |
22 | 22 | /** |
23 | | - * Optional. The backlog threshold duration in seconds for autoscaling. Value |
24 | | - * must be non-negative. |
| 23 | + * Optional. Deprecated: Use `autoscaling_tier` instead. The backlog threshold |
| 24 | + * duration in seconds for autoscaling. Value must be non-negative. |
25 | 25 | * |
| 26 | + * @deprecated |
26 | 27 | * @var string |
27 | 28 | */ |
28 | 29 | public $acceptableBacklogDuration; |
| 30 | + /** |
| 31 | + * Optional. The backlog threshold tier for autoscaling. Value must be one of |
| 32 | + * "low-latency", "medium-latency", or "high-latency". |
| 33 | + * |
| 34 | + * @var string |
| 35 | + */ |
| 36 | + public $autoscalingTier; |
29 | 37 | /** |
30 | 38 | * The maximum number of workers to cap autoscaling at. This field is |
31 | 39 | * currently only supported for Streaming Engine jobs. |
@@ -53,22 +61,41 @@ class RuntimeUpdatableParams extends \Google\Model |
53 | 61 | public $workerUtilizationHint; |
54 | 62 |
|
55 | 63 | /** |
56 | | - * Optional. The backlog threshold duration in seconds for autoscaling. Value |
57 | | - * must be non-negative. |
| 64 | + * Optional. Deprecated: Use `autoscaling_tier` instead. The backlog threshold |
| 65 | + * duration in seconds for autoscaling. Value must be non-negative. |
58 | 66 | * |
| 67 | + * @deprecated |
59 | 68 | * @param string $acceptableBacklogDuration |
60 | 69 | */ |
61 | 70 | public function setAcceptableBacklogDuration($acceptableBacklogDuration) |
62 | 71 | { |
63 | 72 | $this->acceptableBacklogDuration = $acceptableBacklogDuration; |
64 | 73 | } |
65 | 74 | /** |
| 75 | + * @deprecated |
66 | 76 | * @return string |
67 | 77 | */ |
68 | 78 | public function getAcceptableBacklogDuration() |
69 | 79 | { |
70 | 80 | return $this->acceptableBacklogDuration; |
71 | 81 | } |
| 82 | + /** |
| 83 | + * Optional. The backlog threshold tier for autoscaling. Value must be one of |
| 84 | + * "low-latency", "medium-latency", or "high-latency". |
| 85 | + * |
| 86 | + * @param string $autoscalingTier |
| 87 | + */ |
| 88 | + public function setAutoscalingTier($autoscalingTier) |
| 89 | + { |
| 90 | + $this->autoscalingTier = $autoscalingTier; |
| 91 | + } |
| 92 | + /** |
| 93 | + * @return string |
| 94 | + */ |
| 95 | + public function getAutoscalingTier() |
| 96 | + { |
| 97 | + return $this->autoscalingTier; |
| 98 | + } |
72 | 99 | /** |
73 | 100 | * The maximum number of workers to cap autoscaling at. This field is |
74 | 101 | * currently only supported for Streaming Engine jobs. |
|
0 commit comments