diff --git a/src/Dataflow/FlexTemplateRuntimeEnvironment.php b/src/Dataflow/FlexTemplateRuntimeEnvironment.php index 7853f056f0f..ff71c23fe70 100644 --- a/src/Dataflow/FlexTemplateRuntimeEnvironment.php +++ b/src/Dataflow/FlexTemplateRuntimeEnvironment.php @@ -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 */ @@ -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 */ diff --git a/src/Dataflow/RuntimeUpdatableParams.php b/src/Dataflow/RuntimeUpdatableParams.php index 0f314fc31e7..80ed4df5a65 100644 --- a/src/Dataflow/RuntimeUpdatableParams.php +++ b/src/Dataflow/RuntimeUpdatableParams.php @@ -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. @@ -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 @@ -80,9 +89,11 @@ 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) @@ -90,12 +101,30 @@ 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.