@maxim_mazurok/gapi.client.sqladmin-v1 0.0.20250117 → 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 +34 -34
- 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=v1
|
|
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 v1 */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://sqladmin.googleapis.com/$discovery/rest?version=v1'
|
|
19
|
+
urlOrObject: 'https://sqladmin.googleapis.com/$discovery/rest?version=v1',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(name: 'sqladmin', version: 'v1'): Promise<void>;
|
|
@@ -364,7 +364,7 @@ declare namespace gapi.client {
|
|
|
364
364
|
caCertificate?: string;
|
|
365
365
|
/** PEM representation of the replica's x509 certificate. */
|
|
366
366
|
clientCertificate?: string;
|
|
367
|
-
/** PEM representation of the replica's private key. The
|
|
367
|
+
/** 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. */
|
|
368
368
|
clientKey?: string;
|
|
369
369
|
/** This is always `sql#demoteMasterMysqlReplicaConfiguration`. */
|
|
370
370
|
kind?: string;
|
|
@@ -741,7 +741,7 @@ declare namespace gapi.client {
|
|
|
741
741
|
caCertificate?: string;
|
|
742
742
|
/** PEM representation of the replica's x509 certificate. */
|
|
743
743
|
clientCertificate?: string;
|
|
744
|
-
/** PEM representation of the replica's private key. The
|
|
744
|
+
/** PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate. */
|
|
745
745
|
clientKey?: string;
|
|
746
746
|
/** Seconds to wait between connect retries. MySQL's default is 60 seconds. */
|
|
747
747
|
connectRetryInterval?: number;
|
|
@@ -769,7 +769,7 @@ declare namespace gapi.client {
|
|
|
769
769
|
caCertificate?: string;
|
|
770
770
|
/** PEM representation of the replica's x509 certificate. */
|
|
771
771
|
clientCertificate?: string;
|
|
772
|
-
/** PEM representation of the replica's private key. The
|
|
772
|
+
/** PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate. */
|
|
773
773
|
clientKey?: string;
|
|
774
774
|
/** The dump file to create the Cloud SQL replica. */
|
|
775
775
|
dumpFilePath?: string;
|
|
@@ -1398,7 +1398,7 @@ declare namespace gapi.client {
|
|
|
1398
1398
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1399
1399
|
uploadType?: string;
|
|
1400
1400
|
},
|
|
1401
|
-
body: BackupRun
|
|
1401
|
+
body: BackupRun,
|
|
1402
1402
|
): Request<Operation>;
|
|
1403
1403
|
/** Lists all backup runs associated with the project or a given instance and configuration in the reverse chronological order of the backup initiation time. */
|
|
1404
1404
|
list(request?: {
|
|
@@ -1495,7 +1495,7 @@ declare namespace gapi.client {
|
|
|
1495
1495
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1496
1496
|
uploadType?: string;
|
|
1497
1497
|
},
|
|
1498
|
-
body: GenerateEphemeralCertRequest
|
|
1498
|
+
body: GenerateEphemeralCertRequest,
|
|
1499
1499
|
): Request<GenerateEphemeralCertResponse>;
|
|
1500
1500
|
/** Retrieves connect settings about a Cloud SQL instance. */
|
|
1501
1501
|
get(request?: {
|
|
@@ -1652,7 +1652,7 @@ declare namespace gapi.client {
|
|
|
1652
1652
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1653
1653
|
uploadType?: string;
|
|
1654
1654
|
},
|
|
1655
|
-
body: Database
|
|
1655
|
+
body: Database,
|
|
1656
1656
|
): Request<Operation>;
|
|
1657
1657
|
/** Lists databases in the specified Cloud SQL instance. */
|
|
1658
1658
|
list(request?: {
|
|
@@ -1747,7 +1747,7 @@ declare namespace gapi.client {
|
|
|
1747
1747
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1748
1748
|
uploadType?: string;
|
|
1749
1749
|
},
|
|
1750
|
-
body: Database
|
|
1750
|
+
body: Database,
|
|
1751
1751
|
): Request<Operation>;
|
|
1752
1752
|
/** Updates a resource containing information about a database inside a Cloud SQL instance. */
|
|
1753
1753
|
update(request: {
|
|
@@ -1813,7 +1813,7 @@ declare namespace gapi.client {
|
|
|
1813
1813
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1814
1814
|
uploadType?: string;
|
|
1815
1815
|
},
|
|
1816
|
-
body: Database
|
|
1816
|
+
body: Database,
|
|
1817
1817
|
): Request<Operation>;
|
|
1818
1818
|
}
|
|
1819
1819
|
interface FlagsResource {
|
|
@@ -1906,7 +1906,7 @@ declare namespace gapi.client {
|
|
|
1906
1906
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1907
1907
|
uploadType?: string;
|
|
1908
1908
|
},
|
|
1909
|
-
body: InstancesAcquireSsrsLeaseRequest
|
|
1909
|
+
body: InstancesAcquireSsrsLeaseRequest,
|
|
1910
1910
|
): Request<SqlInstancesAcquireSsrsLeaseResponse>;
|
|
1911
1911
|
/** Adds 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. */
|
|
1912
1912
|
addServerCa(request?: {
|
|
@@ -2026,7 +2026,7 @@ declare namespace gapi.client {
|
|
|
2026
2026
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2027
2027
|
uploadType?: string;
|
|
2028
2028
|
},
|
|
2029
|
-
body: InstancesCloneRequest
|
|
2029
|
+
body: InstancesCloneRequest,
|
|
2030
2030
|
): Request<Operation>;
|
|
2031
2031
|
/** Deletes a Cloud SQL instance. */
|
|
2032
2032
|
delete(request?: {
|
|
@@ -2117,7 +2117,7 @@ declare namespace gapi.client {
|
|
|
2117
2117
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2118
2118
|
uploadType?: string;
|
|
2119
2119
|
},
|
|
2120
|
-
body: InstancesDemoteRequest
|
|
2120
|
+
body: InstancesDemoteRequest,
|
|
2121
2121
|
): Request<Operation>;
|
|
2122
2122
|
/** Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server. */
|
|
2123
2123
|
demoteMaster(request: {
|
|
@@ -2179,7 +2179,7 @@ declare namespace gapi.client {
|
|
|
2179
2179
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2180
2180
|
uploadType?: string;
|
|
2181
2181
|
},
|
|
2182
|
-
body: InstancesDemoteMasterRequest
|
|
2182
|
+
body: InstancesDemoteMasterRequest,
|
|
2183
2183
|
): Request<Operation>;
|
|
2184
2184
|
/** Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file. */
|
|
2185
2185
|
export(request: {
|
|
@@ -2241,7 +2241,7 @@ declare namespace gapi.client {
|
|
|
2241
2241
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2242
2242
|
uploadType?: string;
|
|
2243
2243
|
},
|
|
2244
|
-
body: InstancesExportRequest
|
|
2244
|
+
body: InstancesExportRequest,
|
|
2245
2245
|
): Request<Operation>;
|
|
2246
2246
|
/** 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. */
|
|
2247
2247
|
failover(request: {
|
|
@@ -2303,7 +2303,7 @@ declare namespace gapi.client {
|
|
|
2303
2303
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2304
2304
|
uploadType?: string;
|
|
2305
2305
|
},
|
|
2306
|
-
body: InstancesFailoverRequest
|
|
2306
|
+
body: InstancesFailoverRequest,
|
|
2307
2307
|
): Request<Operation>;
|
|
2308
2308
|
/** Retrieves a resource containing information about a Cloud SQL instance. */
|
|
2309
2309
|
get(request?: {
|
|
@@ -2394,7 +2394,7 @@ declare namespace gapi.client {
|
|
|
2394
2394
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2395
2395
|
uploadType?: string;
|
|
2396
2396
|
},
|
|
2397
|
-
body: InstancesImportRequest
|
|
2397
|
+
body: InstancesImportRequest,
|
|
2398
2398
|
): Request<Operation>;
|
|
2399
2399
|
/** Creates a new Cloud SQL instance. */
|
|
2400
2400
|
insert(request: {
|
|
@@ -2452,7 +2452,7 @@ declare namespace gapi.client {
|
|
|
2452
2452
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2453
2453
|
uploadType?: string;
|
|
2454
2454
|
},
|
|
2455
|
-
body: DatabaseInstance
|
|
2455
|
+
body: DatabaseInstance,
|
|
2456
2456
|
): Request<Operation>;
|
|
2457
2457
|
/** Lists instances under a given project. */
|
|
2458
2458
|
list(request?: {
|
|
@@ -2605,7 +2605,7 @@ declare namespace gapi.client {
|
|
|
2605
2605
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2606
2606
|
uploadType?: string;
|
|
2607
2607
|
},
|
|
2608
|
-
body: DatabaseInstance
|
|
2608
|
+
body: DatabaseInstance,
|
|
2609
2609
|
): Request<Operation>;
|
|
2610
2610
|
/** Promotes the read replica instance to be an independent Cloud SQL primary instance. Using this operation might cause your instance to restart. */
|
|
2611
2611
|
promoteReplica(request?: {
|
|
@@ -2698,7 +2698,7 @@ declare namespace gapi.client {
|
|
|
2698
2698
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2699
2699
|
uploadType?: string;
|
|
2700
2700
|
},
|
|
2701
|
-
body: InstancesReencryptRequest
|
|
2701
|
+
body: InstancesReencryptRequest,
|
|
2702
2702
|
): Request<Operation>;
|
|
2703
2703
|
/** Release a lease for the setup of SQL Server Reporting Services (SSRS). */
|
|
2704
2704
|
releaseSsrsLease(request?: {
|
|
@@ -2847,7 +2847,7 @@ declare namespace gapi.client {
|
|
|
2847
2847
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2848
2848
|
uploadType?: string;
|
|
2849
2849
|
},
|
|
2850
|
-
body: InstancesRestoreBackupRequest
|
|
2850
|
+
body: InstancesRestoreBackupRequest,
|
|
2851
2851
|
): Request<Operation>;
|
|
2852
2852
|
/** 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. */
|
|
2853
2853
|
rotateServerCa(request: {
|
|
@@ -2909,7 +2909,7 @@ declare namespace gapi.client {
|
|
|
2909
2909
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2910
2910
|
uploadType?: string;
|
|
2911
2911
|
},
|
|
2912
|
-
body: InstancesRotateServerCaRequest
|
|
2912
|
+
body: InstancesRotateServerCaRequest,
|
|
2913
2913
|
): Request<Operation>;
|
|
2914
2914
|
/** 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. */
|
|
2915
2915
|
RotateServerCertificate(request: {
|
|
@@ -2971,7 +2971,7 @@ declare namespace gapi.client {
|
|
|
2971
2971
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2972
2972
|
uploadType?: string;
|
|
2973
2973
|
},
|
|
2974
|
-
body: InstancesRotateServerCertificateRequest
|
|
2974
|
+
body: InstancesRotateServerCertificateRequest,
|
|
2975
2975
|
): Request<Operation>;
|
|
2976
2976
|
/** Starts the replication in the read replica instance. */
|
|
2977
2977
|
startReplica(request?: {
|
|
@@ -3122,7 +3122,7 @@ declare namespace gapi.client {
|
|
|
3122
3122
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3123
3123
|
uploadType?: string;
|
|
3124
3124
|
},
|
|
3125
|
-
body: InstancesTruncateLogRequest
|
|
3125
|
+
body: InstancesTruncateLogRequest,
|
|
3126
3126
|
): Request<Operation>;
|
|
3127
3127
|
/** Updates settings of a Cloud SQL instance. Using this operation might cause your instance to restart. */
|
|
3128
3128
|
update(request: {
|
|
@@ -3184,7 +3184,7 @@ declare namespace gapi.client {
|
|
|
3184
3184
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3185
3185
|
uploadType?: string;
|
|
3186
3186
|
},
|
|
3187
|
-
body: DatabaseInstance
|
|
3187
|
+
body: DatabaseInstance,
|
|
3188
3188
|
): Request<Operation>;
|
|
3189
3189
|
}
|
|
3190
3190
|
interface OperationsResource {
|
|
@@ -3399,7 +3399,7 @@ declare namespace gapi.client {
|
|
|
3399
3399
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3400
3400
|
uploadType?: string;
|
|
3401
3401
|
},
|
|
3402
|
-
body: PerformDiskShrinkContext
|
|
3402
|
+
body: PerformDiskShrinkContext,
|
|
3403
3403
|
): Request<Operation>;
|
|
3404
3404
|
/** Reschedules the maintenance on the given instance. */
|
|
3405
3405
|
rescheduleMaintenance(request: {
|
|
@@ -3461,7 +3461,7 @@ declare namespace gapi.client {
|
|
|
3461
3461
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3462
3462
|
uploadType?: string;
|
|
3463
3463
|
},
|
|
3464
|
-
body: SqlInstancesRescheduleMaintenanceRequestBody
|
|
3464
|
+
body: SqlInstancesRescheduleMaintenanceRequestBody,
|
|
3465
3465
|
): Request<Operation>;
|
|
3466
3466
|
/** Reset Replica Size to primary instance disk size. */
|
|
3467
3467
|
resetReplicaSize(request: {
|
|
@@ -3523,7 +3523,7 @@ declare namespace gapi.client {
|
|
|
3523
3523
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3524
3524
|
uploadType?: string;
|
|
3525
3525
|
},
|
|
3526
|
-
body: SqlInstancesResetReplicaSizeRequest
|
|
3526
|
+
body: SqlInstancesResetReplicaSizeRequest,
|
|
3527
3527
|
): Request<Operation>;
|
|
3528
3528
|
/** Start External primary instance migration. */
|
|
3529
3529
|
startExternalSync(request: {
|
|
@@ -3585,7 +3585,7 @@ declare namespace gapi.client {
|
|
|
3585
3585
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3586
3586
|
uploadType?: string;
|
|
3587
3587
|
},
|
|
3588
|
-
body: SqlInstancesStartExternalSyncRequest
|
|
3588
|
+
body: SqlInstancesStartExternalSyncRequest,
|
|
3589
3589
|
): Request<Operation>;
|
|
3590
3590
|
/** Verify External primary instance external sync settings. */
|
|
3591
3591
|
verifyExternalSyncSettings(request: {
|
|
@@ -3647,7 +3647,7 @@ declare namespace gapi.client {
|
|
|
3647
3647
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3648
3648
|
uploadType?: string;
|
|
3649
3649
|
},
|
|
3650
|
-
body: SqlInstancesVerifyExternalSyncSettingsRequest
|
|
3650
|
+
body: SqlInstancesVerifyExternalSyncSettingsRequest,
|
|
3651
3651
|
): Request<SqlInstancesVerifyExternalSyncSettingsResponse>;
|
|
3652
3652
|
}
|
|
3653
3653
|
interface ProjectsResource {
|
|
@@ -3714,7 +3714,7 @@ declare namespace gapi.client {
|
|
|
3714
3714
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3715
3715
|
uploadType?: string;
|
|
3716
3716
|
},
|
|
3717
|
-
body: SslCertsCreateEphemeralRequest
|
|
3717
|
+
body: SslCertsCreateEphemeralRequest,
|
|
3718
3718
|
): Request<SslCert>;
|
|
3719
3719
|
/** Deletes the SSL certificate. For First Generation instances, the certificate remains valid until the instance is restarted. */
|
|
3720
3720
|
delete(request?: {
|
|
@@ -3838,7 +3838,7 @@ declare namespace gapi.client {
|
|
|
3838
3838
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3839
3839
|
uploadType?: string;
|
|
3840
3840
|
},
|
|
3841
|
-
body: SslCertsInsertRequest
|
|
3841
|
+
body: SslCertsInsertRequest,
|
|
3842
3842
|
): Request<SslCertsInsertResponse>;
|
|
3843
3843
|
/** Lists all of the current SSL certificates for the instance. */
|
|
3844
3844
|
list(request?: {
|
|
@@ -4026,7 +4026,7 @@ declare namespace gapi.client {
|
|
|
4026
4026
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4027
4027
|
uploadType?: string;
|
|
4028
4028
|
},
|
|
4029
|
-
body: User
|
|
4029
|
+
body: User,
|
|
4030
4030
|
): Request<Operation>;
|
|
4031
4031
|
/** Lists users in the specified Cloud SQL instance. */
|
|
4032
4032
|
list(request?: {
|
|
@@ -4125,7 +4125,7 @@ declare namespace gapi.client {
|
|
|
4125
4125
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4126
4126
|
uploadType?: string;
|
|
4127
4127
|
},
|
|
4128
|
-
body: User
|
|
4128
|
+
body: User,
|
|
4129
4129
|
): Request<Operation>;
|
|
4130
4130
|
}
|
|
4131
4131
|
|
package/package.json
CHANGED
package/readme.md
CHANGED