Skip to content

Commit 1bbd586

Browse files
1 parent 5c7afd3 commit 1bbd586

1 file changed

Lines changed: 16 additions & 24 deletions

File tree

src/CloudAlloyDBAdmin/StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.php

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo extends \Goog
4848
*/
4949
public const MAINTENANCE_STATE_ERROR = 'ERROR';
5050
protected $collection_key = 'denyMaintenanceSchedules';
51+
protected $currentVersionReleaseDateType = GoogleTypeDate::class;
52+
protected $currentVersionReleaseDateDataType = '';
5153
protected $denyMaintenanceSchedulesType = StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule::class;
5254
protected $denyMaintenanceSchedulesDataType = 'array';
5355
/**
@@ -75,15 +77,23 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo extends \Goog
7577
public $maintenanceVersion;
7678
protected $upcomingMaintenanceType = StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance::class;
7779
protected $upcomingMaintenanceDataType = '';
80+
7881
/**
79-
* Optional. This field will contain the date when the last version update was
80-
* applied to the database resource. This will be used to calculate the age of
81-
* the maintenance version.
82+
* Optional. The date when the current maintenance version was released.
8283
*
83-
* @var string
84+
* @param GoogleTypeDate $currentVersionReleaseDate
8485
*/
85-
public $versionUpdateTime;
86-
86+
public function setCurrentVersionReleaseDate(GoogleTypeDate $currentVersionReleaseDate)
87+
{
88+
$this->currentVersionReleaseDate = $currentVersionReleaseDate;
89+
}
90+
/**
91+
* @return GoogleTypeDate
92+
*/
93+
public function getCurrentVersionReleaseDate()
94+
{
95+
return $this->currentVersionReleaseDate;
96+
}
8797
/**
8898
* Optional. List of Deny maintenance period for the database resource.
8999
*
@@ -187,24 +197,6 @@ public function getUpcomingMaintenance()
187197
{
188198
return $this->upcomingMaintenance;
189199
}
190-
/**
191-
* Optional. This field will contain the date when the last version update was
192-
* applied to the database resource. This will be used to calculate the age of
193-
* the maintenance version.
194-
*
195-
* @param string $versionUpdateTime
196-
*/
197-
public function setVersionUpdateTime($versionUpdateTime)
198-
{
199-
$this->versionUpdateTime = $versionUpdateTime;
200-
}
201-
/**
202-
* @return string
203-
*/
204-
public function getVersionUpdateTime()
205-
{
206-
return $this->versionUpdateTime;
207-
}
208200
}
209201

210202
// Adding a class alias for backwards compatibility with the previous class name.

0 commit comments

Comments
 (0)