Skip to content

Commit 4a025b9

Browse files
1 parent 19d7efd commit 4a025b9

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

src/SQLAdmin/Settings.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ class Settings extends \Google\Collection
141141
*/
142142
public const REPLICATION_TYPE_ASYNCHRONOUS = 'ASYNCHRONOUS';
143143
protected $collection_key = 'denyMaintenancePeriods';
144+
/**
145+
* Optional. Whether the replica is in accelerated mode. This feature is in
146+
* private preview and requires allowlisting to take effect.
147+
*
148+
* @var bool
149+
*/
150+
public $acceleratedReplicaMode;
144151
/**
145152
* The activation policy specifies when the instance is activated; it is
146153
* applicable only when the instance state is RUNNABLE. Valid values: *
@@ -393,6 +400,23 @@ class Settings extends \Google\Collection
393400
*/
394401
public $userLabels;
395402

403+
/**
404+
* Optional. Whether the replica is in accelerated mode. This feature is in
405+
* private preview and requires allowlisting to take effect.
406+
*
407+
* @param bool $acceleratedReplicaMode
408+
*/
409+
public function setAcceleratedReplicaMode($acceleratedReplicaMode)
410+
{
411+
$this->acceleratedReplicaMode = $acceleratedReplicaMode;
412+
}
413+
/**
414+
* @return bool
415+
*/
416+
public function getAcceleratedReplicaMode()
417+
{
418+
return $this->acceleratedReplicaMode;
419+
}
396420
/**
397421
* The activation policy specifies when the instance is activated; it is
398422
* applicable only when the instance state is RUNNABLE. Valid values: *

0 commit comments

Comments
 (0)