Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Dataflow/FlexTemplateRuntimeEnvironment.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ class FlexTemplateRuntimeEnvironment extends \Google\Collection
*/
public $kmsKeyName;
/**
* The machine type to use for launching the job. The default is
* n1-standard-1.
* The machine type to use for launching the job. If not set, Dataflow will
* select a default machine type.
*
* @var string
*/
Expand Down Expand Up @@ -467,8 +467,8 @@ public function getKmsKeyName()
return $this->kmsKeyName;
}
/**
* The machine type to use for launching the job. The default is
* n1-standard-1.
* The machine type to use for launching the job. If not set, Dataflow will
* select a default machine type.
*
* @param string $launcherMachineType
*/
Expand Down
39 changes: 34 additions & 5 deletions src/Dataflow/RuntimeUpdatableParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,29 @@
class RuntimeUpdatableParams extends \Google\Model
{
/**
* Optional. Deprecated: Use `autoscaling_tier` instead. The backlog threshold
* Optional. Deprecated: Use `latency_tier` instead. The backlog threshold
* duration in seconds for autoscaling. Value must be non-negative.
*
* @deprecated
* @var string
*/
public $acceptableBacklogDuration;
/**
* Optional. Deprecated: Use `latency_tier` instead. The backlog threshold
* tier for autoscaling. Value must be one of "low-latency", "medium-latency",
* or "high-latency".
*
* @deprecated
* @var string
*/
public $autoscalingTier;
/**
* Optional. The backlog threshold tier for autoscaling. Value must be one of
* "low-latency", "medium-latency", or "high-latency".
*
* @var string
*/
public $autoscalingTier;
public $latencyTier;
/**
* The maximum number of workers to cap autoscaling at. This field is
* currently only supported for Streaming Engine jobs.
Expand Down Expand Up @@ -61,7 +70,7 @@ class RuntimeUpdatableParams extends \Google\Model
public $workerUtilizationHint;

/**
* Optional. Deprecated: Use `autoscaling_tier` instead. The backlog threshold
* Optional. Deprecated: Use `latency_tier` instead. The backlog threshold
* duration in seconds for autoscaling. Value must be non-negative.
*
* @deprecated
Expand All @@ -80,22 +89,42 @@ public function getAcceptableBacklogDuration()
return $this->acceptableBacklogDuration;
}
/**
* Optional. The backlog threshold tier for autoscaling. Value must be one of
* "low-latency", "medium-latency", or "high-latency".
* Optional. Deprecated: Use `latency_tier` instead. The backlog threshold
* tier for autoscaling. Value must be one of "low-latency", "medium-latency",
* or "high-latency".
*
* @deprecated
* @param string $autoscalingTier
*/
public function setAutoscalingTier($autoscalingTier)
{
$this->autoscalingTier = $autoscalingTier;
}
/**
* @deprecated
* @return string
*/
public function getAutoscalingTier()
{
return $this->autoscalingTier;
}
/**
* Optional. The backlog threshold tier for autoscaling. Value must be one of
* "low-latency", "medium-latency", or "high-latency".
*
* @param string $latencyTier
*/
public function setLatencyTier($latencyTier)
{
$this->latencyTier = $latencyTier;
}
/**
* @return string
*/
public function getLatencyTier()
{
return $this->latencyTier;
}
/**
* The maximum number of workers to cap autoscaling at. This field is
* currently only supported for Streaming Engine jobs.
Expand Down
Loading