@maxim_mazurok/gapi.client.sqladmin-v1 0.0.20230703 → 0.0.20230721
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 +30 -1
- package/package.json +1 -1
- package/tests.ts +27 -1
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: 20230721
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -237,6 +237,9 @@ declare namespace gapi.client {
|
|
|
237
237
|
/** This is always `sql#connectSettings`. */
|
|
238
238
|
kind?:
|
|
239
239
|
string;
|
|
240
|
+
/** Whether PSC connectivity is enabled for this instance. */
|
|
241
|
+
pscEnabled?:
|
|
242
|
+
boolean;
|
|
240
243
|
/** The cloud region for the instance. For example, `us-central1`, `europe-west1`. The region cannot be changed after instance creation. */
|
|
241
244
|
region?:
|
|
242
245
|
string;
|
|
@@ -317,6 +320,9 @@ declare namespace gapi.client {
|
|
|
317
320
|
/** Disk encryption status specific to an instance. */
|
|
318
321
|
diskEncryptionStatus?:
|
|
319
322
|
DiskEncryptionStatus;
|
|
323
|
+
/** Output only. The dns name of the instance. */
|
|
324
|
+
dnsName?:
|
|
325
|
+
string;
|
|
320
326
|
/** This field is deprecated and will be removed from a future version of the API. Use the `settings.settingsVersion` field instead. */
|
|
321
327
|
etag?:
|
|
322
328
|
string;
|
|
@@ -375,6 +381,9 @@ declare namespace gapi.client {
|
|
|
375
381
|
/** The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable. */
|
|
376
382
|
project?:
|
|
377
383
|
string;
|
|
384
|
+
/** Output only. The link to service attachment of PSC instance. */
|
|
385
|
+
pscServiceAttachmentLink?:
|
|
386
|
+
string;
|
|
378
387
|
/**
|
|
379
388
|
* The geographical region. Can be: * `us-central` (`FIRST_GEN` instances only) * `us-central1` (`SECOND_GEN` instances only) * `asia-east1` or `europe-west1`. Defaults to `us-central`
|
|
380
389
|
* or `us-central1` depending on the instance type. The region cannot be changed after instance creation.
|
|
@@ -719,6 +728,12 @@ declare namespace gapi.client {
|
|
|
719
728
|
*/
|
|
720
729
|
recoveryOnly?:
|
|
721
730
|
boolean;
|
|
731
|
+
/** Optional. StopAt keyword for transaction log import, Applies to Cloud SQL for SQL Server only */
|
|
732
|
+
stopAt?:
|
|
733
|
+
string;
|
|
734
|
+
/** Optional. StopAtMark keyword for transaction log import, Applies to Cloud SQL for SQL Server only */
|
|
735
|
+
stopAtMark?:
|
|
736
|
+
string;
|
|
722
737
|
/** Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server. */
|
|
723
738
|
striped?:
|
|
724
739
|
boolean;
|
|
@@ -890,6 +905,9 @@ declare namespace gapi.client {
|
|
|
890
905
|
*/
|
|
891
906
|
privateNetwork?:
|
|
892
907
|
string;
|
|
908
|
+
/** PSC settings for this instance. */
|
|
909
|
+
pscConfig?:
|
|
910
|
+
PscConfig;
|
|
893
911
|
/** Whether SSL connections over IP are enforced or not. */
|
|
894
912
|
requireSsl?:
|
|
895
913
|
boolean;
|
|
@@ -1152,6 +1170,17 @@ declare namespace gapi.client {
|
|
|
1152
1170
|
targetSizeGb?:
|
|
1153
1171
|
string;
|
|
1154
1172
|
}
|
|
1173
|
+
interface PscConfig {
|
|
1174
|
+
/**
|
|
1175
|
+
* List of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer
|
|
1176
|
+
* project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
|
|
1177
|
+
*/
|
|
1178
|
+
allowedConsumerProjects?:
|
|
1179
|
+
string[];
|
|
1180
|
+
/** Whether PSC connectivity is enabled for this instance. */
|
|
1181
|
+
pscEnabled?:
|
|
1182
|
+
boolean;
|
|
1183
|
+
}
|
|
1155
1184
|
interface ReplicaConfiguration {
|
|
1156
1185
|
/**
|
|
1157
1186
|
* Specifies if the replica is the failover target. If the field is set to `true`, the replica will be designated as a failover replica. In case the primary instance fails, the replica
|
package/package.json
CHANGED
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: 20230721
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -309,6 +309,8 @@ gapi.load('client', async () => {
|
|
|
309
309
|
},
|
|
310
310
|
noRecovery: true,
|
|
311
311
|
recoveryOnly: true,
|
|
312
|
+
stopAt: "Test string",
|
|
313
|
+
stopAtMark: "Test string",
|
|
312
314
|
striped: true,
|
|
313
315
|
},
|
|
314
316
|
csvImportOptions: {
|
|
@@ -349,6 +351,7 @@ gapi.load('client', async () => {
|
|
|
349
351
|
kind: "Test string",
|
|
350
352
|
kmsKeyVersionName: "Test string",
|
|
351
353
|
},
|
|
354
|
+
dnsName: "Test string",
|
|
352
355
|
etag: "Test string",
|
|
353
356
|
failoverReplica: {
|
|
354
357
|
available: true,
|
|
@@ -389,6 +392,7 @@ gapi.load('client', async () => {
|
|
|
389
392
|
sqlOutOfDiskState: "Test string",
|
|
390
393
|
},
|
|
391
394
|
project: "Test string",
|
|
395
|
+
pscServiceAttachmentLink: "Test string",
|
|
392
396
|
region: "Test string",
|
|
393
397
|
replicaConfiguration: {
|
|
394
398
|
failoverTarget: true,
|
|
@@ -503,6 +507,12 @@ gapi.load('client', async () => {
|
|
|
503
507
|
enablePrivatePathForGoogleCloudServices: true,
|
|
504
508
|
ipv4Enabled: true,
|
|
505
509
|
privateNetwork: "Test string",
|
|
510
|
+
pscConfig: {
|
|
511
|
+
allowedConsumerProjects: [
|
|
512
|
+
"Test string"
|
|
513
|
+
],
|
|
514
|
+
pscEnabled: true,
|
|
515
|
+
},
|
|
506
516
|
requireSsl: true,
|
|
507
517
|
},
|
|
508
518
|
kind: "Test string",
|
|
@@ -585,6 +595,7 @@ gapi.load('client', async () => {
|
|
|
585
595
|
kind: "Test string",
|
|
586
596
|
kmsKeyVersionName: "Test string",
|
|
587
597
|
},
|
|
598
|
+
dnsName: "Test string",
|
|
588
599
|
etag: "Test string",
|
|
589
600
|
failoverReplica: {
|
|
590
601
|
available: true,
|
|
@@ -625,6 +636,7 @@ gapi.load('client', async () => {
|
|
|
625
636
|
sqlOutOfDiskState: "Test string",
|
|
626
637
|
},
|
|
627
638
|
project: "Test string",
|
|
639
|
+
pscServiceAttachmentLink: "Test string",
|
|
628
640
|
region: "Test string",
|
|
629
641
|
replicaConfiguration: {
|
|
630
642
|
failoverTarget: true,
|
|
@@ -739,6 +751,12 @@ gapi.load('client', async () => {
|
|
|
739
751
|
enablePrivatePathForGoogleCloudServices: true,
|
|
740
752
|
ipv4Enabled: true,
|
|
741
753
|
privateNetwork: "Test string",
|
|
754
|
+
pscConfig: {
|
|
755
|
+
allowedConsumerProjects: [
|
|
756
|
+
"Test string"
|
|
757
|
+
],
|
|
758
|
+
pscEnabled: true,
|
|
759
|
+
},
|
|
742
760
|
requireSsl: true,
|
|
743
761
|
},
|
|
744
762
|
kind: "Test string",
|
|
@@ -873,6 +891,7 @@ gapi.load('client', async () => {
|
|
|
873
891
|
kind: "Test string",
|
|
874
892
|
kmsKeyVersionName: "Test string",
|
|
875
893
|
},
|
|
894
|
+
dnsName: "Test string",
|
|
876
895
|
etag: "Test string",
|
|
877
896
|
failoverReplica: {
|
|
878
897
|
available: true,
|
|
@@ -913,6 +932,7 @@ gapi.load('client', async () => {
|
|
|
913
932
|
sqlOutOfDiskState: "Test string",
|
|
914
933
|
},
|
|
915
934
|
project: "Test string",
|
|
935
|
+
pscServiceAttachmentLink: "Test string",
|
|
916
936
|
region: "Test string",
|
|
917
937
|
replicaConfiguration: {
|
|
918
938
|
failoverTarget: true,
|
|
@@ -1027,6 +1047,12 @@ gapi.load('client', async () => {
|
|
|
1027
1047
|
enablePrivatePathForGoogleCloudServices: true,
|
|
1028
1048
|
ipv4Enabled: true,
|
|
1029
1049
|
privateNetwork: "Test string",
|
|
1050
|
+
pscConfig: {
|
|
1051
|
+
allowedConsumerProjects: [
|
|
1052
|
+
"Test string"
|
|
1053
|
+
],
|
|
1054
|
+
pscEnabled: true,
|
|
1055
|
+
},
|
|
1030
1056
|
requireSsl: true,
|
|
1031
1057
|
},
|
|
1032
1058
|
kind: "Test string",
|