@maxim_mazurok/gapi.client.sqladmin-v1beta4 0.0.20240925 → 0.0.20241011

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 +20 -20
  2. package/package.json +1 -1
  3. package/readme.md +5 -5
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
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: 20240925
12
+ // Revision: 20241011
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -95,8 +95,6 @@ declare namespace gapi.client {
95
95
  backupId?: string;
96
96
  /** This is always `sql#backupContext`. */
97
97
  kind?: string;
98
- /** The name of the backup. Format: projects/{project}/backups/{backup} */
99
- name?: string;
100
98
  }
101
99
  interface BackupReencryptionConfig {
102
100
  /** Backup re-encryption limit */
@@ -668,12 +666,8 @@ declare namespace gapi.client {
668
666
  backupReencryptionConfig?: BackupReencryptionConfig;
669
667
  }
670
668
  interface InstancesRestoreBackupRequest {
671
- /** The name of the backup to restore from in following format: projects/{project-id}/backups/{backup-uid} Only one of restore_backup_context or backup can be passed to the input. */
672
- backup?: string;
673
669
  /** Parameters required to perform the restore backup operation. */
674
670
  restoreBackupContext?: RestoreBackupContext;
675
- /** Optional. Restore instance settings overrides the instance settings stored as part of the backup. Instance's major database version cannot be changed and the disk size can only be increased. This feature is only available for restores to new instances using the backup name. */
676
- restoreInstanceSettings?: DatabaseInstance;
677
671
  }
678
672
  interface InstancesRotateServerCaRequest {
679
673
  /** Contains details about the rotate server CA operation. */
@@ -857,8 +851,6 @@ declare namespace gapi.client {
857
851
  kind?: string;
858
852
  /** The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */
859
853
  nextPageToken?: string;
860
- /** List of warnings that occurred while handling the request. */
861
- warnings?: ApiWarning[];
862
854
  }
863
855
  interface PasswordStatus {
864
856
  /** If true, user does not have login privileges. */
@@ -886,9 +878,23 @@ declare namespace gapi.client {
886
878
  /** The target disk shrink size in GigaBytes. */
887
879
  targetSizeGb?: string;
888
880
  }
881
+ interface PscAutoConnectionConfig {
882
+ /** The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, `projects/project1/global/networks/network1`. The consumer host project of this network might be different from the consumer service project. */
883
+ consumerNetwork?: string;
884
+ /** The connection policy status of the consumer network. */
885
+ consumerNetworkStatus?: string;
886
+ /** This is the project ID of consumer service project of this consumer endpoint. Optional. This is only applicable if consumer_network is a shared vpc network. */
887
+ consumerProject?: string;
888
+ /** The IP address of the consumer endpoint. */
889
+ ipAddress?: string;
890
+ /** The connection status of the consumer endpoint. */
891
+ status?: string;
892
+ }
889
893
  interface PscConfig {
890
894
  /** Optional. The list of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric). */
891
895
  allowedConsumerProjects?: string[];
896
+ /** Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance. */
897
+ pscAutoConnections?: PscAutoConnectionConfig[];
892
898
  /** Whether PSC connectivity is enabled for this instance. */
893
899
  pscEnabled?: boolean;
894
900
  }
@@ -1878,7 +1884,7 @@ declare namespace gapi.client {
1878
1884
  },
1879
1885
  body: InstancesAcquireSsrsLeaseRequest
1880
1886
  ): Request<SqlInstancesAcquireSsrsLeaseResponse>;
1881
- /** 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, please use AddServerCertificate to add a new server certificate. */
1887
+ /** 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. */
1882
1888
  addServerCa(request?: {
1883
1889
  /** V1 error format. */
1884
1890
  '$.xgafv'?: string;
@@ -1907,7 +1913,7 @@ declare namespace gapi.client {
1907
1913
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1908
1914
  uploadType?: string;
1909
1915
  }): Request<Operation>;
1910
- /** Add a new trusted server certificate version for the specified instance using Certificate Authority Service (CAS) server CA. Required to prepare for a certificate rotation. If a server certificate version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one certificate version waiting to be rotated in. For instances not using CAS server CA, please use AddServerCa instead. */
1916
+ /** Add a new trusted server certificate version for the specified instance using Certificate Authority Service (CAS) server CA. Required to prepare for a certificate rotation. If a server certificate version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one certificate version waiting to be rotated in. For instances not using CAS server CA, use AddServerCa instead. */
1911
1917
  addServerCertificate(request?: {
1912
1918
  /** V1 error format. */
1913
1919
  '$.xgafv'?: string;
@@ -2008,12 +2014,8 @@ declare namespace gapi.client {
2008
2014
  alt?: string;
2009
2015
  /** JSONP */
2010
2016
  callback?: string;
2011
- /** Flag to opt-in for final backup. By default, it is turned off. */
2012
- enableFinalBackup?: boolean;
2013
2017
  /** Selector specifying which fields to include in a partial response. */
2014
2018
  fields?: string;
2015
- /** Optional. The description of the final backup. */
2016
- finalBackupDescription?: string;
2017
2019
  /** Optional. Final Backup expiration time. Timestamp in UTC of when this resource is considered expired. */
2018
2020
  finalBackupExpiryTime?: string;
2019
2021
  /** Optional. Retention period of the final backup. */
@@ -2494,7 +2496,7 @@ declare namespace gapi.client {
2494
2496
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2495
2497
  uploadType?: string;
2496
2498
  }): Request<InstancesListServerCasResponse>;
2497
- /** Lists all versions of server certificates and certificate authorities (CAs) for the specified instance. There can be up to three sets of certs listed: the certificate that is currently in use, a future that has been added but not yet used to sign a certificate, and a certificate that has been rotated out. */
2499
+ /** Lists all versions of server certificates and certificate authorities (CAs) for the specified instance. There can be up to three sets of certs listed: the certificate that is currently in use, a future that has been added but not yet used to sign a certificate, and a certificate that has been rotated out. For instances not using Certificate Authority Service (CAS) server CA, use ListServerCas instead. */
2498
2500
  ListServerCertificates(request?: {
2499
2501
  /** V1 error format. */
2500
2502
  '$.xgafv'?: string;
@@ -2827,7 +2829,7 @@ declare namespace gapi.client {
2827
2829
  },
2828
2830
  body: InstancesRestoreBackupRequest
2829
2831
  ): Request<Operation>;
2830
- /** 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, please use RotateServerCertificate to rotate the server certificate. */
2832
+ /** 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. */
2831
2833
  rotateServerCa(request: {
2832
2834
  /** V1 error format. */
2833
2835
  '$.xgafv'?: string;
@@ -2889,7 +2891,7 @@ declare namespace gapi.client {
2889
2891
  },
2890
2892
  body: InstancesRotateServerCaRequest
2891
2893
  ): Request<Operation>;
2892
- /** Rotates the server certificate version to one previously added with the addServerCertificate method. For instances not using Certificate Authority Service (CAS) server CA, please use RotateServerCa instead. */
2894
+ /** 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. */
2893
2895
  RotateServerCertificate(request: {
2894
2896
  /** V1 error format. */
2895
2897
  '$.xgafv'?: string;
@@ -3236,8 +3238,6 @@ declare namespace gapi.client {
3236
3238
  callback?: string;
3237
3239
  /** Selector specifying which fields to include in a partial response. */
3238
3240
  fields?: string;
3239
- /** Optional. A filter string that follows the rules of EBNF grammar (https://google.aip.dev/assets/misc/ebnf-filtering.txt). Cloud SQL provides filters for status, operationType, and startTime. */
3240
- filter?: string;
3241
3241
  /** Cloud SQL instance ID. This does not include the project ID. */
3242
3242
  instance?: string;
3243
3243
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.sqladmin-v1beta4",
3
- "version": "0.0.20240925",
3
+ "version": "0.0.20241011",
4
4
  "description": "TypeScript typings for Cloud SQL Admin API v1beta4",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -185,7 +185,7 @@ await gapi.client.sql.instances.acquireSsrsLease({
185
185
  });
186
186
 
187
187
  /*
188
- 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, please use AddServerCertificate to add a new server certificate.
188
+ 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.
189
189
  */
190
190
  await gapi.client.sql.instances.addServerCa({
191
191
  instance: 'instance',
@@ -193,7 +193,7 @@ await gapi.client.sql.instances.addServerCa({
193
193
  });
194
194
 
195
195
  /*
196
- Add a new trusted server certificate version for the specified instance using Certificate Authority Service (CAS) server CA. Required to prepare for a certificate rotation. If a server certificate version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one certificate version waiting to be rotated in. For instances not using CAS server CA, please use AddServerCa instead.
196
+ Add a new trusted server certificate version for the specified instance using Certificate Authority Service (CAS) server CA. Required to prepare for a certificate rotation. If a server certificate version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one certificate version waiting to be rotated in. For instances not using CAS server CA, use AddServerCa instead.
197
197
  */
198
198
  await gapi.client.sql.instances.addServerCertificate({
199
199
  instance: 'instance',
@@ -280,7 +280,7 @@ await gapi.client.sql.instances.listServerCas({
280
280
  });
281
281
 
282
282
  /*
283
- Lists all versions of server certificates and certificate authorities (CAs) for the specified instance. There can be up to three sets of certs listed: the certificate that is currently in use, a future that has been added but not yet used to sign a certificate, and a certificate that has been rotated out.
283
+ Lists all versions of server certificates and certificate authorities (CAs) for the specified instance. There can be up to three sets of certs listed: the certificate that is currently in use, a future that has been added but not yet used to sign a certificate, and a certificate that has been rotated out. For instances not using Certificate Authority Service (CAS) server CA, use ListServerCas instead.
284
284
  */
285
285
  await gapi.client.sql.instances.ListServerCertificates({
286
286
  instance: 'instance',
@@ -344,7 +344,7 @@ await gapi.client.sql.instances.restoreBackup({
344
344
  });
345
345
 
346
346
  /*
347
- 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, please use RotateServerCertificate to rotate the server certificate.
347
+ 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.
348
348
  */
349
349
  await gapi.client.sql.instances.rotateServerCa({
350
350
  instance: 'instance',
@@ -352,7 +352,7 @@ await gapi.client.sql.instances.rotateServerCa({
352
352
  });
353
353
 
354
354
  /*
355
- Rotates the server certificate version to one previously added with the addServerCertificate method. For instances not using Certificate Authority Service (CAS) server CA, please use RotateServerCa instead.
355
+ 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.
356
356
  */
357
357
  await gapi.client.sql.instances.RotateServerCertificate({
358
358
  instance: 'instance',