Skip to content

Commit 66fda3a

Browse files
1 parent 7829c24 commit 66fda3a

1 file changed

Lines changed: 72 additions & 0 deletions

File tree

src/CloudMemorystoreforMemcached/Instance.php

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ class Instance extends \Google\Collection
7070
* @var string
7171
*/
7272
public $authorizedNetwork;
73+
/**
74+
* Output only. The available maintenance versions that can be applied to the
75+
* instance.
76+
*
77+
* @var string[]
78+
*/
79+
public $availableMaintenanceVersions;
7380
/**
7481
* Output only. The time the instance was created.
7582
*
@@ -89,6 +96,12 @@ class Instance extends \Google\Collection
8996
* @var string
9097
*/
9198
public $displayName;
99+
/**
100+
* Output only. The effective maintenance version of the instance.
101+
*
102+
* @var string
103+
*/
104+
public $effectiveMaintenanceVersion;
92105
protected $instanceMessagesType = InstanceMessage::class;
93106
protected $instanceMessagesDataType = 'array';
94107
/**
@@ -103,6 +116,14 @@ class Instance extends \Google\Collection
103116
protected $maintenancePolicyDataType = '';
104117
protected $maintenanceScheduleType = MaintenanceSchedule::class;
105118
protected $maintenanceScheduleDataType = '';
119+
/**
120+
* Optional. Last self service update maintenance version triggered by the
121+
* customer. If it is empty, it means that the maintenance version is not set
122+
* by the user.
123+
*
124+
* @var string
125+
*/
126+
public $maintenanceVersion;
106127
/**
107128
* Output only. The full version of memcached server running on this instance.
108129
* System automatically determines the full memcached version for an instance
@@ -205,6 +226,23 @@ public function getAuthorizedNetwork()
205226
{
206227
return $this->authorizedNetwork;
207228
}
229+
/**
230+
* Output only. The available maintenance versions that can be applied to the
231+
* instance.
232+
*
233+
* @param string[] $availableMaintenanceVersions
234+
*/
235+
public function setAvailableMaintenanceVersions($availableMaintenanceVersions)
236+
{
237+
$this->availableMaintenanceVersions = $availableMaintenanceVersions;
238+
}
239+
/**
240+
* @return string[]
241+
*/
242+
public function getAvailableMaintenanceVersions()
243+
{
244+
return $this->availableMaintenanceVersions;
245+
}
208246
/**
209247
* Output only. The time the instance was created.
210248
*
@@ -254,6 +292,22 @@ public function getDisplayName()
254292
{
255293
return $this->displayName;
256294
}
295+
/**
296+
* Output only. The effective maintenance version of the instance.
297+
*
298+
* @param string $effectiveMaintenanceVersion
299+
*/
300+
public function setEffectiveMaintenanceVersion($effectiveMaintenanceVersion)
301+
{
302+
$this->effectiveMaintenanceVersion = $effectiveMaintenanceVersion;
303+
}
304+
/**
305+
* @return string
306+
*/
307+
public function getEffectiveMaintenanceVersion()
308+
{
309+
return $this->effectiveMaintenanceVersion;
310+
}
257311
/**
258312
* List of messages that describe the current state of the Memcached instance.
259313
*
@@ -321,6 +375,24 @@ public function getMaintenanceSchedule()
321375
{
322376
return $this->maintenanceSchedule;
323377
}
378+
/**
379+
* Optional. Last self service update maintenance version triggered by the
380+
* customer. If it is empty, it means that the maintenance version is not set
381+
* by the user.
382+
*
383+
* @param string $maintenanceVersion
384+
*/
385+
public function setMaintenanceVersion($maintenanceVersion)
386+
{
387+
$this->maintenanceVersion = $maintenanceVersion;
388+
}
389+
/**
390+
* @return string
391+
*/
392+
public function getMaintenanceVersion()
393+
{
394+
return $this->maintenanceVersion;
395+
}
324396
/**
325397
* Output only. The full version of memcached server running on this instance.
326398
* System automatically determines the full memcached version for an instance

0 commit comments

Comments
 (0)