Skip to content

Commit 2f74e82

Browse files
1 parent 94efcef commit 2f74e82

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

src/Dataflow/RuntimeUpdatableParams.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919

2020
class RuntimeUpdatableParams extends \Google\Model
2121
{
22+
/**
23+
* Optional. The backlog threshold duration in seconds for autoscaling. Value
24+
* must be non-negative.
25+
*
26+
* @var string
27+
*/
28+
public $acceptableBacklogDuration;
2229
/**
2330
* The maximum number of workers to cap autoscaling at. This field is
2431
* currently only supported for Streaming Engine jobs.
@@ -45,6 +52,23 @@ class RuntimeUpdatableParams extends \Google\Model
4552
*/
4653
public $workerUtilizationHint;
4754

55+
/**
56+
* Optional. The backlog threshold duration in seconds for autoscaling. Value
57+
* must be non-negative.
58+
*
59+
* @param string $acceptableBacklogDuration
60+
*/
61+
public function setAcceptableBacklogDuration($acceptableBacklogDuration)
62+
{
63+
$this->acceptableBacklogDuration = $acceptableBacklogDuration;
64+
}
65+
/**
66+
* @return string
67+
*/
68+
public function getAcceptableBacklogDuration()
69+
{
70+
return $this->acceptableBacklogDuration;
71+
}
4872
/**
4973
* The maximum number of workers to cap autoscaling at. This field is
5074
* currently only supported for Streaming Engine jobs.

0 commit comments

Comments
 (0)