From 7473598d9ad179c800b271b48c7e449fa0596bfb Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Thu, 12 Feb 2026 17:07:52 -0800 Subject: [PATCH] Regenerate run client --- src/CloudRun/GoogleCloudRunV2Instance.php | 24 ++++++++++ src/CloudRun/GoogleCloudRunV2Revision.php | 2 +- .../GoogleCloudRunV2RevisionScaling.php | 46 +++++++++++++++++++ 3 files changed, 71 insertions(+), 1 deletion(-) diff --git a/src/CloudRun/GoogleCloudRunV2Instance.php b/src/CloudRun/GoogleCloudRunV2Instance.php index f0f4f98e1e..86525a9303 100644 --- a/src/CloudRun/GoogleCloudRunV2Instance.php +++ b/src/CloudRun/GoogleCloudRunV2Instance.php @@ -303,6 +303,13 @@ class GoogleCloudRunV2Instance extends \Google\Collection public $serviceAccount; protected $terminalConditionType = GoogleCloudRunV2Condition::class; protected $terminalConditionDataType = ''; + /** + * Optional. Duration the instance may be active before the system will shut + * it down. + * + * @var string + */ + public $timeout; /** * Output only. Server assigned unique identifier for the trigger. The value * is a UUID4 string and guaranteed to remain unchanged until the resource is @@ -888,6 +895,23 @@ public function getTerminalCondition() { return $this->terminalCondition; } + /** + * Optional. Duration the instance may be active before the system will shut + * it down. + * + * @param string $timeout + */ + public function setTimeout($timeout) + { + $this->timeout = $timeout; + } + /** + * @return string + */ + public function getTimeout() + { + return $this->timeout; + } /** * Output only. Server assigned unique identifier for the trigger. The value * is a UUID4 string and guaranteed to remain unchanged until the resource is diff --git a/src/CloudRun/GoogleCloudRunV2Revision.php b/src/CloudRun/GoogleCloudRunV2Revision.php index 46de48dcab..46291e98bd 100644 --- a/src/CloudRun/GoogleCloudRunV2Revision.php +++ b/src/CloudRun/GoogleCloudRunV2Revision.php @@ -381,7 +381,7 @@ public function getConditions() return $this->conditions; } /** - * Holds the single container that defines the unit of execution for this + * Containers holds the list which define the units of execution for this * Revision. * * @param GoogleCloudRunV2Container[] $containers diff --git a/src/CloudRun/GoogleCloudRunV2RevisionScaling.php b/src/CloudRun/GoogleCloudRunV2RevisionScaling.php index cfac921198..3f7d03e6cf 100644 --- a/src/CloudRun/GoogleCloudRunV2RevisionScaling.php +++ b/src/CloudRun/GoogleCloudRunV2RevisionScaling.php @@ -19,6 +19,19 @@ class GoogleCloudRunV2RevisionScaling extends \Google\Model { + /** + * Optional. Determines a threshold for concurrency utilization before scaling + * begins. + * + * @var float + */ + public $concurrencyUtilization; + /** + * Optional. Determines a threshold for CPU utilization before scaling begins. + * + * @var float + */ + public $cpuUtilization; /** * Optional. Maximum number of serving instances that this resource should * have. When unspecified, the field is set to the server default value of @@ -36,6 +49,39 @@ class GoogleCloudRunV2RevisionScaling extends \Google\Model */ public $minInstanceCount; + /** + * Optional. Determines a threshold for concurrency utilization before scaling + * begins. + * + * @param float $concurrencyUtilization + */ + public function setConcurrencyUtilization($concurrencyUtilization) + { + $this->concurrencyUtilization = $concurrencyUtilization; + } + /** + * @return float + */ + public function getConcurrencyUtilization() + { + return $this->concurrencyUtilization; + } + /** + * Optional. Determines a threshold for CPU utilization before scaling begins. + * + * @param float $cpuUtilization + */ + public function setCpuUtilization($cpuUtilization) + { + $this->cpuUtilization = $cpuUtilization; + } + /** + * @return float + */ + public function getCpuUtilization() + { + return $this->cpuUtilization; + } /** * Optional. Maximum number of serving instances that this resource should * have. When unspecified, the field is set to the server default value of