@maxim_mazurok/gapi.client.sqladmin-v1beta4 0.0.20230403 → 0.0.20230422
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 +6 -2
- package/package.json +1 -1
- package/readme.md +1 -1
- package/tests.ts +3 -2
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: 20230422
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -150,6 +150,8 @@ declare namespace gapi.client {
|
|
|
150
150
|
pitrTimestampMs?: string;
|
|
151
151
|
/** Timestamp, if specified, identifies the time to which the source instance is cloned. */
|
|
152
152
|
pointInTime?: string;
|
|
153
|
+
/** (Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone. If no zone is specified, clone to the same zone as the source instance. */
|
|
154
|
+
preferredZone?: string;
|
|
153
155
|
}
|
|
154
156
|
interface ConnectSettings {
|
|
155
157
|
/**
|
|
@@ -961,6 +963,8 @@ declare namespace gapi.client {
|
|
|
961
963
|
interface SqlInstancesGetDiskShrinkConfigResponse {
|
|
962
964
|
/** This is always `sql#getDiskShrinkConfig`. */
|
|
963
965
|
kind?: string;
|
|
966
|
+
/** Additional message to customers. */
|
|
967
|
+
message?: string;
|
|
964
968
|
/** The minimum size to which a disk can be shrunk in GigaBytes. */
|
|
965
969
|
minimalTargetSizeGb?: string;
|
|
966
970
|
}
|
|
@@ -1484,7 +1488,7 @@ declare namespace gapi.client {
|
|
|
1484
1488
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1485
1489
|
uploadType?: string;
|
|
1486
1490
|
}): Request<Database>;
|
|
1487
|
-
/** Inserts a resource containing information about a database inside a Cloud SQL instance. */
|
|
1491
|
+
/** Inserts a resource containing information about a database inside a Cloud SQL instance. **Note:** You can't modify the default character set and collation. */
|
|
1488
1492
|
insert(request: {
|
|
1489
1493
|
/** V1 error format. */
|
|
1490
1494
|
"$.xgafv"?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -110,7 +110,7 @@ Retrieves a resource containing information about a database inside a Cloud SQL
|
|
|
110
110
|
await gapi.client.sql.databases.get({ database: "database", instance: "instance", project: "project", });
|
|
111
111
|
|
|
112
112
|
/*
|
|
113
|
-
Inserts a resource containing information about a database inside a Cloud SQL instance.
|
|
113
|
+
Inserts a resource containing information about a database inside a Cloud SQL instance. **Note:** You can't modify the default character set and collation.
|
|
114
114
|
*/
|
|
115
115
|
await gapi.client.sql.databases.insert({ instance: "instance", project: "project", });
|
|
116
116
|
|
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: 20230422
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -114,7 +114,7 @@ gapi.load('client', async () => {
|
|
|
114
114
|
instance: "Test string",
|
|
115
115
|
project: "Test string",
|
|
116
116
|
});
|
|
117
|
-
/** Inserts a resource containing information about a database inside a Cloud SQL instance. */
|
|
117
|
+
/** Inserts a resource containing information about a database inside a Cloud SQL instance. **Note:** You can't modify the default character set and collation. */
|
|
118
118
|
await gapi.client.sql.databases.insert({
|
|
119
119
|
instance: "Test string",
|
|
120
120
|
project: "Test string",
|
|
@@ -206,6 +206,7 @@ gapi.load('client', async () => {
|
|
|
206
206
|
kind: "Test string",
|
|
207
207
|
pitrTimestampMs: "Test string",
|
|
208
208
|
pointInTime: "Test string",
|
|
209
|
+
preferredZone: "Test string",
|
|
209
210
|
},
|
|
210
211
|
});
|
|
211
212
|
/** Deletes a Cloud SQL instance. */
|