@maxim_mazurok/gapi.client.sqladmin-v1beta4 0.0.20241210 → 0.0.20250129
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/index.d.ts +37 -35
- package/package.json +1 -1
- package/readme.md +2 -2
package/index.d.ts
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://sqladmin.googleapis.com/$discovery/rest?version=v1beta4
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250129
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
17
|
/** Load Cloud SQL Admin API v1beta4 */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://sqladmin.googleapis.com/$discovery/rest?version=v1beta4'
|
|
19
|
+
urlOrObject: 'https://sqladmin.googleapis.com/$discovery/rest?version=v1beta4',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(name: 'sqladmin', version: 'v1beta4'): Promise<void>;
|
|
@@ -24,7 +24,7 @@ declare namespace gapi.client {
|
|
|
24
24
|
function load(
|
|
25
25
|
name: 'sqladmin',
|
|
26
26
|
version: 'v1beta4',
|
|
27
|
-
callback: () => any
|
|
27
|
+
callback: () => any,
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace sql {
|
|
@@ -369,7 +369,7 @@ declare namespace gapi.client {
|
|
|
369
369
|
caCertificate?: string;
|
|
370
370
|
/** PEM representation of the replica's x509 certificate. */
|
|
371
371
|
clientCertificate?: string;
|
|
372
|
-
/** PEM representation of the replica's private key. The
|
|
372
|
+
/** PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate. The format of the replica's private key can be either PKCS #1 or PKCS #8. */
|
|
373
373
|
clientKey?: string;
|
|
374
374
|
/** This is always `sql#demoteMasterMysqlReplicaConfiguration`. */
|
|
375
375
|
kind?: string;
|
|
@@ -746,7 +746,7 @@ declare namespace gapi.client {
|
|
|
746
746
|
caCertificate?: string;
|
|
747
747
|
/** PEM representation of the replica's x509 certificate. */
|
|
748
748
|
clientCertificate?: string;
|
|
749
|
-
/** PEM representation of the replica's private key. The
|
|
749
|
+
/** PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate. */
|
|
750
750
|
clientKey?: string;
|
|
751
751
|
/** Seconds to wait between connect retries. MySQL's default is 60 seconds. */
|
|
752
752
|
connectRetryInterval?: number;
|
|
@@ -774,7 +774,7 @@ declare namespace gapi.client {
|
|
|
774
774
|
caCertificate?: string;
|
|
775
775
|
/** PEM representation of the replica's x509 certificate. */
|
|
776
776
|
clientCertificate?: string;
|
|
777
|
-
/** PEM representation of the replica's private key. The
|
|
777
|
+
/** PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate. */
|
|
778
778
|
clientKey?: string;
|
|
779
779
|
/** The dump file to create the Cloud SQL replica. */
|
|
780
780
|
dumpFilePath?: string;
|
|
@@ -1018,6 +1018,8 @@ declare namespace gapi.client {
|
|
|
1018
1018
|
passwordValidationPolicy?: PasswordValidationPolicy;
|
|
1019
1019
|
/** The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances. */
|
|
1020
1020
|
pricingPlan?: string;
|
|
1021
|
+
/** Optional. Configuration value for recreation of replica after certain replication lag */
|
|
1022
|
+
replicationLagMaxSeconds?: number;
|
|
1021
1023
|
/** The type of replication this instance uses. This can be either `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only applicable to First Generation instances. */
|
|
1022
1024
|
replicationType?: string;
|
|
1023
1025
|
/** The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value. */
|
|
@@ -1401,7 +1403,7 @@ declare namespace gapi.client {
|
|
|
1401
1403
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1402
1404
|
uploadType?: string;
|
|
1403
1405
|
},
|
|
1404
|
-
body: BackupRun
|
|
1406
|
+
body: BackupRun,
|
|
1405
1407
|
): Request<Operation>;
|
|
1406
1408
|
/** Lists all backup runs associated with the project or a given instance and configuration in the reverse chronological order of the backup initiation time. */
|
|
1407
1409
|
list(request?: {
|
|
@@ -1498,7 +1500,7 @@ declare namespace gapi.client {
|
|
|
1498
1500
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1499
1501
|
uploadType?: string;
|
|
1500
1502
|
},
|
|
1501
|
-
body: GenerateEphemeralCertRequest
|
|
1503
|
+
body: GenerateEphemeralCertRequest,
|
|
1502
1504
|
): Request<GenerateEphemeralCertResponse>;
|
|
1503
1505
|
/** Retrieves connect settings about a Cloud SQL instance. */
|
|
1504
1506
|
get(request?: {
|
|
@@ -1655,7 +1657,7 @@ declare namespace gapi.client {
|
|
|
1655
1657
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1656
1658
|
uploadType?: string;
|
|
1657
1659
|
},
|
|
1658
|
-
body: Database
|
|
1660
|
+
body: Database,
|
|
1659
1661
|
): Request<Operation>;
|
|
1660
1662
|
/** Lists databases in the specified Cloud SQL instance. */
|
|
1661
1663
|
list(request?: {
|
|
@@ -1750,7 +1752,7 @@ declare namespace gapi.client {
|
|
|
1750
1752
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1751
1753
|
uploadType?: string;
|
|
1752
1754
|
},
|
|
1753
|
-
body: Database
|
|
1755
|
+
body: Database,
|
|
1754
1756
|
): Request<Operation>;
|
|
1755
1757
|
/** Updates a resource containing information about a database inside a Cloud SQL instance. */
|
|
1756
1758
|
update(request: {
|
|
@@ -1816,7 +1818,7 @@ declare namespace gapi.client {
|
|
|
1816
1818
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1817
1819
|
uploadType?: string;
|
|
1818
1820
|
},
|
|
1819
|
-
body: Database
|
|
1821
|
+
body: Database,
|
|
1820
1822
|
): Request<Operation>;
|
|
1821
1823
|
}
|
|
1822
1824
|
interface FlagsResource {
|
|
@@ -1909,7 +1911,7 @@ declare namespace gapi.client {
|
|
|
1909
1911
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1910
1912
|
uploadType?: string;
|
|
1911
1913
|
},
|
|
1912
|
-
body: InstancesAcquireSsrsLeaseRequest
|
|
1914
|
+
body: InstancesAcquireSsrsLeaseRequest,
|
|
1913
1915
|
): Request<SqlInstancesAcquireSsrsLeaseResponse>;
|
|
1914
1916
|
/** Add a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in. For instances that have enabled Certificate Authority Service (CAS) based server CA, use AddServerCertificate to add a new server certificate. */
|
|
1915
1917
|
addServerCa(request?: {
|
|
@@ -2029,7 +2031,7 @@ declare namespace gapi.client {
|
|
|
2029
2031
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2030
2032
|
uploadType?: string;
|
|
2031
2033
|
},
|
|
2032
|
-
body: InstancesCloneRequest
|
|
2034
|
+
body: InstancesCloneRequest,
|
|
2033
2035
|
): Request<Operation>;
|
|
2034
2036
|
/** Deletes a Cloud SQL instance. */
|
|
2035
2037
|
delete(request?: {
|
|
@@ -2120,7 +2122,7 @@ declare namespace gapi.client {
|
|
|
2120
2122
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2121
2123
|
uploadType?: string;
|
|
2122
2124
|
},
|
|
2123
|
-
body: InstancesDemoteRequest
|
|
2125
|
+
body: InstancesDemoteRequest,
|
|
2124
2126
|
): Request<Operation>;
|
|
2125
2127
|
/** Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server. */
|
|
2126
2128
|
demoteMaster(request: {
|
|
@@ -2182,7 +2184,7 @@ declare namespace gapi.client {
|
|
|
2182
2184
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2183
2185
|
uploadType?: string;
|
|
2184
2186
|
},
|
|
2185
|
-
body: InstancesDemoteMasterRequest
|
|
2187
|
+
body: InstancesDemoteMasterRequest,
|
|
2186
2188
|
): Request<Operation>;
|
|
2187
2189
|
/** Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file. */
|
|
2188
2190
|
export(request: {
|
|
@@ -2244,7 +2246,7 @@ declare namespace gapi.client {
|
|
|
2244
2246
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2245
2247
|
uploadType?: string;
|
|
2246
2248
|
},
|
|
2247
|
-
body: InstancesExportRequest
|
|
2249
|
+
body: InstancesExportRequest,
|
|
2248
2250
|
): Request<Operation>;
|
|
2249
2251
|
/** Initiates a manual failover of a high availability (HA) primary instance to a standby instance, which becomes the primary instance. Users are then rerouted to the new primary. For more information, see the [Overview of high availability](https://cloud.google.com/sql/docs/mysql/high-availability) page in the Cloud SQL documentation. If using Legacy HA (MySQL only), this causes the instance to failover to its failover replica instance. */
|
|
2250
2252
|
failover(request: {
|
|
@@ -2306,7 +2308,7 @@ declare namespace gapi.client {
|
|
|
2306
2308
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2307
2309
|
uploadType?: string;
|
|
2308
2310
|
},
|
|
2309
|
-
body: InstancesFailoverRequest
|
|
2311
|
+
body: InstancesFailoverRequest,
|
|
2310
2312
|
): Request<Operation>;
|
|
2311
2313
|
/** Retrieves a resource containing information about a Cloud SQL instance. */
|
|
2312
2314
|
get(request?: {
|
|
@@ -2397,7 +2399,7 @@ declare namespace gapi.client {
|
|
|
2397
2399
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2398
2400
|
uploadType?: string;
|
|
2399
2401
|
},
|
|
2400
|
-
body: InstancesImportRequest
|
|
2402
|
+
body: InstancesImportRequest,
|
|
2401
2403
|
): Request<Operation>;
|
|
2402
2404
|
/** Creates a new Cloud SQL instance. */
|
|
2403
2405
|
insert(request: {
|
|
@@ -2455,7 +2457,7 @@ declare namespace gapi.client {
|
|
|
2455
2457
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2456
2458
|
uploadType?: string;
|
|
2457
2459
|
},
|
|
2458
|
-
body: DatabaseInstance
|
|
2460
|
+
body: DatabaseInstance,
|
|
2459
2461
|
): Request<Operation>;
|
|
2460
2462
|
/** Lists instances under a given project. */
|
|
2461
2463
|
list(request?: {
|
|
@@ -2608,7 +2610,7 @@ declare namespace gapi.client {
|
|
|
2608
2610
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2609
2611
|
uploadType?: string;
|
|
2610
2612
|
},
|
|
2611
|
-
body: DatabaseInstance
|
|
2613
|
+
body: DatabaseInstance,
|
|
2612
2614
|
): Request<Operation>;
|
|
2613
2615
|
/** Promotes the read replica instance to be an independent Cloud SQL primary instance. Using this operation might cause your instance to restart. */
|
|
2614
2616
|
promoteReplica(request?: {
|
|
@@ -2701,7 +2703,7 @@ declare namespace gapi.client {
|
|
|
2701
2703
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2702
2704
|
uploadType?: string;
|
|
2703
2705
|
},
|
|
2704
|
-
body: InstancesReencryptRequest
|
|
2706
|
+
body: InstancesReencryptRequest,
|
|
2705
2707
|
): Request<Operation>;
|
|
2706
2708
|
/** Release a lease for the setup of SQL Server Reporting Services (SSRS). */
|
|
2707
2709
|
releaseSsrsLease(request?: {
|
|
@@ -2850,7 +2852,7 @@ declare namespace gapi.client {
|
|
|
2850
2852
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2851
2853
|
uploadType?: string;
|
|
2852
2854
|
},
|
|
2853
|
-
body: InstancesRestoreBackupRequest
|
|
2855
|
+
body: InstancesRestoreBackupRequest,
|
|
2854
2856
|
): Request<Operation>;
|
|
2855
2857
|
/** Rotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method. For instances that have enabled Certificate Authority Service (CAS) based server CA, use RotateServerCertificate to rotate the server certificate. */
|
|
2856
2858
|
rotateServerCa(request: {
|
|
@@ -2912,7 +2914,7 @@ declare namespace gapi.client {
|
|
|
2912
2914
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2913
2915
|
uploadType?: string;
|
|
2914
2916
|
},
|
|
2915
|
-
body: InstancesRotateServerCaRequest
|
|
2917
|
+
body: InstancesRotateServerCaRequest,
|
|
2916
2918
|
): Request<Operation>;
|
|
2917
2919
|
/** Rotates the server certificate version to one previously added with the addServerCertificate method. For instances not using Certificate Authority Service (CAS) server CA, use RotateServerCa instead. */
|
|
2918
2920
|
RotateServerCertificate(request: {
|
|
@@ -2974,7 +2976,7 @@ declare namespace gapi.client {
|
|
|
2974
2976
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2975
2977
|
uploadType?: string;
|
|
2976
2978
|
},
|
|
2977
|
-
body: InstancesRotateServerCertificateRequest
|
|
2979
|
+
body: InstancesRotateServerCertificateRequest,
|
|
2978
2980
|
): Request<Operation>;
|
|
2979
2981
|
/** Starts the replication in the read replica instance. */
|
|
2980
2982
|
startReplica(request?: {
|
|
@@ -3125,7 +3127,7 @@ declare namespace gapi.client {
|
|
|
3125
3127
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3126
3128
|
uploadType?: string;
|
|
3127
3129
|
},
|
|
3128
|
-
body: InstancesTruncateLogRequest
|
|
3130
|
+
body: InstancesTruncateLogRequest,
|
|
3129
3131
|
): Request<Operation>;
|
|
3130
3132
|
/** Updates settings of a Cloud SQL instance. Using this operation might cause your instance to restart. */
|
|
3131
3133
|
update(request: {
|
|
@@ -3187,7 +3189,7 @@ declare namespace gapi.client {
|
|
|
3187
3189
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3188
3190
|
uploadType?: string;
|
|
3189
3191
|
},
|
|
3190
|
-
body: DatabaseInstance
|
|
3192
|
+
body: DatabaseInstance,
|
|
3191
3193
|
): Request<Operation>;
|
|
3192
3194
|
}
|
|
3193
3195
|
interface OperationsResource {
|
|
@@ -3402,7 +3404,7 @@ declare namespace gapi.client {
|
|
|
3402
3404
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3403
3405
|
uploadType?: string;
|
|
3404
3406
|
},
|
|
3405
|
-
body: PerformDiskShrinkContext
|
|
3407
|
+
body: PerformDiskShrinkContext,
|
|
3406
3408
|
): Request<Operation>;
|
|
3407
3409
|
/** Reschedules the maintenance on the given instance. */
|
|
3408
3410
|
rescheduleMaintenance(request: {
|
|
@@ -3464,7 +3466,7 @@ declare namespace gapi.client {
|
|
|
3464
3466
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3465
3467
|
uploadType?: string;
|
|
3466
3468
|
},
|
|
3467
|
-
body: SqlInstancesRescheduleMaintenanceRequestBody
|
|
3469
|
+
body: SqlInstancesRescheduleMaintenanceRequestBody,
|
|
3468
3470
|
): Request<Operation>;
|
|
3469
3471
|
/** Reset Replica Size to primary instance disk size. */
|
|
3470
3472
|
resetReplicaSize(request: {
|
|
@@ -3526,7 +3528,7 @@ declare namespace gapi.client {
|
|
|
3526
3528
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3527
3529
|
uploadType?: string;
|
|
3528
3530
|
},
|
|
3529
|
-
body: SqlInstancesResetReplicaSizeRequest
|
|
3531
|
+
body: SqlInstancesResetReplicaSizeRequest,
|
|
3530
3532
|
): Request<Operation>;
|
|
3531
3533
|
/** Start External primary instance migration. */
|
|
3532
3534
|
startExternalSync(request: {
|
|
@@ -3588,7 +3590,7 @@ declare namespace gapi.client {
|
|
|
3588
3590
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3589
3591
|
uploadType?: string;
|
|
3590
3592
|
},
|
|
3591
|
-
body: SqlInstancesStartExternalSyncRequest
|
|
3593
|
+
body: SqlInstancesStartExternalSyncRequest,
|
|
3592
3594
|
): Request<Operation>;
|
|
3593
3595
|
/** Verify External primary instance external sync settings. */
|
|
3594
3596
|
verifyExternalSyncSettings(request: {
|
|
@@ -3650,7 +3652,7 @@ declare namespace gapi.client {
|
|
|
3650
3652
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3651
3653
|
uploadType?: string;
|
|
3652
3654
|
},
|
|
3653
|
-
body: SqlInstancesVerifyExternalSyncSettingsRequest
|
|
3655
|
+
body: SqlInstancesVerifyExternalSyncSettingsRequest,
|
|
3654
3656
|
): Request<SqlInstancesVerifyExternalSyncSettingsResponse>;
|
|
3655
3657
|
}
|
|
3656
3658
|
interface ProjectsResource {
|
|
@@ -3717,7 +3719,7 @@ declare namespace gapi.client {
|
|
|
3717
3719
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3718
3720
|
uploadType?: string;
|
|
3719
3721
|
},
|
|
3720
|
-
body: SslCertsCreateEphemeralRequest
|
|
3722
|
+
body: SslCertsCreateEphemeralRequest,
|
|
3721
3723
|
): Request<SslCert>;
|
|
3722
3724
|
/** Deletes the SSL certificate. For First Generation instances, the certificate remains valid until the instance is restarted. */
|
|
3723
3725
|
delete(request?: {
|
|
@@ -3841,7 +3843,7 @@ declare namespace gapi.client {
|
|
|
3841
3843
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3842
3844
|
uploadType?: string;
|
|
3843
3845
|
},
|
|
3844
|
-
body: SslCertsInsertRequest
|
|
3846
|
+
body: SslCertsInsertRequest,
|
|
3845
3847
|
): Request<SslCertsInsertResponse>;
|
|
3846
3848
|
/** Lists all of the current SSL certificates for the instance. */
|
|
3847
3849
|
list(request?: {
|
|
@@ -4029,7 +4031,7 @@ declare namespace gapi.client {
|
|
|
4029
4031
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4030
4032
|
uploadType?: string;
|
|
4031
4033
|
},
|
|
4032
|
-
body: User
|
|
4034
|
+
body: User,
|
|
4033
4035
|
): Request<Operation>;
|
|
4034
4036
|
/** Lists users in the specified Cloud SQL instance. */
|
|
4035
4037
|
list(request?: {
|
|
@@ -4128,7 +4130,7 @@ declare namespace gapi.client {
|
|
|
4128
4130
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4129
4131
|
uploadType?: string;
|
|
4130
4132
|
},
|
|
4131
|
-
body: User
|
|
4133
|
+
body: User,
|
|
4132
4134
|
): Request<Operation>;
|
|
4133
4135
|
}
|
|
4134
4136
|
|
package/package.json
CHANGED
package/readme.md
CHANGED