@maxim_mazurok/gapi.client.sqladmin-v1 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.
- package/index.d.ts +20 -24
- package/package.json +1 -1
- 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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20241011
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -91,8 +91,6 @@ declare namespace gapi.client {
|
|
|
91
91
|
backupId?: string;
|
|
92
92
|
/** This is always `sql#backupContext`. */
|
|
93
93
|
kind?: string;
|
|
94
|
-
/** The name of the backup. Format: projects/{project}/backups/{backup} */
|
|
95
|
-
name?: string;
|
|
96
94
|
}
|
|
97
95
|
interface BackupReencryptionConfig {
|
|
98
96
|
/** Backup re-encryption limit */
|
|
@@ -663,12 +661,8 @@ declare namespace gapi.client {
|
|
|
663
661
|
backupReencryptionConfig?: BackupReencryptionConfig;
|
|
664
662
|
}
|
|
665
663
|
interface InstancesRestoreBackupRequest {
|
|
666
|
-
/** 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. */
|
|
667
|
-
backup?: string;
|
|
668
664
|
/** Parameters required to perform the restore backup operation. */
|
|
669
665
|
restoreBackupContext?: RestoreBackupContext;
|
|
670
|
-
/** 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. */
|
|
671
|
-
restoreInstanceSettings?: DatabaseInstance;
|
|
672
666
|
}
|
|
673
667
|
interface InstancesRotateServerCaRequest {
|
|
674
668
|
/** Contains details about the rotate server CA operation. */
|
|
@@ -852,8 +846,6 @@ declare namespace gapi.client {
|
|
|
852
846
|
kind?: string;
|
|
853
847
|
/** The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */
|
|
854
848
|
nextPageToken?: string;
|
|
855
|
-
/** List of warnings that occurred while handling the request. */
|
|
856
|
-
warnings?: ApiWarning[];
|
|
857
849
|
}
|
|
858
850
|
interface PasswordStatus {
|
|
859
851
|
/** If true, user does not have login privileges. */
|
|
@@ -881,9 +873,23 @@ declare namespace gapi.client {
|
|
|
881
873
|
/** The target disk shrink size in GigaBytes. */
|
|
882
874
|
targetSizeGb?: string;
|
|
883
875
|
}
|
|
876
|
+
interface PscAutoConnectionConfig {
|
|
877
|
+
/** 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. */
|
|
878
|
+
consumerNetwork?: string;
|
|
879
|
+
/** The connection policy status of the consumer network. */
|
|
880
|
+
consumerNetworkStatus?: string;
|
|
881
|
+
/** 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. */
|
|
882
|
+
consumerProject?: string;
|
|
883
|
+
/** The IP address of the consumer endpoint. */
|
|
884
|
+
ipAddress?: string;
|
|
885
|
+
/** The connection status of the consumer endpoint. */
|
|
886
|
+
status?: string;
|
|
887
|
+
}
|
|
884
888
|
interface PscConfig {
|
|
885
889
|
/** 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). */
|
|
886
890
|
allowedConsumerProjects?: string[];
|
|
891
|
+
/** Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance. */
|
|
892
|
+
pscAutoConnections?: PscAutoConnectionConfig[];
|
|
887
893
|
/** Whether PSC connectivity is enabled for this instance. */
|
|
888
894
|
pscEnabled?: boolean;
|
|
889
895
|
}
|
|
@@ -1873,7 +1879,7 @@ declare namespace gapi.client {
|
|
|
1873
1879
|
},
|
|
1874
1880
|
body: InstancesAcquireSsrsLeaseRequest
|
|
1875
1881
|
): Request<SqlInstancesAcquireSsrsLeaseResponse>;
|
|
1876
|
-
/** 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,
|
|
1882
|
+
/** 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. */
|
|
1877
1883
|
addServerCa(request?: {
|
|
1878
1884
|
/** V1 error format. */
|
|
1879
1885
|
'$.xgafv'?: string;
|
|
@@ -1902,7 +1908,7 @@ declare namespace gapi.client {
|
|
|
1902
1908
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1903
1909
|
uploadType?: string;
|
|
1904
1910
|
}): Request<Operation>;
|
|
1905
|
-
/** 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,
|
|
1911
|
+
/** 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. */
|
|
1906
1912
|
addServerCertificate(request?: {
|
|
1907
1913
|
/** V1 error format. */
|
|
1908
1914
|
'$.xgafv'?: string;
|
|
@@ -2003,16 +2009,8 @@ declare namespace gapi.client {
|
|
|
2003
2009
|
alt?: string;
|
|
2004
2010
|
/** JSONP */
|
|
2005
2011
|
callback?: string;
|
|
2006
|
-
/** Flag to opt-in for final backup. By default, it is turned off. */
|
|
2007
|
-
enableFinalBackup?: boolean;
|
|
2008
2012
|
/** Selector specifying which fields to include in a partial response. */
|
|
2009
2013
|
fields?: string;
|
|
2010
|
-
/** Optional. The description of the final backup. */
|
|
2011
|
-
finalBackupDescription?: string;
|
|
2012
|
-
/** Optional. Final Backup expiration time. Timestamp in UTC of when this resource is considered expired. */
|
|
2013
|
-
finalBackupExpiryTime?: string;
|
|
2014
|
-
/** Optional. Retention period of the final backup. */
|
|
2015
|
-
finalBackupTtlDays?: string;
|
|
2016
2014
|
/** Cloud SQL instance ID. This does not include the project ID. */
|
|
2017
2015
|
instance: string;
|
|
2018
2016
|
/** 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. */
|
|
@@ -2489,7 +2487,7 @@ declare namespace gapi.client {
|
|
|
2489
2487
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2490
2488
|
uploadType?: string;
|
|
2491
2489
|
}): Request<InstancesListServerCasResponse>;
|
|
2492
|
-
/** 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. */
|
|
2490
|
+
/** 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. */
|
|
2493
2491
|
ListServerCertificates(request?: {
|
|
2494
2492
|
/** V1 error format. */
|
|
2495
2493
|
'$.xgafv'?: string;
|
|
@@ -2822,7 +2820,7 @@ declare namespace gapi.client {
|
|
|
2822
2820
|
},
|
|
2823
2821
|
body: InstancesRestoreBackupRequest
|
|
2824
2822
|
): Request<Operation>;
|
|
2825
|
-
/** 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,
|
|
2823
|
+
/** 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. */
|
|
2826
2824
|
rotateServerCa(request: {
|
|
2827
2825
|
/** V1 error format. */
|
|
2828
2826
|
'$.xgafv'?: string;
|
|
@@ -2884,7 +2882,7 @@ declare namespace gapi.client {
|
|
|
2884
2882
|
},
|
|
2885
2883
|
body: InstancesRotateServerCaRequest
|
|
2886
2884
|
): Request<Operation>;
|
|
2887
|
-
/** Rotates the server certificate version to one previously added with the addServerCertificate method. For instances not using Certificate Authority Service (CAS) server CA,
|
|
2885
|
+
/** 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. */
|
|
2888
2886
|
RotateServerCertificate(request: {
|
|
2889
2887
|
/** V1 error format. */
|
|
2890
2888
|
'$.xgafv'?: string;
|
|
@@ -3231,8 +3229,6 @@ declare namespace gapi.client {
|
|
|
3231
3229
|
callback?: string;
|
|
3232
3230
|
/** Selector specifying which fields to include in a partial response. */
|
|
3233
3231
|
fields?: string;
|
|
3234
|
-
/** 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. */
|
|
3235
|
-
filter?: string;
|
|
3236
3232
|
/** Cloud SQL instance ID. This does not include the project ID. */
|
|
3237
3233
|
instance?: string;
|
|
3238
3234
|
/** 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
package/readme.md
CHANGED
|
@@ -185,7 +185,7 @@ await gapi.client.sql.instances.acquireSsrsLease({
|
|
|
185
185
|
});
|
|
186
186
|
|
|
187
187
|
/*
|
|
188
|
-
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,
|
|
188
|
+
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.
|
|
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,
|
|
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,
|
|
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,
|
|
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',
|