Skip to content

Commit ffc4341

Browse files
1 parent 1a34bdb commit ffc4341

1 file changed

Lines changed: 70 additions & 8 deletions

File tree

src/OracleDatabase/AutonomousDatabaseProperties.php

Lines changed: 70 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,11 @@ class AutonomousDatabaseProperties extends \Google\Collection
497497
*/
498498
public $isAutoScalingEnabled;
499499
/**
500-
* Output only. This field indicates whether the Autonomous Database has local
501-
* (in-region) Data Guard enabled.
500+
* Output only. Deprecated: Please use `local_data_guard_enabled` instead.
501+
* This field indicates whether the Autonomous Database has local (in-region)
502+
* Data Guard enabled.
502503
*
504+
* @deprecated
503505
* @var bool
504506
*/
505507
public $isLocalDataGuardEnabled;
@@ -524,12 +526,30 @@ class AutonomousDatabaseProperties extends \Google\Collection
524526
*/
525527
public $lifecycleDetails;
526528
/**
527-
* Output only. This field indicates the maximum data loss limit for an
528-
* Autonomous Database, in seconds.
529+
* Output only. Deprecated: Please use
530+
* `local_adg_auto_failover_max_data_loss_limit_duration` instead. This field
531+
* indicates the maximum data loss limit for an Autonomous Database, in
532+
* seconds.
529533
*
534+
* @deprecated
530535
* @var int
531536
*/
532537
public $localAdgAutoFailoverMaxDataLossLimit;
538+
/**
539+
* Optional. This field indicates the maximum data loss limit for an
540+
* Autonomous Database, in seconds.
541+
*
542+
* @var int
543+
*/
544+
public $localAdgAutoFailoverMaxDataLossLimitDuration;
545+
/**
546+
* Optional. Indicates whether the Autonomous Database has a local (in-region)
547+
* standby database. Not applicable to cross-region Data Guard or dedicated
548+
* Exadata infrastructure.
549+
*
550+
* @var bool
551+
*/
552+
public $localDataGuardEnabled;
533553
/**
534554
* Output only. This field indicates the local disaster recovery (DR) type of
535555
* an Autonomous Database.
@@ -1179,16 +1199,19 @@ public function getIsAutoScalingEnabled()
11791199
return $this->isAutoScalingEnabled;
11801200
}
11811201
/**
1182-
* Output only. This field indicates whether the Autonomous Database has local
1183-
* (in-region) Data Guard enabled.
1202+
* Output only. Deprecated: Please use `local_data_guard_enabled` instead.
1203+
* This field indicates whether the Autonomous Database has local (in-region)
1204+
* Data Guard enabled.
11841205
*
1206+
* @deprecated
11851207
* @param bool $isLocalDataGuardEnabled
11861208
*/
11871209
public function setIsLocalDataGuardEnabled($isLocalDataGuardEnabled)
11881210
{
11891211
$this->isLocalDataGuardEnabled = $isLocalDataGuardEnabled;
11901212
}
11911213
/**
1214+
* @deprecated
11921215
* @return bool
11931216
*/
11941217
public function getIsLocalDataGuardEnabled()
@@ -1249,22 +1272,61 @@ public function getLifecycleDetails()
12491272
return $this->lifecycleDetails;
12501273
}
12511274
/**
1252-
* Output only. This field indicates the maximum data loss limit for an
1253-
* Autonomous Database, in seconds.
1275+
* Output only. Deprecated: Please use
1276+
* `local_adg_auto_failover_max_data_loss_limit_duration` instead. This field
1277+
* indicates the maximum data loss limit for an Autonomous Database, in
1278+
* seconds.
12541279
*
1280+
* @deprecated
12551281
* @param int $localAdgAutoFailoverMaxDataLossLimit
12561282
*/
12571283
public function setLocalAdgAutoFailoverMaxDataLossLimit($localAdgAutoFailoverMaxDataLossLimit)
12581284
{
12591285
$this->localAdgAutoFailoverMaxDataLossLimit = $localAdgAutoFailoverMaxDataLossLimit;
12601286
}
12611287
/**
1288+
* @deprecated
12621289
* @return int
12631290
*/
12641291
public function getLocalAdgAutoFailoverMaxDataLossLimit()
12651292
{
12661293
return $this->localAdgAutoFailoverMaxDataLossLimit;
12671294
}
1295+
/**
1296+
* Optional. This field indicates the maximum data loss limit for an
1297+
* Autonomous Database, in seconds.
1298+
*
1299+
* @param int $localAdgAutoFailoverMaxDataLossLimitDuration
1300+
*/
1301+
public function setLocalAdgAutoFailoverMaxDataLossLimitDuration($localAdgAutoFailoverMaxDataLossLimitDuration)
1302+
{
1303+
$this->localAdgAutoFailoverMaxDataLossLimitDuration = $localAdgAutoFailoverMaxDataLossLimitDuration;
1304+
}
1305+
/**
1306+
* @return int
1307+
*/
1308+
public function getLocalAdgAutoFailoverMaxDataLossLimitDuration()
1309+
{
1310+
return $this->localAdgAutoFailoverMaxDataLossLimitDuration;
1311+
}
1312+
/**
1313+
* Optional. Indicates whether the Autonomous Database has a local (in-region)
1314+
* standby database. Not applicable to cross-region Data Guard or dedicated
1315+
* Exadata infrastructure.
1316+
*
1317+
* @param bool $localDataGuardEnabled
1318+
*/
1319+
public function setLocalDataGuardEnabled($localDataGuardEnabled)
1320+
{
1321+
$this->localDataGuardEnabled = $localDataGuardEnabled;
1322+
}
1323+
/**
1324+
* @return bool
1325+
*/
1326+
public function getLocalDataGuardEnabled()
1327+
{
1328+
return $this->localDataGuardEnabled;
1329+
}
12681330
/**
12691331
* Output only. This field indicates the local disaster recovery (DR) type of
12701332
* an Autonomous Database.

0 commit comments

Comments
 (0)