@maxim_mazurok/gapi.client.sqladmin-v1 0.0.20250628 → 0.0.20250717
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 +4 -126
- package/package.json +1 -1
- package/readme.md +0 -8
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: 20250717
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -231,14 +231,6 @@ declare namespace gapi.client {
|
|
|
231
231
|
preferredSecondaryZone?: string;
|
|
232
232
|
/** Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance. This field applies to all DB types. */
|
|
233
233
|
preferredZone?: string;
|
|
234
|
-
/** The timestamp used to identify the time when the source instance is deleted. If this instance is deleted, then you must set the timestamp. */
|
|
235
|
-
sourceInstanceDeletionTime?: string;
|
|
236
|
-
}
|
|
237
|
-
interface Column {
|
|
238
|
-
/** Name of the column. */
|
|
239
|
-
name?: string;
|
|
240
|
-
/** Datatype of the column. */
|
|
241
|
-
type?: string;
|
|
242
234
|
}
|
|
243
235
|
interface ConnectionPoolConfig {
|
|
244
236
|
/** Whether managed connection pooling is enabled. */
|
|
@@ -320,6 +312,8 @@ declare namespace gapi.client {
|
|
|
320
312
|
availableMaintenanceVersions?: string[];
|
|
321
313
|
/** The backend type. `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database server that is not managed by Google. This property is read-only; use the `tier` property in the `settings` object to determine the database type. */
|
|
322
314
|
backendType?: string;
|
|
315
|
+
/** Clears private network settings when the instance is restored. */
|
|
316
|
+
clearNetwork?: boolean;
|
|
323
317
|
/** Connection name of the Cloud SQL instance used in connection strings. */
|
|
324
318
|
connectionName?: string;
|
|
325
319
|
/** Output only. The time when the instance was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`. */
|
|
@@ -500,16 +494,6 @@ declare namespace gapi.client {
|
|
|
500
494
|
name?: string;
|
|
501
495
|
}
|
|
502
496
|
interface Empty {}
|
|
503
|
-
interface ExecuteSqlPayload {
|
|
504
|
-
/** Optional. When set to true, the API caller identity associated with the request is used for database authentication. The API caller must be an IAM user in the database. */
|
|
505
|
-
autoIamAuthn?: boolean;
|
|
506
|
-
/** Optional. Name of the database on which the statement will be executed. */
|
|
507
|
-
database?: string;
|
|
508
|
-
/** Optional. The maximum number of rows returned per SQL statement. */
|
|
509
|
-
rowLimit?: string;
|
|
510
|
-
/** Required. SQL statement to run on the database. It can be a single statement or a sequence of statements separated by semicolons. */
|
|
511
|
-
sqlStatement?: string;
|
|
512
|
-
}
|
|
513
497
|
interface ExportContext {
|
|
514
498
|
/** Options for exporting BAK files (SQL Server-only) */
|
|
515
499
|
bakExportOptions?: {
|
|
@@ -902,10 +886,6 @@ declare namespace gapi.client {
|
|
|
902
886
|
/** Maintenance timing settings: `canary`, `stable`, or `week5`. For more information, see [About maintenance on Cloud SQL instances](https://cloud.google.com/sql/docs/mysql/maintenance). */
|
|
903
887
|
updateTrack?: string;
|
|
904
888
|
}
|
|
905
|
-
interface Metadata {
|
|
906
|
-
/** The time taken to execute the sql statement. */
|
|
907
|
-
sqlStatementExecutionTime?: string;
|
|
908
|
-
}
|
|
909
889
|
interface MySqlReplicaConfiguration {
|
|
910
890
|
/** PEM representation of the trusted CA's x509 certificate. */
|
|
911
891
|
caCertificate?: string;
|
|
@@ -1062,7 +1042,7 @@ declare namespace gapi.client {
|
|
|
1062
1042
|
targetSizeGb?: string;
|
|
1063
1043
|
}
|
|
1064
1044
|
interface PointInTimeRestoreContext {
|
|
1065
|
-
/** Optional. The name of the allocated IP range for the internal IP Cloud SQL instance. For example: "google-managed-services-default". If you set this, then Cloud SQL creates the IP address for the cloned instance in the allocated range. This range must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035) standards. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use. */
|
|
1045
|
+
/** Optional. The name of the allocated IP range for the internal IP Cloud SQL instance. For example: "google-managed-services-default". If you set this, then Cloud SQL creates the IP address for the cloned instance in the allocated range. This range must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035) standards. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use. http://go/speckle-subnet-picker-clone */
|
|
1066
1046
|
allocatedIpRange?: string;
|
|
1067
1047
|
/** The Google Cloud Backup and Disaster Recovery Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}. */
|
|
1068
1048
|
datasource?: string;
|
|
@@ -1113,16 +1093,6 @@ declare namespace gapi.client {
|
|
|
1113
1093
|
/** Whether PSC connectivity is enabled for this instance. */
|
|
1114
1094
|
pscEnabled?: boolean;
|
|
1115
1095
|
}
|
|
1116
|
-
interface QueryResult {
|
|
1117
|
-
/** List of columns included in the result. This also includes the data type of the column. */
|
|
1118
|
-
columns?: Column[];
|
|
1119
|
-
/** Message related to the SQL execution result. */
|
|
1120
|
-
message?: string;
|
|
1121
|
-
/** Set to true if a partial result of the SQL execution is returned. */
|
|
1122
|
-
partialResult?: boolean;
|
|
1123
|
-
/** Rows returned by the SQL statement. */
|
|
1124
|
-
rows?: Row[];
|
|
1125
|
-
}
|
|
1126
1096
|
interface ReplicaConfiguration {
|
|
1127
1097
|
/** Optional. Specifies if a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it. */
|
|
1128
1098
|
cascadableReplica?: boolean;
|
|
@@ -1169,10 +1139,6 @@ declare namespace gapi.client {
|
|
|
1169
1139
|
/** The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server certificate version. */
|
|
1170
1140
|
nextVersion?: string;
|
|
1171
1141
|
}
|
|
1172
|
-
interface Row {
|
|
1173
|
-
/** The values for the row. */
|
|
1174
|
-
values?: Value[];
|
|
1175
|
-
}
|
|
1176
1142
|
interface SelectedObjects {
|
|
1177
1143
|
/** Required. The name of the database to migrate. */
|
|
1178
1144
|
database?: string;
|
|
@@ -1258,18 +1224,10 @@ declare namespace gapi.client {
|
|
|
1258
1224
|
userLabels?: {[P in string]: string};
|
|
1259
1225
|
}
|
|
1260
1226
|
interface SqlActiveDirectoryConfig {
|
|
1261
|
-
/** Optional. The secret manager key storing the administrator credential. (e.g., projects/{project}/secrets/{secret}). */
|
|
1262
|
-
adminCredentialSecretName?: string;
|
|
1263
|
-
/** Optional. Domain controller IPv4 addresses used to bootstrap Active Directory. */
|
|
1264
|
-
dnsServers?: string[];
|
|
1265
1227
|
/** The name of the domain (e.g., mydomain.com). */
|
|
1266
1228
|
domain?: string;
|
|
1267
1229
|
/** This is always sql#activeDirectoryConfig. */
|
|
1268
1230
|
kind?: string;
|
|
1269
|
-
/** Optional. The mode of the Active Directory configuration. */
|
|
1270
|
-
mode?: string;
|
|
1271
|
-
/** Optional. The organizational unit distinguished name. This is the full hierarchical path to the organizational unit. */
|
|
1272
|
-
organizationalUnit?: string;
|
|
1273
1231
|
}
|
|
1274
1232
|
interface SqlExternalSyncSettingError {
|
|
1275
1233
|
/** Additional information about the error encountered. */
|
|
@@ -1283,16 +1241,6 @@ declare namespace gapi.client {
|
|
|
1283
1241
|
/** The unique identifier for this operation. */
|
|
1284
1242
|
operationId?: string;
|
|
1285
1243
|
}
|
|
1286
|
-
interface SqlInstancesExecuteSqlResponse {
|
|
1287
|
-
/** Message related to the SQL execution result. */
|
|
1288
|
-
message?: string;
|
|
1289
|
-
/** The additional metadata information regarding the execution of the SQL statement. */
|
|
1290
|
-
metadata?: Metadata;
|
|
1291
|
-
/** Set to true if a partial result of the SQL execution is returned. */
|
|
1292
|
-
partialResult?: boolean;
|
|
1293
|
-
/** The list of results after executing all the SQL statements. */
|
|
1294
|
-
results?: QueryResult[];
|
|
1295
|
-
}
|
|
1296
1244
|
interface SqlInstancesGetDiskShrinkConfigResponse {
|
|
1297
1245
|
/** This is always `sql#getDiskShrinkConfig`. */
|
|
1298
1246
|
kind?: string;
|
|
@@ -1518,12 +1466,6 @@ declare namespace gapi.client {
|
|
|
1518
1466
|
/** Unused. */
|
|
1519
1467
|
nextPageToken?: string;
|
|
1520
1468
|
}
|
|
1521
|
-
interface Value {
|
|
1522
|
-
/** If cell value is null, then this flag will be set to true. */
|
|
1523
|
-
nullValue?: boolean;
|
|
1524
|
-
/** The cell value in string format. */
|
|
1525
|
-
value?: string;
|
|
1526
|
-
}
|
|
1527
1469
|
interface BackupRunsResource {
|
|
1528
1470
|
/** Deletes the backup taken by a backup run. */
|
|
1529
1471
|
delete(request?: {
|
|
@@ -2649,68 +2591,6 @@ declare namespace gapi.client {
|
|
|
2649
2591
|
},
|
|
2650
2592
|
body: InstancesDemoteMasterRequest,
|
|
2651
2593
|
): Request<Operation>;
|
|
2652
|
-
/** Runs a SQL statement in a database that's inside of a Cloud SQL instance. */
|
|
2653
|
-
executeSql(request: {
|
|
2654
|
-
/** V1 error format. */
|
|
2655
|
-
'$.xgafv'?: string;
|
|
2656
|
-
/** OAuth access token. */
|
|
2657
|
-
access_token?: string;
|
|
2658
|
-
/** Data format for response. */
|
|
2659
|
-
alt?: string;
|
|
2660
|
-
/** JSONP */
|
|
2661
|
-
callback?: string;
|
|
2662
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2663
|
-
fields?: string;
|
|
2664
|
-
/** Required. Database instance ID. This does not include the project ID. */
|
|
2665
|
-
instance: string;
|
|
2666
|
-
/** 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. */
|
|
2667
|
-
key?: string;
|
|
2668
|
-
/** OAuth 2.0 token for the current user. */
|
|
2669
|
-
oauth_token?: string;
|
|
2670
|
-
/** Returns response with indentations and line breaks. */
|
|
2671
|
-
prettyPrint?: boolean;
|
|
2672
|
-
/** Required. Project ID of the project that contains the instance. */
|
|
2673
|
-
project: string;
|
|
2674
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2675
|
-
quotaUser?: string;
|
|
2676
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2677
|
-
upload_protocol?: string;
|
|
2678
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2679
|
-
uploadType?: string;
|
|
2680
|
-
/** Request body */
|
|
2681
|
-
resource: ExecuteSqlPayload;
|
|
2682
|
-
}): Request<SqlInstancesExecuteSqlResponse>;
|
|
2683
|
-
executeSql(
|
|
2684
|
-
request: {
|
|
2685
|
-
/** V1 error format. */
|
|
2686
|
-
'$.xgafv'?: string;
|
|
2687
|
-
/** OAuth access token. */
|
|
2688
|
-
access_token?: string;
|
|
2689
|
-
/** Data format for response. */
|
|
2690
|
-
alt?: string;
|
|
2691
|
-
/** JSONP */
|
|
2692
|
-
callback?: string;
|
|
2693
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2694
|
-
fields?: string;
|
|
2695
|
-
/** Required. Database instance ID. This does not include the project ID. */
|
|
2696
|
-
instance: string;
|
|
2697
|
-
/** 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. */
|
|
2698
|
-
key?: string;
|
|
2699
|
-
/** OAuth 2.0 token for the current user. */
|
|
2700
|
-
oauth_token?: string;
|
|
2701
|
-
/** Returns response with indentations and line breaks. */
|
|
2702
|
-
prettyPrint?: boolean;
|
|
2703
|
-
/** Required. Project ID of the project that contains the instance. */
|
|
2704
|
-
project: string;
|
|
2705
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2706
|
-
quotaUser?: string;
|
|
2707
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2708
|
-
upload_protocol?: string;
|
|
2709
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2710
|
-
uploadType?: string;
|
|
2711
|
-
},
|
|
2712
|
-
body: ExecuteSqlPayload,
|
|
2713
|
-
): Request<SqlInstancesExecuteSqlResponse>;
|
|
2714
2594
|
/** Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file. */
|
|
2715
2595
|
export(request: {
|
|
2716
2596
|
/** V1 error format. */
|
|
@@ -3922,8 +3802,6 @@ declare namespace gapi.client {
|
|
|
3922
3802
|
project: string;
|
|
3923
3803
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3924
3804
|
quotaUser?: string;
|
|
3925
|
-
/** The timestamp used to identify the time when the source instance is deleted. If this instance is deleted, then you must set the timestamp. */
|
|
3926
|
-
sourceInstanceDeletionTime?: string;
|
|
3927
3805
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3928
3806
|
upload_protocol?: string;
|
|
3929
3807
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -257,14 +257,6 @@ await gapi.client.sql.instances.demoteMaster({
|
|
|
257
257
|
project: 'project',
|
|
258
258
|
});
|
|
259
259
|
|
|
260
|
-
/*
|
|
261
|
-
Runs a SQL statement in a database that's inside of a Cloud SQL instance.
|
|
262
|
-
*/
|
|
263
|
-
await gapi.client.sql.instances.executeSql({
|
|
264
|
-
instance: 'instance',
|
|
265
|
-
project: 'project',
|
|
266
|
-
});
|
|
267
|
-
|
|
268
260
|
/*
|
|
269
261
|
Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.
|
|
270
262
|
*/
|