@maxim_mazurok/gapi.client.sqladmin-v1beta4 0.0.20230710 → 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.
Files changed (3) hide show
  1. package/index.d.ts +24 -1
  2. package/package.json +1 -1
  3. package/tests.ts +25 -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=v1beta4
12
- // Revision: 20230710
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. e.g. `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.
@@ -899,6 +908,9 @@ declare namespace gapi.client {
899
908
  */
900
909
  privateNetwork?:
901
910
  string;
911
+ /** PSC settings for this instance. */
912
+ pscConfig?:
913
+ PscConfig;
902
914
  /** Whether SSL connections over IP are enforced or not. */
903
915
  requireSsl?:
904
916
  boolean;
@@ -1161,6 +1173,17 @@ declare namespace gapi.client {
1161
1173
  targetSizeGb?:
1162
1174
  string;
1163
1175
  }
1176
+ interface PscConfig {
1177
+ /**
1178
+ * 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
1179
+ * project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
1180
+ */
1181
+ allowedConsumerProjects?:
1182
+ string[];
1183
+ /** Whether PSC connectivity is enabled for this instance. */
1184
+ pscEnabled?:
1185
+ boolean;
1186
+ }
1164
1187
  interface ReplicaConfiguration {
1165
1188
  /**
1166
1189
  * 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.sqladmin-v1beta4",
3
- "version": "0.0.20230710",
3
+ "version": "0.0.20230721",
4
4
  "description": "TypeScript typings for Cloud SQL Admin API v1beta4",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230710
6
+ // Revision: 20230721
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -351,6 +351,7 @@ gapi.load('client', async () => {
351
351
  kind: "Test string",
352
352
  kmsKeyVersionName: "Test string",
353
353
  },
354
+ dnsName: "Test string",
354
355
  etag: "Test string",
355
356
  failoverReplica: {
356
357
  available: true,
@@ -391,6 +392,7 @@ gapi.load('client', async () => {
391
392
  sqlOutOfDiskState: "Test string",
392
393
  },
393
394
  project: "Test string",
395
+ pscServiceAttachmentLink: "Test string",
394
396
  region: "Test string",
395
397
  replicaConfiguration: {
396
398
  failoverTarget: true,
@@ -505,6 +507,12 @@ gapi.load('client', async () => {
505
507
  enablePrivatePathForGoogleCloudServices: true,
506
508
  ipv4Enabled: true,
507
509
  privateNetwork: "Test string",
510
+ pscConfig: {
511
+ allowedConsumerProjects: [
512
+ "Test string"
513
+ ],
514
+ pscEnabled: true,
515
+ },
508
516
  requireSsl: true,
509
517
  },
510
518
  kind: "Test string",
@@ -587,6 +595,7 @@ gapi.load('client', async () => {
587
595
  kind: "Test string",
588
596
  kmsKeyVersionName: "Test string",
589
597
  },
598
+ dnsName: "Test string",
590
599
  etag: "Test string",
591
600
  failoverReplica: {
592
601
  available: true,
@@ -627,6 +636,7 @@ gapi.load('client', async () => {
627
636
  sqlOutOfDiskState: "Test string",
628
637
  },
629
638
  project: "Test string",
639
+ pscServiceAttachmentLink: "Test string",
630
640
  region: "Test string",
631
641
  replicaConfiguration: {
632
642
  failoverTarget: true,
@@ -741,6 +751,12 @@ gapi.load('client', async () => {
741
751
  enablePrivatePathForGoogleCloudServices: true,
742
752
  ipv4Enabled: true,
743
753
  privateNetwork: "Test string",
754
+ pscConfig: {
755
+ allowedConsumerProjects: [
756
+ "Test string"
757
+ ],
758
+ pscEnabled: true,
759
+ },
744
760
  requireSsl: true,
745
761
  },
746
762
  kind: "Test string",
@@ -875,6 +891,7 @@ gapi.load('client', async () => {
875
891
  kind: "Test string",
876
892
  kmsKeyVersionName: "Test string",
877
893
  },
894
+ dnsName: "Test string",
878
895
  etag: "Test string",
879
896
  failoverReplica: {
880
897
  available: true,
@@ -915,6 +932,7 @@ gapi.load('client', async () => {
915
932
  sqlOutOfDiskState: "Test string",
916
933
  },
917
934
  project: "Test string",
935
+ pscServiceAttachmentLink: "Test string",
918
936
  region: "Test string",
919
937
  replicaConfiguration: {
920
938
  failoverTarget: true,
@@ -1029,6 +1047,12 @@ gapi.load('client', async () => {
1029
1047
  enablePrivatePathForGoogleCloudServices: true,
1030
1048
  ipv4Enabled: true,
1031
1049
  privateNetwork: "Test string",
1050
+ pscConfig: {
1051
+ allowedConsumerProjects: [
1052
+ "Test string"
1053
+ ],
1054
+ pscEnabled: true,
1055
+ },
1032
1056
  requireSsl: true,
1033
1057
  },
1034
1058
  kind: "Test string",