@maxim_mazurok/gapi.client.compute-alpha 0.0.20230725 → 0.0.20230801

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 +14 -4
  2. package/package.json +2 -2
  3. package/tests.ts +4 -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://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
12
- // Revision: 20230725
12
+ // Revision: 20230801
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -8259,7 +8259,7 @@ declare namespace gapi.client {
8259
8259
  kind?:
8260
8260
  string;
8261
8261
  /** A metadata key/value map. The total size of all keys and values must be less than 512KB. */
8262
- metadatas?:
8262
+ metadata?:
8263
8263
  { [P in string]: string };
8264
8264
  }
8265
8265
  interface InstancesGetEffectiveFirewallsResponse {
@@ -15325,6 +15325,9 @@ declare namespace gapi.client {
15325
15325
  /** Scope specifies the availability domain to which the VMs should be spread. */
15326
15326
  scope?:
15327
15327
  string;
15328
+ /** Specifies the number of slices in a multislice workload. */
15329
+ sliceCount?:
15330
+ number;
15328
15331
  /** Specifies instances to hosts placement relationship */
15329
15332
  style?:
15330
15333
  string;
@@ -15567,7 +15570,10 @@ declare namespace gapi.client {
15567
15570
  /** An optional description of this resource. Provide this field when you create the resource. */
15568
15571
  description?:
15569
15572
  string;
15570
- /** The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. */
15573
+ /**
15574
+ * The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291
15575
+ * format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
15576
+ */
15571
15577
  destRange?:
15572
15578
  string;
15573
15579
  /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
@@ -15616,7 +15622,11 @@ declare namespace gapi.client {
15616
15622
  */
15617
15623
  nextHopInterconnectAttachment?:
15618
15624
  string;
15619
- /** The network IP address of an instance that should handle matching packets. Only IPv4 is supported. */
15625
+ /**
15626
+ * The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation
15627
+ * (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format
15628
+ * (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
15629
+ */
15620
15630
  nextHopIp?:
15621
15631
  string;
15622
15632
  /** The URL of the local network if it should handle matching packets. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20230725",
3
+ "version": "0.0.20230801",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -15,6 +15,6 @@
15
15
  "types": "index.d.ts",
16
16
  "dependencies": {
17
17
  "@types/gapi.client": "*",
18
- "@types/gapi.client.discovery": "*"
18
+ "@types/gapi.client.discovery-v1": "*"
19
19
  }
20
20
  }
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: 20230725
6
+ // Revision: 20230801
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -8938,7 +8938,7 @@ gapi.load('client', async () => {
8938
8938
  kind: "Test string",
8939
8939
  metadata: {
8940
8940
  kind: "Test string",
8941
- metadatas: {
8941
+ metadata: {
8942
8942
  A: "Test string"
8943
8943
  },
8944
8944
  },
@@ -24940,6 +24940,7 @@ gapi.load('client', async () => {
24940
24940
  locality: "Test string",
24941
24941
  maxDistance: 42,
24942
24942
  scope: "Test string",
24943
+ sliceCount: 42,
24943
24944
  style: "Test string",
24944
24945
  tpuTopology: "Test string",
24945
24946
  vmCount: 42,
@@ -25048,6 +25049,7 @@ gapi.load('client', async () => {
25048
25049
  locality: "Test string",
25049
25050
  maxDistance: 42,
25050
25051
  scope: "Test string",
25052
+ sliceCount: 42,
25051
25053
  style: "Test string",
25052
25054
  tpuTopology: "Test string",
25053
25055
  vmCount: 42,