@maxim_mazurok/gapi.client.sqladmin-v1 0.0.20230518 → 0.0.20230521
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 +50 -2
- package/package.json +1 -1
- package/readme.md +5 -0
- package/tests.ts +7 -1
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: 20230521
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -68,7 +68,7 @@ declare namespace gapi.client {
|
|
|
68
68
|
/** Location of the backup */
|
|
69
69
|
location?:
|
|
70
70
|
string;
|
|
71
|
-
/**
|
|
71
|
+
/** Whether point in time recovery is enabled. */
|
|
72
72
|
pointInTimeRecoveryEnabled?:
|
|
73
73
|
boolean;
|
|
74
74
|
/** Reserved for future use. */
|
|
@@ -507,6 +507,9 @@ declare namespace gapi.client {
|
|
|
507
507
|
kmsKeyVersionName?:
|
|
508
508
|
string;
|
|
509
509
|
}
|
|
510
|
+
// tslint:disable-next-line:no-empty-interface
|
|
511
|
+
interface Empty {
|
|
512
|
+
}
|
|
510
513
|
interface ExportContext {
|
|
511
514
|
/** Options for exporting BAK files (SQL Server-only) */
|
|
512
515
|
bakExportOptions?:
|
|
@@ -1342,6 +1345,9 @@ declare namespace gapi.client {
|
|
|
1342
1345
|
/** External sync mode. */
|
|
1343
1346
|
syncMode?:
|
|
1344
1347
|
string;
|
|
1348
|
+
/** Optional. Parallel level for initial data sync. Currently only applicable for MySQL. */
|
|
1349
|
+
syncParallelLevel?:
|
|
1350
|
+
string;
|
|
1345
1351
|
}
|
|
1346
1352
|
interface SqlInstancesVerifyExternalSyncSettingsRequest {
|
|
1347
1353
|
/** Optional. MySQL-specific settings for start external sync. */
|
|
@@ -3812,6 +3818,48 @@ declare namespace gapi.client {
|
|
|
3812
3818
|
body: DatabaseInstance): Request<Operation>;
|
|
3813
3819
|
}
|
|
3814
3820
|
interface OperationsResource {
|
|
3821
|
+
/** Cancels an instance operation that has been performed on an instance. */
|
|
3822
|
+
cancel(request?: {
|
|
3823
|
+
/** V1 error format. */
|
|
3824
|
+
"$.xgafv"?:
|
|
3825
|
+
string;
|
|
3826
|
+
/** OAuth access token. */
|
|
3827
|
+
access_token?:
|
|
3828
|
+
string;
|
|
3829
|
+
/** Data format for response. */
|
|
3830
|
+
alt?:
|
|
3831
|
+
string;
|
|
3832
|
+
/** JSONP */
|
|
3833
|
+
callback?:
|
|
3834
|
+
string;
|
|
3835
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3836
|
+
fields?:
|
|
3837
|
+
string;
|
|
3838
|
+
/** 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. */
|
|
3839
|
+
key?:
|
|
3840
|
+
string;
|
|
3841
|
+
/** OAuth 2.0 token for the current user. */
|
|
3842
|
+
oauth_token?:
|
|
3843
|
+
string;
|
|
3844
|
+
/** Instance operation ID. */
|
|
3845
|
+
operation:
|
|
3846
|
+
string;
|
|
3847
|
+
/** Returns response with indentations and line breaks. */
|
|
3848
|
+
prettyPrint?:
|
|
3849
|
+
boolean;
|
|
3850
|
+
/** Project ID of the project that contains the instance. */
|
|
3851
|
+
project:
|
|
3852
|
+
string;
|
|
3853
|
+
/** 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. */
|
|
3854
|
+
quotaUser?:
|
|
3855
|
+
string;
|
|
3856
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3857
|
+
upload_protocol?:
|
|
3858
|
+
string;
|
|
3859
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3860
|
+
uploadType?:
|
|
3861
|
+
string;
|
|
3862
|
+
}): Request<{}>;
|
|
3815
3863
|
/** Retrieves an instance operation that has been performed on an instance. */
|
|
3816
3864
|
get(request?: {
|
|
3817
3865
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -239,6 +239,11 @@ Updates settings of a Cloud SQL instance. Using this operation might cause your
|
|
|
239
239
|
*/
|
|
240
240
|
await gapi.client.sql.instances.update({ instance: "instance", project: "project", });
|
|
241
241
|
|
|
242
|
+
/*
|
|
243
|
+
Cancels an instance operation that has been performed on an instance.
|
|
244
|
+
*/
|
|
245
|
+
await gapi.client.sql.operations.cancel({ operation: "operation", project: "project", });
|
|
246
|
+
|
|
242
247
|
/*
|
|
243
248
|
Retrieves an instance operation that has been performed on an instance.
|
|
244
249
|
*/
|
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230521
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -1050,6 +1050,11 @@ gapi.load('client', async () => {
|
|
|
1050
1050
|
"Test string"
|
|
1051
1051
|
],
|
|
1052
1052
|
});
|
|
1053
|
+
/** Cancels an instance operation that has been performed on an instance. */
|
|
1054
|
+
await gapi.client.sql.operations.cancel({
|
|
1055
|
+
operation: "Test string",
|
|
1056
|
+
project: "Test string",
|
|
1057
|
+
});
|
|
1053
1058
|
/** Retrieves an instance operation that has been performed on an instance. */
|
|
1054
1059
|
await gapi.client.sql.operations.get({
|
|
1055
1060
|
operation: "Test string",
|
|
@@ -1105,6 +1110,7 @@ gapi.load('client', async () => {
|
|
|
1105
1110
|
},
|
|
1106
1111
|
skipVerification: true,
|
|
1107
1112
|
syncMode: "Test string",
|
|
1113
|
+
syncParallelLevel: "Test string",
|
|
1108
1114
|
});
|
|
1109
1115
|
/** Verify External primary instance external sync settings. */
|
|
1110
1116
|
await gapi.client.sql.projects.instances.verifyExternalSyncSettings({
|