@maxim_mazurok/gapi.client.sqladmin-v1beta4 0.0.20230521 → 0.0.20230523
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 +2 -50
- package/package.json +1 -1
- package/readme.md +0 -5
- package/tests.ts +1 -7
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: 20230523
|
|
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
|
-
/** Whether point in time recovery is enabled. */
|
|
71
|
+
/** (Postgres only) Whether point in time recovery is enabled. */
|
|
72
72
|
pointInTimeRecoveryEnabled?:
|
|
73
73
|
boolean;
|
|
74
74
|
/** Reserved for future use. */
|
|
@@ -507,9 +507,6 @@ declare namespace gapi.client {
|
|
|
507
507
|
kmsKeyVersionName?:
|
|
508
508
|
string;
|
|
509
509
|
}
|
|
510
|
-
// tslint:disable-next-line:no-empty-interface
|
|
511
|
-
interface Empty {
|
|
512
|
-
}
|
|
513
510
|
interface ExportContext {
|
|
514
511
|
/** Options for exporting BAK files (SQL Server-only) */
|
|
515
512
|
bakExportOptions?:
|
|
@@ -1348,9 +1345,6 @@ declare namespace gapi.client {
|
|
|
1348
1345
|
/** External sync mode. */
|
|
1349
1346
|
syncMode?:
|
|
1350
1347
|
string;
|
|
1351
|
-
/** Optional. Parallel level for initial data sync. Currently only applicable for MySQL. */
|
|
1352
|
-
syncParallelLevel?:
|
|
1353
|
-
string;
|
|
1354
1348
|
}
|
|
1355
1349
|
interface SqlInstancesVerifyExternalSyncSettingsRequest {
|
|
1356
1350
|
/** Optional. MySQL-specific settings for start external sync. */
|
|
@@ -3821,48 +3815,6 @@ declare namespace gapi.client {
|
|
|
3821
3815
|
body: DatabaseInstance): Request<Operation>;
|
|
3822
3816
|
}
|
|
3823
3817
|
interface OperationsResource {
|
|
3824
|
-
/** Cancels an instance operation that has been performed on an instance. */
|
|
3825
|
-
cancel(request?: {
|
|
3826
|
-
/** V1 error format. */
|
|
3827
|
-
"$.xgafv"?:
|
|
3828
|
-
string;
|
|
3829
|
-
/** OAuth access token. */
|
|
3830
|
-
access_token?:
|
|
3831
|
-
string;
|
|
3832
|
-
/** Data format for response. */
|
|
3833
|
-
alt?:
|
|
3834
|
-
string;
|
|
3835
|
-
/** JSONP */
|
|
3836
|
-
callback?:
|
|
3837
|
-
string;
|
|
3838
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3839
|
-
fields?:
|
|
3840
|
-
string;
|
|
3841
|
-
/** 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. */
|
|
3842
|
-
key?:
|
|
3843
|
-
string;
|
|
3844
|
-
/** OAuth 2.0 token for the current user. */
|
|
3845
|
-
oauth_token?:
|
|
3846
|
-
string;
|
|
3847
|
-
/** Instance operation ID. */
|
|
3848
|
-
operation:
|
|
3849
|
-
string;
|
|
3850
|
-
/** Returns response with indentations and line breaks. */
|
|
3851
|
-
prettyPrint?:
|
|
3852
|
-
boolean;
|
|
3853
|
-
/** Project ID of the project that contains the instance. */
|
|
3854
|
-
project:
|
|
3855
|
-
string;
|
|
3856
|
-
/** 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. */
|
|
3857
|
-
quotaUser?:
|
|
3858
|
-
string;
|
|
3859
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3860
|
-
upload_protocol?:
|
|
3861
|
-
string;
|
|
3862
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3863
|
-
uploadType?:
|
|
3864
|
-
string;
|
|
3865
|
-
}): Request<{}>;
|
|
3866
3818
|
/** Retrieves an instance operation that has been performed on an instance. */
|
|
3867
3819
|
get(request?: {
|
|
3868
3820
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -239,11 +239,6 @@ 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
|
-
|
|
247
242
|
/*
|
|
248
243
|
Retrieves an instance operation that has been performed on an instance.
|
|
249
244
|
*/
|
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: 20230523
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -1050,11 +1050,6 @@ 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
|
-
});
|
|
1058
1053
|
/** Retrieves an instance operation that has been performed on an instance. */
|
|
1059
1054
|
await gapi.client.sql.operations.get({
|
|
1060
1055
|
operation: "Test string",
|
|
@@ -1110,7 +1105,6 @@ gapi.load('client', async () => {
|
|
|
1110
1105
|
},
|
|
1111
1106
|
skipVerification: true,
|
|
1112
1107
|
syncMode: "Test string",
|
|
1113
|
-
syncParallelLevel: "Test string",
|
|
1114
1108
|
});
|
|
1115
1109
|
/** Verify External primary instance external sync settings. */
|
|
1116
1110
|
await gapi.client.sql.projects.instances.verifyExternalSyncSettings({
|