@googleapis/sqladmin 17.0.0 → 17.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/build/v1.d.ts +48 -23
- package/build/v1.js.map +1 -1
- package/build/v1beta4.d.ts +49 -20
- package/build/v1beta4.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +48 -23
- package/v1beta4.ts +49 -20
package/v1.ts
CHANGED
|
@@ -210,6 +210,23 @@ export namespace sqladmin_v1 {
|
|
|
210
210
|
*/
|
|
211
211
|
region?: string | null;
|
|
212
212
|
}
|
|
213
|
+
/**
|
|
214
|
+
* An available database version. It can be a major or a minor version.
|
|
215
|
+
*/
|
|
216
|
+
export interface Schema$AvailableDatabaseVersion {
|
|
217
|
+
/**
|
|
218
|
+
* The database version's display name.
|
|
219
|
+
*/
|
|
220
|
+
displayName?: string | null;
|
|
221
|
+
/**
|
|
222
|
+
* The version's major version name.
|
|
223
|
+
*/
|
|
224
|
+
majorVersion?: string | null;
|
|
225
|
+
/**
|
|
226
|
+
* The database version name. For MySQL 8.0, this string provides the database major and minor version.
|
|
227
|
+
*/
|
|
228
|
+
name?: string | null;
|
|
229
|
+
}
|
|
213
230
|
/**
|
|
214
231
|
* Database instance backup configuration.
|
|
215
232
|
*/
|
|
@@ -247,7 +264,7 @@ export namespace sqladmin_v1 {
|
|
|
247
264
|
*/
|
|
248
265
|
startTime?: string | null;
|
|
249
266
|
/**
|
|
250
|
-
* Output only. This value contains the storage location of transactional logs
|
|
267
|
+
* Output only. This value contains the storage location of transactional logs used to perform point-in-time recovery (PITR) for the database.
|
|
251
268
|
*/
|
|
252
269
|
transactionalLogStorageState?: string | null;
|
|
253
270
|
/**
|
|
@@ -434,7 +451,7 @@ export namespace sqladmin_v1 {
|
|
|
434
451
|
*/
|
|
435
452
|
pointInTime?: string | null;
|
|
436
453
|
/**
|
|
437
|
-
* Optional.
|
|
454
|
+
* Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance. This field applies to all DB types.
|
|
438
455
|
*/
|
|
439
456
|
preferredZone?: string | null;
|
|
440
457
|
}
|
|
@@ -583,7 +600,7 @@ export namespace sqladmin_v1 {
|
|
|
583
600
|
*/
|
|
584
601
|
gceZone?: string | null;
|
|
585
602
|
/**
|
|
586
|
-
* Gemini configuration.
|
|
603
|
+
* Gemini instance configuration.
|
|
587
604
|
*/
|
|
588
605
|
geminiConfig?: Schema$GeminiInstanceConfig;
|
|
589
606
|
/**
|
|
@@ -651,7 +668,7 @@ export namespace sqladmin_v1 {
|
|
|
651
668
|
*/
|
|
652
669
|
replicaNames?: string[] | null;
|
|
653
670
|
/**
|
|
654
|
-
* Optional.
|
|
671
|
+
* Optional. A primary instance and disaster recovery (DR) replica pair. A DR replica is a cross-region replica that you designate for failover in the event that the primary instance experiences regional failure. Only applicable to MySQL.
|
|
655
672
|
*/
|
|
656
673
|
replicationCluster?: Schema$ReplicationCluster;
|
|
657
674
|
/**
|
|
@@ -659,7 +676,7 @@ export namespace sqladmin_v1 {
|
|
|
659
676
|
*/
|
|
660
677
|
rootPassword?: string | null;
|
|
661
678
|
/**
|
|
662
|
-
*
|
|
679
|
+
* This status indicates whether the instance satisfies PZS. The status is reserved for future use.
|
|
663
680
|
*/
|
|
664
681
|
satisfiesPzs?: boolean | null;
|
|
665
682
|
/**
|
|
@@ -695,6 +712,10 @@ export namespace sqladmin_v1 {
|
|
|
695
712
|
* If the instance state is SUSPENDED, the reason for the suspension.
|
|
696
713
|
*/
|
|
697
714
|
suspensionReason?: string[] | null;
|
|
715
|
+
/**
|
|
716
|
+
* Output only. All database versions that are available for upgrade.
|
|
717
|
+
*/
|
|
718
|
+
upgradableDatabaseVersions?: Schema$AvailableDatabaseVersion[];
|
|
698
719
|
/**
|
|
699
720
|
* Output only. The dns name of the primary instance in a replication group.
|
|
700
721
|
*/
|
|
@@ -976,31 +997,31 @@ export namespace sqladmin_v1 {
|
|
|
976
997
|
kind?: string | null;
|
|
977
998
|
}
|
|
978
999
|
/**
|
|
979
|
-
* Gemini configuration.
|
|
1000
|
+
* Gemini instance configuration.
|
|
980
1001
|
*/
|
|
981
1002
|
export interface Schema$GeminiInstanceConfig {
|
|
982
1003
|
/**
|
|
983
|
-
* Output only. Whether active query is enabled.
|
|
1004
|
+
* Output only. Whether the active query is enabled.
|
|
984
1005
|
*/
|
|
985
1006
|
activeQueryEnabled?: boolean | null;
|
|
986
1007
|
/**
|
|
987
|
-
* Output only. Whether
|
|
1008
|
+
* Output only. Whether Gemini is enabled.
|
|
988
1009
|
*/
|
|
989
1010
|
entitled?: boolean | null;
|
|
990
1011
|
/**
|
|
991
|
-
* Output only. Whether flag recommender is enabled.
|
|
1012
|
+
* Output only. Whether the flag recommender is enabled.
|
|
992
1013
|
*/
|
|
993
1014
|
flagRecommenderEnabled?: boolean | null;
|
|
994
1015
|
/**
|
|
995
|
-
* Output only. Whether vacuum management is enabled.
|
|
1016
|
+
* Output only. Whether the vacuum management is enabled.
|
|
996
1017
|
*/
|
|
997
1018
|
googleVacuumMgmtEnabled?: boolean | null;
|
|
998
1019
|
/**
|
|
999
|
-
* Output only. Whether index advisor is enabled.
|
|
1020
|
+
* Output only. Whether the index advisor is enabled.
|
|
1000
1021
|
*/
|
|
1001
1022
|
indexAdvisorEnabled?: boolean | null;
|
|
1002
1023
|
/**
|
|
1003
|
-
* Output only. Whether
|
|
1024
|
+
* Output only. Whether canceling the out-of-memory (OOM) session is enabled.
|
|
1004
1025
|
*/
|
|
1005
1026
|
oomSessionCancelEnabled?: boolean | null;
|
|
1006
1027
|
}
|
|
@@ -1299,7 +1320,7 @@ export namespace sqladmin_v1 {
|
|
|
1299
1320
|
*/
|
|
1300
1321
|
requireSsl?: boolean | null;
|
|
1301
1322
|
/**
|
|
1302
|
-
* Specify how SSL/TLS is enforced in database connections. If you must use the `require_ssl` flag for backward compatibility, then only the following value pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For SQL Server: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode`
|
|
1323
|
+
* Specify how SSL/TLS is enforced in database connections. If you must use the `require_ssl` flag for backward compatibility, then only the following value pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For SQL Server: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode` has priority over the value of `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`, `ssl_mode=ENCRYPTED_ONLY` means accept only SSL connections, while `require_ssl=false` means accept both non-SSL and SSL connections. In this case, MySQL and PostgreSQL databases respect `ssl_mode` and accepts only SSL connections.
|
|
1303
1324
|
*/
|
|
1304
1325
|
sslMode?: string | null;
|
|
1305
1326
|
}
|
|
@@ -1705,17 +1726,21 @@ export namespace sqladmin_v1 {
|
|
|
1705
1726
|
mysqlReplicaConfiguration?: Schema$MySqlReplicaConfiguration;
|
|
1706
1727
|
}
|
|
1707
1728
|
/**
|
|
1708
|
-
*
|
|
1729
|
+
* A primary instance and disaster recovery (DR) replica pair. A DR replica is a cross-region replica that you designate for failover in the event that the primary instance experiences regional failure. Only applicable to MySQL.
|
|
1709
1730
|
*/
|
|
1710
1731
|
export interface Schema$ReplicationCluster {
|
|
1711
1732
|
/**
|
|
1712
|
-
* Output only.
|
|
1733
|
+
* Output only. Read-only field that indicates whether the replica is a DR replica. This field is not set if the instance is a primary instance.
|
|
1713
1734
|
*/
|
|
1714
1735
|
drReplica?: boolean | null;
|
|
1715
1736
|
/**
|
|
1716
|
-
* Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set.
|
|
1737
|
+
* Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set. Set this field to a replica name to designate a DR replica for a primary instance. Remove the replica name to remove the DR replica designation.
|
|
1717
1738
|
*/
|
|
1718
1739
|
failoverDrReplicaName?: string | null;
|
|
1740
|
+
/**
|
|
1741
|
+
* Output only. If set, it indicates this instance has a private service access (PSA) dns endpoint that is pointing to the primary instance of the cluster. If this instance is the primary, the dns should be pointing to this instance. After Switchover or Replica failover, this DNS endpoint points to the promoted instance. This is a read-only field, returned to the user as information. This field can exist even if a standalone instance does not yet have a replica, or had a DR replica that was deleted.
|
|
1742
|
+
*/
|
|
1743
|
+
psaWriteEndpoint?: string | null;
|
|
1719
1744
|
}
|
|
1720
1745
|
export interface Schema$Reschedule {
|
|
1721
1746
|
/**
|
|
@@ -1774,7 +1799,7 @@ export namespace sqladmin_v1 {
|
|
|
1774
1799
|
*/
|
|
1775
1800
|
activeDirectoryConfig?: Schema$SqlActiveDirectoryConfig;
|
|
1776
1801
|
/**
|
|
1777
|
-
* Specifies
|
|
1802
|
+
* Specifies advanced machine configuration for the instances relevant only for SQL Server.
|
|
1778
1803
|
*/
|
|
1779
1804
|
advancedMachineFeatures?: Schema$AdvancedMachineFeatures;
|
|
1780
1805
|
/**
|
|
@@ -1994,7 +2019,7 @@ export namespace sqladmin_v1 {
|
|
|
1994
2019
|
*/
|
|
1995
2020
|
export interface Schema$SqlInstancesStartExternalSyncRequest {
|
|
1996
2021
|
/**
|
|
1997
|
-
* Optional. MigrationType
|
|
2022
|
+
* Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.
|
|
1998
2023
|
*/
|
|
1999
2024
|
migrationType?: string | null;
|
|
2000
2025
|
/**
|
|
@@ -2019,7 +2044,7 @@ export namespace sqladmin_v1 {
|
|
|
2019
2044
|
*/
|
|
2020
2045
|
export interface Schema$SqlInstancesVerifyExternalSyncSettingsRequest {
|
|
2021
2046
|
/**
|
|
2022
|
-
* Optional. MigrationType
|
|
2047
|
+
* Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.
|
|
2023
2048
|
*/
|
|
2024
2049
|
migrationType?: string | null;
|
|
2025
2050
|
/**
|
|
@@ -2031,7 +2056,7 @@ export namespace sqladmin_v1 {
|
|
|
2031
2056
|
*/
|
|
2032
2057
|
syncMode?: string | null;
|
|
2033
2058
|
/**
|
|
2034
|
-
* Optional. Parallel level for initial data sync.
|
|
2059
|
+
* Optional. Parallel level for initial data sync. Only applicable for PostgreSQL.
|
|
2035
2060
|
*/
|
|
2036
2061
|
syncParallelLevel?: string | null;
|
|
2037
2062
|
/**
|
|
@@ -5017,7 +5042,7 @@ export namespace sqladmin_v1 {
|
|
|
5017
5042
|
}
|
|
5018
5043
|
|
|
5019
5044
|
/**
|
|
5020
|
-
* Promotes the read replica instance to be
|
|
5045
|
+
* Promotes the read replica instance to be an independent Cloud SQL primary instance. Using this operation might cause your instance to restart.
|
|
5021
5046
|
*
|
|
5022
5047
|
* @param params - Parameters for request
|
|
5023
5048
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5816,7 +5841,7 @@ export namespace sqladmin_v1 {
|
|
|
5816
5841
|
}
|
|
5817
5842
|
|
|
5818
5843
|
/**
|
|
5819
|
-
* Switches over from the primary instance to the replica instance.
|
|
5844
|
+
* Switches over from the primary instance to the designated DR replica instance.
|
|
5820
5845
|
*
|
|
5821
5846
|
* @param params - Parameters for request
|
|
5822
5847
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -6274,7 +6299,7 @@ export namespace sqladmin_v1 {
|
|
|
6274
6299
|
export interface Params$Resource$Instances$Promotereplica
|
|
6275
6300
|
extends StandardParameters {
|
|
6276
6301
|
/**
|
|
6277
|
-
* Set to true
|
|
6302
|
+
* Set to true to invoke a replica failover to the designated DR replica. As part of replica failover, the promote operation attempts to add the original primary instance as a replica of the promoted DR replica when the original primary instance comes back online. If set to false or not specified, then the original primary instance becomes an independent Cloud SQL primary instance. Only applicable to MySQL.
|
|
6278
6303
|
*/
|
|
6279
6304
|
failover?: boolean;
|
|
6280
6305
|
/**
|
package/v1beta4.ts
CHANGED
|
@@ -210,6 +210,23 @@ export namespace sqladmin_v1beta4 {
|
|
|
210
210
|
*/
|
|
211
211
|
region?: string | null;
|
|
212
212
|
}
|
|
213
|
+
/**
|
|
214
|
+
* An available database version. It can be a major or a minor version.
|
|
215
|
+
*/
|
|
216
|
+
export interface Schema$AvailableDatabaseVersion {
|
|
217
|
+
/**
|
|
218
|
+
* The database version's display name.
|
|
219
|
+
*/
|
|
220
|
+
displayName?: string | null;
|
|
221
|
+
/**
|
|
222
|
+
* The version's major version name.
|
|
223
|
+
*/
|
|
224
|
+
majorVersion?: string | null;
|
|
225
|
+
/**
|
|
226
|
+
* The database version name. For MySQL 8.0, this string provides the database major and minor version.
|
|
227
|
+
*/
|
|
228
|
+
name?: string | null;
|
|
229
|
+
}
|
|
213
230
|
/**
|
|
214
231
|
* Database instance backup configuration.
|
|
215
232
|
*/
|
|
@@ -434,7 +451,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
434
451
|
*/
|
|
435
452
|
pointInTime?: string | null;
|
|
436
453
|
/**
|
|
437
|
-
* Optional.
|
|
454
|
+
* Optional. Copy clone and point-in-time recovery clone of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field.
|
|
455
|
+
*/
|
|
456
|
+
preferredSecondaryZone?: string | null;
|
|
457
|
+
/**
|
|
458
|
+
* Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance.
|
|
438
459
|
*/
|
|
439
460
|
preferredZone?: string | null;
|
|
440
461
|
}
|
|
@@ -651,7 +672,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
651
672
|
*/
|
|
652
673
|
replicaNames?: string[] | null;
|
|
653
674
|
/**
|
|
654
|
-
*
|
|
675
|
+
* A primary instance and disaster recovery (DR) replica pair. A DR replica is a cross-region replica that you designate for failover in the event that the primary instance experiences regional failure. Only applicable to MySQL.
|
|
655
676
|
*/
|
|
656
677
|
replicationCluster?: Schema$ReplicationCluster;
|
|
657
678
|
/**
|
|
@@ -659,7 +680,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
659
680
|
*/
|
|
660
681
|
rootPassword?: string | null;
|
|
661
682
|
/**
|
|
662
|
-
*
|
|
683
|
+
* This status indicates whether the instance satisfies PZS. The status is reserved for future use.
|
|
663
684
|
*/
|
|
664
685
|
satisfiesPzs?: boolean | null;
|
|
665
686
|
/**
|
|
@@ -698,6 +719,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
698
719
|
* If the instance state is SUSPENDED, the reason for the suspension.
|
|
699
720
|
*/
|
|
700
721
|
suspensionReason?: string[] | null;
|
|
722
|
+
/**
|
|
723
|
+
* Output only. All database versions that are available for upgrade.
|
|
724
|
+
*/
|
|
725
|
+
upgradableDatabaseVersions?: Schema$AvailableDatabaseVersion[];
|
|
701
726
|
/**
|
|
702
727
|
* Output only. The dns name of the primary instance in a replication group.
|
|
703
728
|
*/
|
|
@@ -979,11 +1004,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
979
1004
|
kind?: string | null;
|
|
980
1005
|
}
|
|
981
1006
|
/**
|
|
982
|
-
* Gemini configuration.
|
|
1007
|
+
* Gemini instance configuration.
|
|
983
1008
|
*/
|
|
984
1009
|
export interface Schema$GeminiInstanceConfig {
|
|
985
1010
|
/**
|
|
986
|
-
* Output only. Whether active query is enabled.
|
|
1011
|
+
* Output only. Whether the active query is enabled.
|
|
987
1012
|
*/
|
|
988
1013
|
activeQueryEnabled?: boolean | null;
|
|
989
1014
|
/**
|
|
@@ -991,19 +1016,19 @@ export namespace sqladmin_v1beta4 {
|
|
|
991
1016
|
*/
|
|
992
1017
|
entitled?: boolean | null;
|
|
993
1018
|
/**
|
|
994
|
-
* Output only. Whether flag recommender is enabled.
|
|
1019
|
+
* Output only. Whether the flag recommender is enabled.
|
|
995
1020
|
*/
|
|
996
1021
|
flagRecommenderEnabled?: boolean | null;
|
|
997
1022
|
/**
|
|
998
|
-
* Output only. Whether vacuum management is enabled.
|
|
1023
|
+
* Output only. Whether the vacuum management is enabled.
|
|
999
1024
|
*/
|
|
1000
1025
|
googleVacuumMgmtEnabled?: boolean | null;
|
|
1001
1026
|
/**
|
|
1002
|
-
* Output only. Whether index advisor is enabled.
|
|
1027
|
+
* Output only. Whether the index advisor is enabled.
|
|
1003
1028
|
*/
|
|
1004
1029
|
indexAdvisorEnabled?: boolean | null;
|
|
1005
1030
|
/**
|
|
1006
|
-
* Output only. Whether
|
|
1031
|
+
* Output only. Whether canceling the out-of-memory (OOM) session is enabled.
|
|
1007
1032
|
*/
|
|
1008
1033
|
oomSessionCancelEnabled?: boolean | null;
|
|
1009
1034
|
}
|
|
@@ -1302,7 +1327,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1302
1327
|
*/
|
|
1303
1328
|
requireSsl?: boolean | null;
|
|
1304
1329
|
/**
|
|
1305
|
-
* Specify how SSL/TLS is enforced in database connections. If you must use the `require_ssl` flag for backward compatibility, then only the following value pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For SQL Server: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode`
|
|
1330
|
+
* Specify how SSL/TLS is enforced in database connections. If you must use the `require_ssl` flag for backward compatibility, then only the following value pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For SQL Server: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode` has priority over the value of `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`, `ssl_mode=ENCRYPTED_ONLY` means accept only SSL connections, while `require_ssl=false` means accept both non-SSL and SSL connections. In this case, MySQL and PostgreSQL databases respect `ssl_mode` and accepts only SSL connections.
|
|
1306
1331
|
*/
|
|
1307
1332
|
sslMode?: string | null;
|
|
1308
1333
|
}
|
|
@@ -1708,17 +1733,21 @@ export namespace sqladmin_v1beta4 {
|
|
|
1708
1733
|
mysqlReplicaConfiguration?: Schema$MySqlReplicaConfiguration;
|
|
1709
1734
|
}
|
|
1710
1735
|
/**
|
|
1711
|
-
*
|
|
1736
|
+
* A primary instance and disaster recovery (DR) replica pair. A DR replica is a cross-region replica that you designate for failover in the event that the primary instance has regional failure. Only applicable to MySQL.
|
|
1712
1737
|
*/
|
|
1713
1738
|
export interface Schema$ReplicationCluster {
|
|
1714
1739
|
/**
|
|
1715
|
-
* Output only.
|
|
1740
|
+
* Output only. Read-only field that indicates whether the replica is a DR replica. This field is not set if the instance is a primary instance.
|
|
1716
1741
|
*/
|
|
1717
1742
|
drReplica?: boolean | null;
|
|
1718
1743
|
/**
|
|
1719
|
-
* Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set.
|
|
1744
|
+
* Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set. Set this field to a replica name to designate a DR replica for a primary instance. Remove the replica name to remove the DR replica designation.
|
|
1720
1745
|
*/
|
|
1721
1746
|
failoverDrReplicaName?: string | null;
|
|
1747
|
+
/**
|
|
1748
|
+
* Output only. If set, it indicates this instance has a private service access (PSA) dns endpoint that is pointing to the primary instance of the cluster. If this instance is the primary, the dns should be pointing to this instance. After Switchover or Replica failover, this DNS endpoint points to the promoted instance. This is a read-only field, returned to the user as information. This field can exist even if a standalone instance does not yet have a replica, or had a DR replica that was deleted.
|
|
1749
|
+
*/
|
|
1750
|
+
psaWriteEndpoint?: string | null;
|
|
1722
1751
|
}
|
|
1723
1752
|
export interface Schema$Reschedule {
|
|
1724
1753
|
/**
|
|
@@ -1777,7 +1806,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1777
1806
|
*/
|
|
1778
1807
|
activeDirectoryConfig?: Schema$SqlActiveDirectoryConfig;
|
|
1779
1808
|
/**
|
|
1780
|
-
* Specifies
|
|
1809
|
+
* Specifies advanced machine configuration for the instances relevant only for SQL Server.
|
|
1781
1810
|
*/
|
|
1782
1811
|
advancedMachineFeatures?: Schema$AdvancedMachineFeatures;
|
|
1783
1812
|
/**
|
|
@@ -1994,7 +2023,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1994
2023
|
export interface Schema$SqlInstancesResetReplicaSizeRequest {}
|
|
1995
2024
|
export interface Schema$SqlInstancesStartExternalSyncRequest {
|
|
1996
2025
|
/**
|
|
1997
|
-
* Optional. MigrationType
|
|
2026
|
+
* Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.
|
|
1998
2027
|
*/
|
|
1999
2028
|
migrationType?: string | null;
|
|
2000
2029
|
/**
|
|
@@ -2016,7 +2045,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
2016
2045
|
}
|
|
2017
2046
|
export interface Schema$SqlInstancesVerifyExternalSyncSettingsRequest {
|
|
2018
2047
|
/**
|
|
2019
|
-
* Optional. MigrationType
|
|
2048
|
+
* Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.
|
|
2020
2049
|
*/
|
|
2021
2050
|
migrationType?: string | null;
|
|
2022
2051
|
/**
|
|
@@ -2028,7 +2057,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
2028
2057
|
*/
|
|
2029
2058
|
syncMode?: string | null;
|
|
2030
2059
|
/**
|
|
2031
|
-
* Optional. Parallel level for initial data sync.
|
|
2060
|
+
* Optional. Parallel level for initial data sync. Only applicable for PostgreSQL.
|
|
2032
2061
|
*/
|
|
2033
2062
|
syncParallelLevel?: string | null;
|
|
2034
2063
|
/**
|
|
@@ -5021,7 +5050,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
5021
5050
|
}
|
|
5022
5051
|
|
|
5023
5052
|
/**
|
|
5024
|
-
* Promotes the read replica instance to be
|
|
5053
|
+
* Promotes the read replica instance to be an independent Cloud SQL primary instance. Using this operation might cause your instance to restart.
|
|
5025
5054
|
*
|
|
5026
5055
|
* @param params - Parameters for request
|
|
5027
5056
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5822,7 +5851,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
5822
5851
|
}
|
|
5823
5852
|
|
|
5824
5853
|
/**
|
|
5825
|
-
* Switches over from the primary instance to
|
|
5854
|
+
* Switches over from the primary instance to the designated DR replica instance.
|
|
5826
5855
|
*
|
|
5827
5856
|
* @param params - Parameters for request
|
|
5828
5857
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -6281,7 +6310,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
6281
6310
|
export interface Params$Resource$Instances$Promotereplica
|
|
6282
6311
|
extends StandardParameters {
|
|
6283
6312
|
/**
|
|
6284
|
-
* Set to true
|
|
6313
|
+
* Set to true to invoke a replica failover to the designated DR replica. As part of replica failover, the promote operation attempts to add the original primary instance as a replica of the promoted DR replica when the original primary instance comes back online. If set to false or not specified, then the original primary instance becomes an independent Cloud SQL primary instance. Only applicable to MySQL.
|
|
6285
6314
|
*/
|
|
6286
6315
|
failover?: boolean;
|
|
6287
6316
|
/**
|