@maxim_mazurok/gapi.client.sqladmin-v1 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=v1
|
|
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
|
/**
|
|
@@ -958,6 +960,8 @@ declare namespace gapi.client {
|
|
|
958
960
|
interface SqlInstancesGetDiskShrinkConfigResponse {
|
|
959
961
|
/** This is always `sql#getDiskShrinkConfig`. */
|
|
960
962
|
kind?: string;
|
|
963
|
+
/** Additional message to customers. */
|
|
964
|
+
message?: string;
|
|
961
965
|
/** The minimum size to which a disk can be shrunk in GigaBytes. */
|
|
962
966
|
minimalTargetSizeGb?: string;
|
|
963
967
|
}
|
|
@@ -1481,7 +1485,7 @@ declare namespace gapi.client {
|
|
|
1481
1485
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1482
1486
|
uploadType?: string;
|
|
1483
1487
|
}): Request<Database>;
|
|
1484
|
-
/** Inserts a resource containing information about a database inside a Cloud SQL instance. */
|
|
1488
|
+
/** Inserts a resource containing information about a database inside a Cloud SQL instance. **Note:** You can't modify the default character set and collation. */
|
|
1485
1489
|
insert(request: {
|
|
1486
1490
|
/** V1 error format. */
|
|
1487
1491
|
"$.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. */
|