@maxim_mazurok/gapi.client.compute-alpha 0.0.20230720 → 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.
- package/index.d.ts +25 -4
- package/package.json +2 -2
- 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:
|
|
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
|
-
|
|
8262
|
+
metadata?:
|
|
8263
8263
|
{ [P in string]: string };
|
|
8264
8264
|
}
|
|
8265
8265
|
interface InstancesGetEffectiveFirewallsResponse {
|
|
@@ -10509,6 +10509,9 @@ declare namespace gapi.client {
|
|
|
10509
10509
|
/** [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created. */
|
|
10510
10510
|
instance?:
|
|
10511
10511
|
string;
|
|
10512
|
+
/** [Output Only] The overrides to instance properties resulting from InstanceFlexibilityPolicy. */
|
|
10513
|
+
instanceFlexibilityOverride?:
|
|
10514
|
+
ManagedInstanceInstanceFlexibilityOverride;
|
|
10512
10515
|
/** [Output Only] Health state of the instance per health-check. */
|
|
10513
10516
|
instanceHealth?:
|
|
10514
10517
|
ManagedInstanceInstanceHealth[];
|
|
@@ -10545,6 +10548,14 @@ declare namespace gapi.client {
|
|
|
10545
10548
|
revision?:
|
|
10546
10549
|
string;
|
|
10547
10550
|
}
|
|
10551
|
+
interface ManagedInstanceInstanceFlexibilityOverride {
|
|
10552
|
+
/** The machine type to be used for this instance. */
|
|
10553
|
+
machineType?:
|
|
10554
|
+
string;
|
|
10555
|
+
/** The provisioning model to be used for this instance. */
|
|
10556
|
+
provisioningModel?:
|
|
10557
|
+
string;
|
|
10558
|
+
}
|
|
10548
10559
|
interface ManagedInstanceInstanceHealth {
|
|
10549
10560
|
/** [Output Only] The current detailed instance health state. */
|
|
10550
10561
|
detailedHealthState?:
|
|
@@ -15314,6 +15325,9 @@ declare namespace gapi.client {
|
|
|
15314
15325
|
/** Scope specifies the availability domain to which the VMs should be spread. */
|
|
15315
15326
|
scope?:
|
|
15316
15327
|
string;
|
|
15328
|
+
/** Specifies the number of slices in a multislice workload. */
|
|
15329
|
+
sliceCount?:
|
|
15330
|
+
number;
|
|
15317
15331
|
/** Specifies instances to hosts placement relationship */
|
|
15318
15332
|
style?:
|
|
15319
15333
|
string;
|
|
@@ -15556,7 +15570,10 @@ declare namespace gapi.client {
|
|
|
15556
15570
|
/** An optional description of this resource. Provide this field when you create the resource. */
|
|
15557
15571
|
description?:
|
|
15558
15572
|
string;
|
|
15559
|
-
/**
|
|
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
|
+
*/
|
|
15560
15577
|
destRange?:
|
|
15561
15578
|
string;
|
|
15562
15579
|
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
@@ -15605,7 +15622,11 @@ declare namespace gapi.client {
|
|
|
15605
15622
|
*/
|
|
15606
15623
|
nextHopInterconnectAttachment?:
|
|
15607
15624
|
string;
|
|
15608
|
-
/**
|
|
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
|
+
*/
|
|
15609
15630
|
nextHopIp?:
|
|
15610
15631
|
string;
|
|
15611
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.
|
|
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:
|
|
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
|
-
|
|
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,
|