@googleapis/sqladmin 4.1.0 → 6.1.0
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/CHANGELOG.md +38 -0
- package/build/index.js +5 -4
- package/build/index.js.map +1 -1
- package/build/v1.d.ts +48 -8
- package/build/v1.js +101 -100
- package/build/v1.js.map +1 -1
- package/build/v1beta4.d.ts +48 -8
- package/build/v1beta4.js +101 -100
- package/build/v1beta4.js.map +1 -1
- package/package.json +6 -6
- package/v1.ts +45 -8
- package/v1beta4.ts +45 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [6.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/sqladmin-v6.0.0...sqladmin-v6.1.0) (2022-12-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **sqladmin:** update the API ([8f82e66](https://github.com/googleapis/google-api-nodejs-client/commit/8f82e665a9bb256d99f320676d5e72396b7a9781))
|
|
9
|
+
|
|
10
|
+
## [6.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/sqladmin-v5.0.0...sqladmin-v6.0.0) (2022-10-28)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ⚠ BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* **build:** This release has breaking changes.
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **build:** run the generator (submodules now require Node 12) ([#3073](https://github.com/googleapis/google-api-nodejs-client/issues/3073)) ([eda0707](https://github.com/googleapis/google-api-nodejs-client/commit/eda07079dadab46a80b6f9ede618f4f43030169e))
|
|
20
|
+
|
|
21
|
+
## [5.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/sqladmin-v4.2.0...sqladmin-v5.0.0) (2022-09-21)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### ⚠ BREAKING CHANGES
|
|
25
|
+
|
|
26
|
+
* **sqladmin:** This release has breaking changes.
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* regenerate index files ([f841e13](https://github.com/googleapis/google-api-nodejs-client/commit/f841e1353cb8868a4503662a5fb2136b1b2b06b0))
|
|
31
|
+
* **sqladmin:** update the API ([1ef5f7e](https://github.com/googleapis/google-api-nodejs-client/commit/1ef5f7eb384293fe846ba43e1cd44ee6e3e8f254))
|
|
32
|
+
* **sqladmin:** update the API ([25af112](https://github.com/googleapis/google-api-nodejs-client/commit/25af112f8450b69e8511f47a5c63586e4d54432a))
|
|
33
|
+
|
|
34
|
+
## [4.2.0](https://github.com/googleapis/google-api-nodejs-client/compare/sqladmin-v4.1.0...sqladmin-v4.2.0) (2022-08-19)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
* **sqladmin:** update the API ([0e8649b](https://github.com/googleapis/google-api-nodejs-client/commit/0e8649b058b21a22f1ff7788bb7987dc22f72a19))
|
|
40
|
+
|
|
3
41
|
## [4.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/sqladmin-v4.0.1...sqladmin-v4.1.0) (2022-07-04)
|
|
4
42
|
|
|
5
43
|
|
package/build/index.js
CHANGED
|
@@ -12,22 +12,23 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AuthPlus = exports.sqladmin_v1beta4 = exports.sqladmin_v1 = exports.auth = exports.sqladmin = exports.VERSIONS = void 0;
|
|
15
16
|
/*! THIS FILE IS AUTO-GENERATED */
|
|
16
17
|
const googleapis_common_1 = require("googleapis-common");
|
|
17
18
|
const v1_1 = require("./v1");
|
|
18
|
-
exports
|
|
19
|
+
Object.defineProperty(exports, "sqladmin_v1", { enumerable: true, get: function () { return v1_1.sqladmin_v1; } });
|
|
19
20
|
const v1beta4_1 = require("./v1beta4");
|
|
20
|
-
exports
|
|
21
|
+
Object.defineProperty(exports, "sqladmin_v1beta4", { enumerable: true, get: function () { return v1beta4_1.sqladmin_v1beta4; } });
|
|
21
22
|
exports.VERSIONS = {
|
|
22
23
|
v1: v1_1.sqladmin_v1.Sqladmin,
|
|
23
24
|
v1beta4: v1beta4_1.sqladmin_v1beta4.Sqladmin,
|
|
24
25
|
};
|
|
25
26
|
function sqladmin(versionOrOptions) {
|
|
26
|
-
return googleapis_common_1.getAPI('sqladmin', versionOrOptions, exports.VERSIONS, this);
|
|
27
|
+
return (0, googleapis_common_1.getAPI)('sqladmin', versionOrOptions, exports.VERSIONS, this);
|
|
27
28
|
}
|
|
28
29
|
exports.sqladmin = sqladmin;
|
|
29
30
|
const auth = new googleapis_common_1.AuthPlus();
|
|
30
31
|
exports.auth = auth;
|
|
31
32
|
var googleapis_common_2 = require("googleapis-common");
|
|
32
|
-
exports
|
|
33
|
+
Object.defineProperty(exports, "AuthPlus", { enumerable: true, get: function () { return googleapis_common_2.AuthPlus; } });
|
|
33
34
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,6BAAiC;AA2BzB,4FA3BA,gBAAW,OA2BA;AA1BnB,uCAA2C;AA2BnC,iGA3BA,0BAAgB,OA2BA;AAzBX,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,gBAAW,CAAC,QAAQ;IACxB,OAAO,EAAE,0BAAgB,CAAC,QAAQ;CACnC,CAAC;AAQF,SAAgB,QAAQ,CAEtB,gBAI4B;IAE5B,OAAO,IAAA,0BAAM,EAAI,UAAU,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AACjE,CAAC;AATD,4BASC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAGZ,uDAS2B;AARzB,6GAAA,QAAQ,OAAA"}
|
package/build/v1.d.ts
CHANGED
|
@@ -246,7 +246,11 @@ export declare namespace sqladmin_v1 {
|
|
|
246
246
|
*/
|
|
247
247
|
status?: string | null;
|
|
248
248
|
/**
|
|
249
|
-
*
|
|
249
|
+
* Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.
|
|
250
|
+
*/
|
|
251
|
+
timeZone?: string | null;
|
|
252
|
+
/**
|
|
253
|
+
* The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
|
|
250
254
|
*/
|
|
251
255
|
type?: string | null;
|
|
252
256
|
/**
|
|
@@ -293,13 +297,17 @@ export declare namespace sqladmin_v1 {
|
|
|
293
297
|
*/
|
|
294
298
|
export interface Schema$CloneContext {
|
|
295
299
|
/**
|
|
296
|
-
* The name of the allocated ip range for the private ip
|
|
300
|
+
* The name of the allocated ip range for the private ip Cloud SQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). 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.
|
|
297
301
|
*/
|
|
298
302
|
allocatedIpRange?: string | null;
|
|
299
303
|
/**
|
|
300
304
|
* Binary log coordinates, if specified, identify the position up to which the source instance is cloned. If not specified, the source instance is cloned up to the most recent binary log coordinates.
|
|
301
305
|
*/
|
|
302
306
|
binLogCoordinates?: Schema$BinLogCoordinates;
|
|
307
|
+
/**
|
|
308
|
+
* (SQL Server only) Clone only the specified databases from the source instance. Clone all databases if empty.
|
|
309
|
+
*/
|
|
310
|
+
databaseNames?: string[] | null;
|
|
303
311
|
/**
|
|
304
312
|
* Name of the Cloud SQL instance to be created as a clone.
|
|
305
313
|
*/
|
|
@@ -509,7 +517,7 @@ export declare namespace sqladmin_v1 {
|
|
|
509
517
|
*/
|
|
510
518
|
replicaNames?: string[] | null;
|
|
511
519
|
/**
|
|
512
|
-
* Initial root password. Use only on creation.
|
|
520
|
+
* Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances.
|
|
513
521
|
*/
|
|
514
522
|
rootPassword?: string | null;
|
|
515
523
|
/**
|
|
@@ -676,6 +684,13 @@ export declare namespace sqladmin_v1 {
|
|
|
676
684
|
* Database instance export context.
|
|
677
685
|
*/
|
|
678
686
|
export interface Schema$ExportContext {
|
|
687
|
+
/**
|
|
688
|
+
* Options for exporting BAK files (SQL Server-only)
|
|
689
|
+
*/
|
|
690
|
+
bakExportOptions?: {
|
|
691
|
+
stripeCount?: number;
|
|
692
|
+
striped?: boolean;
|
|
693
|
+
} | null;
|
|
679
694
|
/**
|
|
680
695
|
* Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.
|
|
681
696
|
*/
|
|
@@ -831,6 +846,7 @@ export declare namespace sqladmin_v1 {
|
|
|
831
846
|
pvkPassword?: string;
|
|
832
847
|
pvkPath?: string;
|
|
833
848
|
};
|
|
849
|
+
striped?: boolean;
|
|
834
850
|
} | null;
|
|
835
851
|
/**
|
|
836
852
|
* Options for importing data as CSV.
|
|
@@ -1018,13 +1034,17 @@ export declare namespace sqladmin_v1 {
|
|
|
1018
1034
|
*/
|
|
1019
1035
|
export interface Schema$IpConfiguration {
|
|
1020
1036
|
/**
|
|
1021
|
-
* The name of the allocated ip range for the private ip
|
|
1037
|
+
* The name of the allocated ip range for the private ip Cloud SQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?.`
|
|
1022
1038
|
*/
|
|
1023
1039
|
allocatedIpRange?: string | null;
|
|
1024
1040
|
/**
|
|
1025
1041
|
* The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example: `157.197.200.0/24`).
|
|
1026
1042
|
*/
|
|
1027
1043
|
authorizedNetworks?: Schema$AclEntry[];
|
|
1044
|
+
/**
|
|
1045
|
+
* Controls connectivity to private IP instances from Google services, such as BigQuery.
|
|
1046
|
+
*/
|
|
1047
|
+
enablePrivatePathForGoogleCloudServices?: boolean | null;
|
|
1028
1048
|
/**
|
|
1029
1049
|
* Whether the instance is assigned a public IP address or not.
|
|
1030
1050
|
*/
|
|
@@ -1343,7 +1363,7 @@ export declare namespace sqladmin_v1 {
|
|
|
1343
1363
|
*/
|
|
1344
1364
|
minLength?: number | null;
|
|
1345
1365
|
/**
|
|
1346
|
-
* Minimum interval after which the password can be changed. This flag is only supported for
|
|
1366
|
+
* Minimum interval after which the password can be changed. This flag is only supported for PostgreSQL.
|
|
1347
1367
|
*/
|
|
1348
1368
|
passwordChangeInterval?: string | null;
|
|
1349
1369
|
/**
|
|
@@ -1440,6 +1460,10 @@ export declare namespace sqladmin_v1 {
|
|
|
1440
1460
|
* The name of server Instance collation.
|
|
1441
1461
|
*/
|
|
1442
1462
|
collation?: string | null;
|
|
1463
|
+
/**
|
|
1464
|
+
* Specifies if connections must use Cloud SQL connectors. Option values include the following: `NOT_REQUIRED` (Cloud SQL instances can be connected without Cloud SQL Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL Connectors). Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance.
|
|
1465
|
+
*/
|
|
1466
|
+
connectorEnforcement?: string | null;
|
|
1443
1467
|
/**
|
|
1444
1468
|
* Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.
|
|
1445
1469
|
*/
|
|
@@ -1460,6 +1484,10 @@ export declare namespace sqladmin_v1 {
|
|
|
1460
1484
|
* The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances.
|
|
1461
1485
|
*/
|
|
1462
1486
|
dataDiskType?: string | null;
|
|
1487
|
+
/**
|
|
1488
|
+
* Configuration to protect against accidental instance deletion.
|
|
1489
|
+
*/
|
|
1490
|
+
deletionProtectionEnabled?: boolean | null;
|
|
1463
1491
|
/**
|
|
1464
1492
|
* Deny maintenance periods
|
|
1465
1493
|
*/
|
|
@@ -1516,6 +1544,10 @@ export declare namespace sqladmin_v1 {
|
|
|
1516
1544
|
* The tier (or machine type) for this instance, for example `db-custom-1-3840`. WARNING: Changing this restarts the instance.
|
|
1517
1545
|
*/
|
|
1518
1546
|
tier?: string | null;
|
|
1547
|
+
/**
|
|
1548
|
+
* Server timezone, relevant only for Cloud SQL for SQL Server.
|
|
1549
|
+
*/
|
|
1550
|
+
timeZone?: string | null;
|
|
1519
1551
|
/**
|
|
1520
1552
|
* User-provided labels, represented as a dictionary where each label is a single key value pair.
|
|
1521
1553
|
*/
|
|
@@ -2093,6 +2125,7 @@ export declare namespace sqladmin_v1 {
|
|
|
2093
2125
|
* // "selfLink": "my_selfLink",
|
|
2094
2126
|
* // "startTime": "my_startTime",
|
|
2095
2127
|
* // "status": "my_status",
|
|
2128
|
+
* // "timeZone": "my_timeZone",
|
|
2096
2129
|
* // "type": "my_type",
|
|
2097
2130
|
* // "windowStartTime": "my_windowStartTime"
|
|
2098
2131
|
* // }
|
|
@@ -2169,6 +2202,7 @@ export declare namespace sqladmin_v1 {
|
|
|
2169
2202
|
* // "selfLink": "my_selfLink",
|
|
2170
2203
|
* // "startTime": "my_startTime",
|
|
2171
2204
|
* // "status": "my_status",
|
|
2205
|
+
* // "timeZone": "my_timeZone",
|
|
2172
2206
|
* // "type": "my_type",
|
|
2173
2207
|
* // "windowStartTime": "my_windowStartTime"
|
|
2174
2208
|
* // }
|
|
@@ -4082,7 +4116,7 @@ export declare namespace sqladmin_v1 {
|
|
|
4082
4116
|
listServerCas(params: Params$Resource$Instances$Listservercas, callback: BodyResponseCallback<Schema$InstancesListServerCasResponse>): void;
|
|
4083
4117
|
listServerCas(callback: BodyResponseCallback<Schema$InstancesListServerCasResponse>): void;
|
|
4084
4118
|
/**
|
|
4085
|
-
*
|
|
4119
|
+
* Partially updates settings of a Cloud SQL instance by merging the request with the current configuration. This method supports patch semantics.
|
|
4086
4120
|
* @example
|
|
4087
4121
|
* ```js
|
|
4088
4122
|
* // Before running the sample:
|
|
@@ -6294,9 +6328,11 @@ export declare namespace sqladmin_v1 {
|
|
|
6294
6328
|
*
|
|
6295
6329
|
* // Do the magic
|
|
6296
6330
|
* const res = await sql.users.get({
|
|
6331
|
+
* // Host of a user of the instance.
|
|
6332
|
+
* host: 'placeholder-value',
|
|
6297
6333
|
* // Database instance ID. This does not include the project ID.
|
|
6298
6334
|
* instance: 'placeholder-value',
|
|
6299
|
-
* // User of the instance.
|
|
6335
|
+
* // User of the instance.
|
|
6300
6336
|
* name: 'placeholder-value',
|
|
6301
6337
|
* // Project ID of the project that contains the instance.
|
|
6302
6338
|
* project: 'placeholder-value',
|
|
@@ -6612,12 +6648,16 @@ export declare namespace sqladmin_v1 {
|
|
|
6612
6648
|
project?: string;
|
|
6613
6649
|
}
|
|
6614
6650
|
export interface Params$Resource$Users$Get extends StandardParameters {
|
|
6651
|
+
/**
|
|
6652
|
+
* Host of a user of the instance.
|
|
6653
|
+
*/
|
|
6654
|
+
host?: string;
|
|
6615
6655
|
/**
|
|
6616
6656
|
* Database instance ID. This does not include the project ID.
|
|
6617
6657
|
*/
|
|
6618
6658
|
instance?: string;
|
|
6619
6659
|
/**
|
|
6620
|
-
* User of the instance.
|
|
6660
|
+
* User of the instance.
|
|
6621
6661
|
*/
|
|
6622
6662
|
name?: string;
|
|
6623
6663
|
/**
|