Skip to content

Commit 5de68c5

Browse files
1 parent f88d20d commit 5de68c5

2 files changed

Lines changed: 38 additions & 9 deletions

File tree

src/Dataflow/FlexTemplateRuntimeEnvironment.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ class FlexTemplateRuntimeEnvironment extends \Google\Collection
151151
*/
152152
public $kmsKeyName;
153153
/**
154-
* The machine type to use for launching the job. The default is
155-
* n1-standard-1.
154+
* The machine type to use for launching the job. If not set, Dataflow will
155+
* select a default machine type.
156156
*
157157
* @var string
158158
*/
@@ -467,8 +467,8 @@ public function getKmsKeyName()
467467
return $this->kmsKeyName;
468468
}
469469
/**
470-
* The machine type to use for launching the job. The default is
471-
* n1-standard-1.
470+
* The machine type to use for launching the job. If not set, Dataflow will
471+
* select a default machine type.
472472
*
473473
* @param string $launcherMachineType
474474
*/

src/Dataflow/RuntimeUpdatableParams.php

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,29 @@
2020
class 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

Comments
 (0)