@maxim_mazurok/gapi.client.sqladmin-v1beta4 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=v1beta4
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250717
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -235,14 +235,6 @@ declare namespace gapi.client {
|
|
|
235
235
|
preferredSecondaryZone?: string;
|
|
236
236
|
/** 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. */
|
|
237
237
|
preferredZone?: string;
|
|
238
|
-
/** The timestamp used to identify the time when the source instance is deleted. If this instance is deleted, then you must set the timestamp. */
|
|
239
|
-
sourceInstanceDeletionTime?: string;
|
|
240
|
-
}
|
|
241
|
-
interface Column {
|
|
242
|
-
/** Name of the column. */
|
|
243
|
-
name?: string;
|
|
244
|
-
/** Datatype of the column. */
|
|
245
|
-
type?: string;
|
|
246
238
|
}
|
|
247
239
|
interface ConnectionPoolConfig {
|
|
248
240
|
/** Whether managed connection pooling is enabled. */
|
|
@@ -324,6 +316,8 @@ declare namespace gapi.client {
|
|
|
324
316
|
availableMaintenanceVersions?: string[];
|
|
325
317
|
/** 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. */
|
|
326
318
|
backendType?: string;
|
|
319
|
+
/** Clears private network settings when the instance is restored. */
|
|
320
|
+
clearNetwork?: boolean;
|
|
327
321
|
/** Connection name of the Cloud SQL instance used in connection strings. */
|
|
328
322
|
connectionName?: string;
|
|
329
323
|
/** 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`. */
|
|
@@ -505,16 +499,6 @@ declare namespace gapi.client {
|
|
|
505
499
|
name?: string;
|
|
506
500
|
}
|
|
507
501
|
interface Empty {}
|
|
508
|
-
interface ExecuteSqlPayload {
|
|
509
|
-
/** 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. */
|
|
510
|
-
autoIamAuthn?: boolean;
|
|
511
|
-
/** Optional. Name of the database on which the statement will be executed. */
|
|
512
|
-
database?: string;
|
|
513
|
-
/** Optional. The maximum number of rows returned per SQL statement. */
|
|
514
|
-
rowLimit?: string;
|
|
515
|
-
/** Required. SQL statement to run on the database. It can be a single statement or a sequence of statements separated by semicolons. */
|
|
516
|
-
sqlStatement?: string;
|
|
517
|
-
}
|
|
518
502
|
interface ExportContext {
|
|
519
503
|
/** Options for exporting BAK files (SQL Server-only) */
|
|
520
504
|
bakExportOptions?: {
|
|
@@ -907,10 +891,6 @@ declare namespace gapi.client {
|
|
|
907
891
|
/** 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). */
|
|
908
892
|
updateTrack?: string;
|
|
909
893
|
}
|
|
910
|
-
interface Metadata {
|
|
911
|
-
/** The time taken to execute the sql statement. */
|
|
912
|
-
sqlStatementExecutionTime?: string;
|
|
913
|
-
}
|
|
914
894
|
interface MySqlReplicaConfiguration {
|
|
915
895
|
/** PEM representation of the trusted CA's x509 certificate. */
|
|
916
896
|
caCertificate?: string;
|
|
@@ -1067,7 +1047,7 @@ declare namespace gapi.client {
|
|
|
1067
1047
|
targetSizeGb?: string;
|
|
1068
1048
|
}
|
|
1069
1049
|
interface PointInTimeRestoreContext {
|
|
1070
|
-
/** 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. */
|
|
1050
|
+
/** 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 */
|
|
1071
1051
|
allocatedIpRange?: string;
|
|
1072
1052
|
/** The Google Cloud Backup and Disaster Recovery Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}. */
|
|
1073
1053
|
datasource?: string;
|
|
@@ -1118,16 +1098,6 @@ declare namespace gapi.client {
|
|
|
1118
1098
|
/** Whether PSC connectivity is enabled for this instance. */
|
|
1119
1099
|
pscEnabled?: boolean;
|
|
1120
1100
|
}
|
|
1121
|
-
interface QueryResult {
|
|
1122
|
-
/** List of columns included in the result. This also includes the data type of the column. */
|
|
1123
|
-
columns?: Column[];
|
|
1124
|
-
/** Message related to the SQL execution result. */
|
|
1125
|
-
message?: string;
|
|
1126
|
-
/** Set to true if a partial result of the SQL execution is returned. */
|
|
1127
|
-
partialResult?: boolean;
|
|
1128
|
-
/** Rows returned by the SQL statement. */
|
|
1129
|
-
rows?: Row[];
|
|
1130
|
-
}
|
|
1131
1101
|
interface ReplicaConfiguration {
|
|
1132
1102
|
/** 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. */
|
|
1133
1103
|
cascadableReplica?: boolean;
|
|
@@ -1174,10 +1144,6 @@ declare namespace gapi.client {
|
|
|
1174
1144
|
/** Optional. The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server certificate version. */
|
|
1175
1145
|
nextVersion?: string;
|
|
1176
1146
|
}
|
|
1177
|
-
interface Row {
|
|
1178
|
-
/** The values for the row. */
|
|
1179
|
-
values?: Value[];
|
|
1180
|
-
}
|
|
1181
1147
|
interface SelectedObjects {
|
|
1182
1148
|
/** Required. The name of the database to migrate. */
|
|
1183
1149
|
database?: string;
|
|
@@ -1263,18 +1229,10 @@ declare namespace gapi.client {
|
|
|
1263
1229
|
userLabels?: {[P in string]: string};
|
|
1264
1230
|
}
|
|
1265
1231
|
interface SqlActiveDirectoryConfig {
|
|
1266
|
-
/** Optional. The secret manager key storing the administrator credential. (e.g., projects/{project}/secrets/{secret}). */
|
|
1267
|
-
adminCredentialSecretName?: string;
|
|
1268
|
-
/** Optional. Domain controller IPv4 addresses used to bootstrap Active Directory. */
|
|
1269
|
-
dnsServers?: string[];
|
|
1270
1232
|
/** The name of the domain (e.g., mydomain.com). */
|
|
1271
1233
|
domain?: string;
|
|
1272
1234
|
/** This is always sql#activeDirectoryConfig. */
|
|
1273
1235
|
kind?: string;
|
|
1274
|
-
/** Optional. The mode of the Active Directory configuration. */
|
|
1275
|
-
mode?: string;
|
|
1276
|
-
/** Optional. The organizational unit distinguished name. This is the full hierarchical path to the organizational unit. */
|
|
1277
|
-
organizationalUnit?: string;
|
|
1278
1236
|
}
|
|
1279
1237
|
interface SqlExternalSyncSettingError {
|
|
1280
1238
|
/** Additional information about the error encountered. */
|
|
@@ -1288,16 +1246,6 @@ declare namespace gapi.client {
|
|
|
1288
1246
|
/** The unique identifier for this operation. */
|
|
1289
1247
|
operationId?: string;
|
|
1290
1248
|
}
|
|
1291
|
-
interface SqlInstancesExecuteSqlResponse {
|
|
1292
|
-
/** Message related to the SQL execution result. */
|
|
1293
|
-
message?: string;
|
|
1294
|
-
/** The additional metadata information regarding the execution of the SQL statement. */
|
|
1295
|
-
metadata?: Metadata;
|
|
1296
|
-
/** Set to true if a partial result of the SQL execution is returned. */
|
|
1297
|
-
partialResult?: boolean;
|
|
1298
|
-
/** The list of results after executing all the SQL statements. */
|
|
1299
|
-
results?: QueryResult[];
|
|
1300
|
-
}
|
|
1301
1249
|
interface SqlInstancesGetDiskShrinkConfigResponse {
|
|
1302
1250
|
/** This is always `sql#getDiskShrinkConfig`. */
|
|
1303
1251
|
kind?: string;
|
|
@@ -1523,12 +1471,6 @@ declare namespace gapi.client {
|
|
|
1523
1471
|
/** Unused. */
|
|
1524
1472
|
nextPageToken?: string;
|
|
1525
1473
|
}
|
|
1526
|
-
interface Value {
|
|
1527
|
-
/** If cell value is null, then this flag will be set to true. */
|
|
1528
|
-
nullValue?: boolean;
|
|
1529
|
-
/** The cell value represented in string format. */
|
|
1530
|
-
value?: string;
|
|
1531
|
-
}
|
|
1532
1474
|
interface BackupRunsResource {
|
|
1533
1475
|
/** Deletes the backup taken by a backup run. */
|
|
1534
1476
|
delete(request?: {
|
|
@@ -2654,68 +2596,6 @@ declare namespace gapi.client {
|
|
|
2654
2596
|
},
|
|
2655
2597
|
body: InstancesDemoteMasterRequest,
|
|
2656
2598
|
): Request<Operation>;
|
|
2657
|
-
/** Runs a SQL statement in a database that's inside of a Cloud SQL instance. */
|
|
2658
|
-
executeSql(request: {
|
|
2659
|
-
/** V1 error format. */
|
|
2660
|
-
'$.xgafv'?: string;
|
|
2661
|
-
/** OAuth access token. */
|
|
2662
|
-
access_token?: string;
|
|
2663
|
-
/** Data format for response. */
|
|
2664
|
-
alt?: string;
|
|
2665
|
-
/** JSONP */
|
|
2666
|
-
callback?: string;
|
|
2667
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2668
|
-
fields?: string;
|
|
2669
|
-
/** Required. Database instance ID. This does not include the project ID. */
|
|
2670
|
-
instance: string;
|
|
2671
|
-
/** 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. */
|
|
2672
|
-
key?: string;
|
|
2673
|
-
/** OAuth 2.0 token for the current user. */
|
|
2674
|
-
oauth_token?: string;
|
|
2675
|
-
/** Returns response with indentations and line breaks. */
|
|
2676
|
-
prettyPrint?: boolean;
|
|
2677
|
-
/** Required. Project ID of the project that contains the instance. */
|
|
2678
|
-
project: string;
|
|
2679
|
-
/** 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. */
|
|
2680
|
-
quotaUser?: string;
|
|
2681
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2682
|
-
upload_protocol?: string;
|
|
2683
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2684
|
-
uploadType?: string;
|
|
2685
|
-
/** Request body */
|
|
2686
|
-
resource: ExecuteSqlPayload;
|
|
2687
|
-
}): Request<SqlInstancesExecuteSqlResponse>;
|
|
2688
|
-
executeSql(
|
|
2689
|
-
request: {
|
|
2690
|
-
/** V1 error format. */
|
|
2691
|
-
'$.xgafv'?: string;
|
|
2692
|
-
/** OAuth access token. */
|
|
2693
|
-
access_token?: string;
|
|
2694
|
-
/** Data format for response. */
|
|
2695
|
-
alt?: string;
|
|
2696
|
-
/** JSONP */
|
|
2697
|
-
callback?: string;
|
|
2698
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2699
|
-
fields?: string;
|
|
2700
|
-
/** Required. Database instance ID. This does not include the project ID. */
|
|
2701
|
-
instance: string;
|
|
2702
|
-
/** 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. */
|
|
2703
|
-
key?: string;
|
|
2704
|
-
/** OAuth 2.0 token for the current user. */
|
|
2705
|
-
oauth_token?: string;
|
|
2706
|
-
/** Returns response with indentations and line breaks. */
|
|
2707
|
-
prettyPrint?: boolean;
|
|
2708
|
-
/** Required. Project ID of the project that contains the instance. */
|
|
2709
|
-
project: string;
|
|
2710
|
-
/** 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. */
|
|
2711
|
-
quotaUser?: string;
|
|
2712
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2713
|
-
upload_protocol?: string;
|
|
2714
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2715
|
-
uploadType?: string;
|
|
2716
|
-
},
|
|
2717
|
-
body: ExecuteSqlPayload,
|
|
2718
|
-
): Request<SqlInstancesExecuteSqlResponse>;
|
|
2719
2599
|
/** Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file. */
|
|
2720
2600
|
export(request: {
|
|
2721
2601
|
/** V1 error format. */
|
|
@@ -3927,8 +3807,6 @@ declare namespace gapi.client {
|
|
|
3927
3807
|
project: string;
|
|
3928
3808
|
/** 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. */
|
|
3929
3809
|
quotaUser?: string;
|
|
3930
|
-
/** The timestamp used to identify the time when the source instance is deleted. If this instance is deleted, then you must set the timestamp. */
|
|
3931
|
-
sourceInstanceDeletionTime?: string;
|
|
3932
3810
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3933
3811
|
upload_protocol?: string;
|
|
3934
3812
|
/** 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
|
*/
|