@maxim_mazurok/gapi.client.sqladmin-v1beta4 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.
Files changed (3) hide show
  1. package/index.d.ts +35 -35
  2. package/package.json +1 -1
  3. 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: 20250117
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 corresponsing 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. */
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 corresponsing public key is encoded in the client's certificate. */
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 corresponsing public key is encoded in the client's certificate. */
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;
@@ -1403,7 +1403,7 @@ declare namespace gapi.client {
1403
1403
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1404
1404
  uploadType?: string;
1405
1405
  },
1406
- body: BackupRun
1406
+ body: BackupRun,
1407
1407
  ): Request<Operation>;
1408
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. */
1409
1409
  list(request?: {
@@ -1500,7 +1500,7 @@ declare namespace gapi.client {
1500
1500
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1501
1501
  uploadType?: string;
1502
1502
  },
1503
- body: GenerateEphemeralCertRequest
1503
+ body: GenerateEphemeralCertRequest,
1504
1504
  ): Request<GenerateEphemeralCertResponse>;
1505
1505
  /** Retrieves connect settings about a Cloud SQL instance. */
1506
1506
  get(request?: {
@@ -1657,7 +1657,7 @@ declare namespace gapi.client {
1657
1657
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1658
1658
  uploadType?: string;
1659
1659
  },
1660
- body: Database
1660
+ body: Database,
1661
1661
  ): Request<Operation>;
1662
1662
  /** Lists databases in the specified Cloud SQL instance. */
1663
1663
  list(request?: {
@@ -1752,7 +1752,7 @@ declare namespace gapi.client {
1752
1752
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1753
1753
  uploadType?: string;
1754
1754
  },
1755
- body: Database
1755
+ body: Database,
1756
1756
  ): Request<Operation>;
1757
1757
  /** Updates a resource containing information about a database inside a Cloud SQL instance. */
1758
1758
  update(request: {
@@ -1818,7 +1818,7 @@ declare namespace gapi.client {
1818
1818
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1819
1819
  uploadType?: string;
1820
1820
  },
1821
- body: Database
1821
+ body: Database,
1822
1822
  ): Request<Operation>;
1823
1823
  }
1824
1824
  interface FlagsResource {
@@ -1911,7 +1911,7 @@ declare namespace gapi.client {
1911
1911
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1912
1912
  uploadType?: string;
1913
1913
  },
1914
- body: InstancesAcquireSsrsLeaseRequest
1914
+ body: InstancesAcquireSsrsLeaseRequest,
1915
1915
  ): Request<SqlInstancesAcquireSsrsLeaseResponse>;
1916
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. */
1917
1917
  addServerCa(request?: {
@@ -2031,7 +2031,7 @@ declare namespace gapi.client {
2031
2031
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2032
2032
  uploadType?: string;
2033
2033
  },
2034
- body: InstancesCloneRequest
2034
+ body: InstancesCloneRequest,
2035
2035
  ): Request<Operation>;
2036
2036
  /** Deletes a Cloud SQL instance. */
2037
2037
  delete(request?: {
@@ -2122,7 +2122,7 @@ declare namespace gapi.client {
2122
2122
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2123
2123
  uploadType?: string;
2124
2124
  },
2125
- body: InstancesDemoteRequest
2125
+ body: InstancesDemoteRequest,
2126
2126
  ): Request<Operation>;
2127
2127
  /** Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server. */
2128
2128
  demoteMaster(request: {
@@ -2184,7 +2184,7 @@ declare namespace gapi.client {
2184
2184
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2185
2185
  uploadType?: string;
2186
2186
  },
2187
- body: InstancesDemoteMasterRequest
2187
+ body: InstancesDemoteMasterRequest,
2188
2188
  ): Request<Operation>;
2189
2189
  /** Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file. */
2190
2190
  export(request: {
@@ -2246,7 +2246,7 @@ declare namespace gapi.client {
2246
2246
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2247
2247
  uploadType?: string;
2248
2248
  },
2249
- body: InstancesExportRequest
2249
+ body: InstancesExportRequest,
2250
2250
  ): Request<Operation>;
2251
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. */
2252
2252
  failover(request: {
@@ -2308,7 +2308,7 @@ declare namespace gapi.client {
2308
2308
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2309
2309
  uploadType?: string;
2310
2310
  },
2311
- body: InstancesFailoverRequest
2311
+ body: InstancesFailoverRequest,
2312
2312
  ): Request<Operation>;
2313
2313
  /** Retrieves a resource containing information about a Cloud SQL instance. */
2314
2314
  get(request?: {
@@ -2399,7 +2399,7 @@ declare namespace gapi.client {
2399
2399
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2400
2400
  uploadType?: string;
2401
2401
  },
2402
- body: InstancesImportRequest
2402
+ body: InstancesImportRequest,
2403
2403
  ): Request<Operation>;
2404
2404
  /** Creates a new Cloud SQL instance. */
2405
2405
  insert(request: {
@@ -2457,7 +2457,7 @@ declare namespace gapi.client {
2457
2457
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2458
2458
  uploadType?: string;
2459
2459
  },
2460
- body: DatabaseInstance
2460
+ body: DatabaseInstance,
2461
2461
  ): Request<Operation>;
2462
2462
  /** Lists instances under a given project. */
2463
2463
  list(request?: {
@@ -2610,7 +2610,7 @@ declare namespace gapi.client {
2610
2610
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2611
2611
  uploadType?: string;
2612
2612
  },
2613
- body: DatabaseInstance
2613
+ body: DatabaseInstance,
2614
2614
  ): Request<Operation>;
2615
2615
  /** Promotes the read replica instance to be an independent Cloud SQL primary instance. Using this operation might cause your instance to restart. */
2616
2616
  promoteReplica(request?: {
@@ -2703,7 +2703,7 @@ declare namespace gapi.client {
2703
2703
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2704
2704
  uploadType?: string;
2705
2705
  },
2706
- body: InstancesReencryptRequest
2706
+ body: InstancesReencryptRequest,
2707
2707
  ): Request<Operation>;
2708
2708
  /** Release a lease for the setup of SQL Server Reporting Services (SSRS). */
2709
2709
  releaseSsrsLease(request?: {
@@ -2852,7 +2852,7 @@ declare namespace gapi.client {
2852
2852
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2853
2853
  uploadType?: string;
2854
2854
  },
2855
- body: InstancesRestoreBackupRequest
2855
+ body: InstancesRestoreBackupRequest,
2856
2856
  ): Request<Operation>;
2857
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. */
2858
2858
  rotateServerCa(request: {
@@ -2914,7 +2914,7 @@ declare namespace gapi.client {
2914
2914
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2915
2915
  uploadType?: string;
2916
2916
  },
2917
- body: InstancesRotateServerCaRequest
2917
+ body: InstancesRotateServerCaRequest,
2918
2918
  ): Request<Operation>;
2919
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. */
2920
2920
  RotateServerCertificate(request: {
@@ -2976,7 +2976,7 @@ declare namespace gapi.client {
2976
2976
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2977
2977
  uploadType?: string;
2978
2978
  },
2979
- body: InstancesRotateServerCertificateRequest
2979
+ body: InstancesRotateServerCertificateRequest,
2980
2980
  ): Request<Operation>;
2981
2981
  /** Starts the replication in the read replica instance. */
2982
2982
  startReplica(request?: {
@@ -3127,7 +3127,7 @@ declare namespace gapi.client {
3127
3127
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3128
3128
  uploadType?: string;
3129
3129
  },
3130
- body: InstancesTruncateLogRequest
3130
+ body: InstancesTruncateLogRequest,
3131
3131
  ): Request<Operation>;
3132
3132
  /** Updates settings of a Cloud SQL instance. Using this operation might cause your instance to restart. */
3133
3133
  update(request: {
@@ -3189,7 +3189,7 @@ declare namespace gapi.client {
3189
3189
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3190
3190
  uploadType?: string;
3191
3191
  },
3192
- body: DatabaseInstance
3192
+ body: DatabaseInstance,
3193
3193
  ): Request<Operation>;
3194
3194
  }
3195
3195
  interface OperationsResource {
@@ -3404,7 +3404,7 @@ declare namespace gapi.client {
3404
3404
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3405
3405
  uploadType?: string;
3406
3406
  },
3407
- body: PerformDiskShrinkContext
3407
+ body: PerformDiskShrinkContext,
3408
3408
  ): Request<Operation>;
3409
3409
  /** Reschedules the maintenance on the given instance. */
3410
3410
  rescheduleMaintenance(request: {
@@ -3466,7 +3466,7 @@ declare namespace gapi.client {
3466
3466
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3467
3467
  uploadType?: string;
3468
3468
  },
3469
- body: SqlInstancesRescheduleMaintenanceRequestBody
3469
+ body: SqlInstancesRescheduleMaintenanceRequestBody,
3470
3470
  ): Request<Operation>;
3471
3471
  /** Reset Replica Size to primary instance disk size. */
3472
3472
  resetReplicaSize(request: {
@@ -3528,7 +3528,7 @@ declare namespace gapi.client {
3528
3528
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3529
3529
  uploadType?: string;
3530
3530
  },
3531
- body: SqlInstancesResetReplicaSizeRequest
3531
+ body: SqlInstancesResetReplicaSizeRequest,
3532
3532
  ): Request<Operation>;
3533
3533
  /** Start External primary instance migration. */
3534
3534
  startExternalSync(request: {
@@ -3590,7 +3590,7 @@ declare namespace gapi.client {
3590
3590
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3591
3591
  uploadType?: string;
3592
3592
  },
3593
- body: SqlInstancesStartExternalSyncRequest
3593
+ body: SqlInstancesStartExternalSyncRequest,
3594
3594
  ): Request<Operation>;
3595
3595
  /** Verify External primary instance external sync settings. */
3596
3596
  verifyExternalSyncSettings(request: {
@@ -3652,7 +3652,7 @@ declare namespace gapi.client {
3652
3652
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3653
3653
  uploadType?: string;
3654
3654
  },
3655
- body: SqlInstancesVerifyExternalSyncSettingsRequest
3655
+ body: SqlInstancesVerifyExternalSyncSettingsRequest,
3656
3656
  ): Request<SqlInstancesVerifyExternalSyncSettingsResponse>;
3657
3657
  }
3658
3658
  interface ProjectsResource {
@@ -3719,7 +3719,7 @@ declare namespace gapi.client {
3719
3719
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3720
3720
  uploadType?: string;
3721
3721
  },
3722
- body: SslCertsCreateEphemeralRequest
3722
+ body: SslCertsCreateEphemeralRequest,
3723
3723
  ): Request<SslCert>;
3724
3724
  /** Deletes the SSL certificate. For First Generation instances, the certificate remains valid until the instance is restarted. */
3725
3725
  delete(request?: {
@@ -3843,7 +3843,7 @@ declare namespace gapi.client {
3843
3843
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3844
3844
  uploadType?: string;
3845
3845
  },
3846
- body: SslCertsInsertRequest
3846
+ body: SslCertsInsertRequest,
3847
3847
  ): Request<SslCertsInsertResponse>;
3848
3848
  /** Lists all of the current SSL certificates for the instance. */
3849
3849
  list(request?: {
@@ -4031,7 +4031,7 @@ declare namespace gapi.client {
4031
4031
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4032
4032
  uploadType?: string;
4033
4033
  },
4034
- body: User
4034
+ body: User,
4035
4035
  ): Request<Operation>;
4036
4036
  /** Lists users in the specified Cloud SQL instance. */
4037
4037
  list(request?: {
@@ -4130,7 +4130,7 @@ declare namespace gapi.client {
4130
4130
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4131
4131
  uploadType?: string;
4132
4132
  },
4133
- body: User
4133
+ body: User,
4134
4134
  ): Request<Operation>;
4135
4135
  }
4136
4136
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.sqladmin-v1beta4",
3
- "version": "0.0.20250117",
3
+ "version": "0.0.20250129",
4
4
  "description": "TypeScript typings for Cloud SQL Admin API v1beta4",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.sql
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -65,7 +65,7 @@ gapi.auth.authorize(
65
65
  } else {
66
66
  /* handle authorization error */
67
67
  }
68
- }
68
+ },
69
69
  );
70
70
  ```
71
71