@googleapis/sqladmin 4.1.0 → 6.0.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 +31 -0
- package/build/index.js +5 -4
- package/build/index.js.map +1 -1
- package/build/v1.d.ts +44 -7
- package/build/v1.js +101 -100
- package/build/v1.js.map +1 -1
- package/build/v1beta4.d.ts +44 -7
- package/build/v1beta4.js +101 -100
- package/build/v1beta4.js.map +1 -1
- package/package.json +5 -5
- package/v1.ts +41 -7
- package/v1beta4.ts +41 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [6.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/sqladmin-v5.0.0...sqladmin-v6.0.0) (2022-10-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* **build:** This release has breaking changes.
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **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))
|
|
13
|
+
|
|
14
|
+
## [5.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/sqladmin-v4.2.0...sqladmin-v5.0.0) (2022-09-21)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### ⚠ BREAKING CHANGES
|
|
18
|
+
|
|
19
|
+
* **sqladmin:** This release has breaking changes.
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* regenerate index files ([f841e13](https://github.com/googleapis/google-api-nodejs-client/commit/f841e1353cb8868a4503662a5fb2136b1b2b06b0))
|
|
24
|
+
* **sqladmin:** update the API ([1ef5f7e](https://github.com/googleapis/google-api-nodejs-client/commit/1ef5f7eb384293fe846ba43e1cd44ee6e3e8f254))
|
|
25
|
+
* **sqladmin:** update the API ([25af112](https://github.com/googleapis/google-api-nodejs-client/commit/25af112f8450b69e8511f47a5c63586e4d54432a))
|
|
26
|
+
|
|
27
|
+
## [4.2.0](https://github.com/googleapis/google-api-nodejs-client/compare/sqladmin-v4.1.0...sqladmin-v4.2.0) (2022-08-19)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* **sqladmin:** update the API ([0e8649b](https://github.com/googleapis/google-api-nodejs-client/commit/0e8649b058b21a22f1ff7788bb7987dc22f72a19))
|
|
33
|
+
|
|
3
34
|
## [4.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/sqladmin-v4.0.1...sqladmin-v4.1.0) (2022-07-04)
|
|
4
35
|
|
|
5
36
|
|
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,10 @@ export declare namespace sqladmin_v1 {
|
|
|
676
684
|
* Database instance export context.
|
|
677
685
|
*/
|
|
678
686
|
export interface Schema$ExportContext {
|
|
687
|
+
bakExportOptions?: {
|
|
688
|
+
stripeCount?: number;
|
|
689
|
+
striped?: boolean;
|
|
690
|
+
} | null;
|
|
679
691
|
/**
|
|
680
692
|
* Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.
|
|
681
693
|
*/
|
|
@@ -831,6 +843,7 @@ export declare namespace sqladmin_v1 {
|
|
|
831
843
|
pvkPassword?: string;
|
|
832
844
|
pvkPath?: string;
|
|
833
845
|
};
|
|
846
|
+
striped?: boolean;
|
|
834
847
|
} | null;
|
|
835
848
|
/**
|
|
836
849
|
* Options for importing data as CSV.
|
|
@@ -1018,13 +1031,17 @@ export declare namespace sqladmin_v1 {
|
|
|
1018
1031
|
*/
|
|
1019
1032
|
export interface Schema$IpConfiguration {
|
|
1020
1033
|
/**
|
|
1021
|
-
* The name of the allocated ip range for the private ip
|
|
1034
|
+
* 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
1035
|
*/
|
|
1023
1036
|
allocatedIpRange?: string | null;
|
|
1024
1037
|
/**
|
|
1025
1038
|
* 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
1039
|
*/
|
|
1027
1040
|
authorizedNetworks?: Schema$AclEntry[];
|
|
1041
|
+
/**
|
|
1042
|
+
* Controls connectivity to private IP instances from Google services, such as BigQuery.
|
|
1043
|
+
*/
|
|
1044
|
+
enablePrivatePathForGoogleCloudServices?: boolean | null;
|
|
1028
1045
|
/**
|
|
1029
1046
|
* Whether the instance is assigned a public IP address or not.
|
|
1030
1047
|
*/
|
|
@@ -1440,6 +1457,10 @@ export declare namespace sqladmin_v1 {
|
|
|
1440
1457
|
* The name of server Instance collation.
|
|
1441
1458
|
*/
|
|
1442
1459
|
collation?: string | null;
|
|
1460
|
+
/**
|
|
1461
|
+
* 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.
|
|
1462
|
+
*/
|
|
1463
|
+
connectorEnforcement?: string | null;
|
|
1443
1464
|
/**
|
|
1444
1465
|
* 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
1466
|
*/
|
|
@@ -1460,6 +1481,10 @@ export declare namespace sqladmin_v1 {
|
|
|
1460
1481
|
* The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances.
|
|
1461
1482
|
*/
|
|
1462
1483
|
dataDiskType?: string | null;
|
|
1484
|
+
/**
|
|
1485
|
+
* Configuration to protect against accidental instance deletion.
|
|
1486
|
+
*/
|
|
1487
|
+
deletionProtectionEnabled?: boolean | null;
|
|
1463
1488
|
/**
|
|
1464
1489
|
* Deny maintenance periods
|
|
1465
1490
|
*/
|
|
@@ -1516,6 +1541,10 @@ export declare namespace sqladmin_v1 {
|
|
|
1516
1541
|
* The tier (or machine type) for this instance, for example `db-custom-1-3840`. WARNING: Changing this restarts the instance.
|
|
1517
1542
|
*/
|
|
1518
1543
|
tier?: string | null;
|
|
1544
|
+
/**
|
|
1545
|
+
* Server timezone, relevant only for Cloud SQL for SQL Server.
|
|
1546
|
+
*/
|
|
1547
|
+
timeZone?: string | null;
|
|
1519
1548
|
/**
|
|
1520
1549
|
* User-provided labels, represented as a dictionary where each label is a single key value pair.
|
|
1521
1550
|
*/
|
|
@@ -2093,6 +2122,7 @@ export declare namespace sqladmin_v1 {
|
|
|
2093
2122
|
* // "selfLink": "my_selfLink",
|
|
2094
2123
|
* // "startTime": "my_startTime",
|
|
2095
2124
|
* // "status": "my_status",
|
|
2125
|
+
* // "timeZone": "my_timeZone",
|
|
2096
2126
|
* // "type": "my_type",
|
|
2097
2127
|
* // "windowStartTime": "my_windowStartTime"
|
|
2098
2128
|
* // }
|
|
@@ -2169,6 +2199,7 @@ export declare namespace sqladmin_v1 {
|
|
|
2169
2199
|
* // "selfLink": "my_selfLink",
|
|
2170
2200
|
* // "startTime": "my_startTime",
|
|
2171
2201
|
* // "status": "my_status",
|
|
2202
|
+
* // "timeZone": "my_timeZone",
|
|
2172
2203
|
* // "type": "my_type",
|
|
2173
2204
|
* // "windowStartTime": "my_windowStartTime"
|
|
2174
2205
|
* // }
|
|
@@ -4082,7 +4113,7 @@ export declare namespace sqladmin_v1 {
|
|
|
4082
4113
|
listServerCas(params: Params$Resource$Instances$Listservercas, callback: BodyResponseCallback<Schema$InstancesListServerCasResponse>): void;
|
|
4083
4114
|
listServerCas(callback: BodyResponseCallback<Schema$InstancesListServerCasResponse>): void;
|
|
4084
4115
|
/**
|
|
4085
|
-
*
|
|
4116
|
+
* Partially updates settings of a Cloud SQL instance by merging the request with the current configuration. This method supports patch semantics.
|
|
4086
4117
|
* @example
|
|
4087
4118
|
* ```js
|
|
4088
4119
|
* // Before running the sample:
|
|
@@ -6294,9 +6325,11 @@ export declare namespace sqladmin_v1 {
|
|
|
6294
6325
|
*
|
|
6295
6326
|
* // Do the magic
|
|
6296
6327
|
* const res = await sql.users.get({
|
|
6328
|
+
* // Host of a user of the instance.
|
|
6329
|
+
* host: 'placeholder-value',
|
|
6297
6330
|
* // Database instance ID. This does not include the project ID.
|
|
6298
6331
|
* instance: 'placeholder-value',
|
|
6299
|
-
* // User of the instance.
|
|
6332
|
+
* // User of the instance.
|
|
6300
6333
|
* name: 'placeholder-value',
|
|
6301
6334
|
* // Project ID of the project that contains the instance.
|
|
6302
6335
|
* project: 'placeholder-value',
|
|
@@ -6612,12 +6645,16 @@ export declare namespace sqladmin_v1 {
|
|
|
6612
6645
|
project?: string;
|
|
6613
6646
|
}
|
|
6614
6647
|
export interface Params$Resource$Users$Get extends StandardParameters {
|
|
6648
|
+
/**
|
|
6649
|
+
* Host of a user of the instance.
|
|
6650
|
+
*/
|
|
6651
|
+
host?: string;
|
|
6615
6652
|
/**
|
|
6616
6653
|
* Database instance ID. This does not include the project ID.
|
|
6617
6654
|
*/
|
|
6618
6655
|
instance?: string;
|
|
6619
6656
|
/**
|
|
6620
|
-
* User of the instance.
|
|
6657
|
+
* User of the instance.
|
|
6621
6658
|
*/
|
|
6622
6659
|
name?: string;
|
|
6623
6660
|
/**
|