@maxim_mazurok/gapi.client.compute-alpha 0.0.20221224 → 0.0.20230103
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 +7 -3
- 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://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230103
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -8591,6 +8591,8 @@ declare namespace gapi.client {
|
|
|
8591
8591
|
networkIP?: string;
|
|
8592
8592
|
/** The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. */
|
|
8593
8593
|
nicType?: string;
|
|
8594
|
+
/** Name of the parent network interface of a VLAN based nic. If this field is specified, vlan must be set. */
|
|
8595
|
+
parentNicName?: string;
|
|
8594
8596
|
/** The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users. */
|
|
8595
8597
|
queueCount?: number;
|
|
8596
8598
|
/**
|
|
@@ -8610,6 +8612,8 @@ declare namespace gapi.client {
|
|
|
8610
8612
|
* regions/region/subnetworks/subnetwork
|
|
8611
8613
|
*/
|
|
8612
8614
|
subnetwork?: string;
|
|
8615
|
+
/** VLAN tag of a VLAN based network interface, must be in range from 2 to 4094 inclusively. This field is mandatory if the parent network interface name is set. */
|
|
8616
|
+
vlan?: number;
|
|
8613
8617
|
}
|
|
8614
8618
|
interface NetworkInterfaceSubInterface {
|
|
8615
8619
|
/** An IPv4 internal IP address to assign to the instance for this subinterface. If specified, ip_allocation_mode should be set to ALLOCATE_IP. */
|
|
@@ -13358,8 +13362,8 @@ declare namespace gapi.client {
|
|
|
13358
13362
|
}
|
|
13359
13363
|
interface SourceInstanceParams {
|
|
13360
13364
|
/**
|
|
13361
|
-
* Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks,
|
|
13362
|
-
*
|
|
13365
|
+
* Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they
|
|
13366
|
+
* will be attached in read-only mode. Local SSD disks will be created as blank volumes.
|
|
13363
13367
|
*/
|
|
13364
13368
|
diskConfigs?: DiskInstantiationConfig[];
|
|
13365
13369
|
}
|
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: 20230103
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -7037,6 +7037,7 @@ gapi.load('client', async () => {
|
|
|
7037
7037
|
networkAttachment: "Test string",
|
|
7038
7038
|
networkIP: "Test string",
|
|
7039
7039
|
nicType: "Test string",
|
|
7040
|
+
parentNicName: "Test string",
|
|
7040
7041
|
queueCount: 42,
|
|
7041
7042
|
stackType: "Test string",
|
|
7042
7043
|
subinterfaces: [
|
|
@@ -7048,6 +7049,7 @@ gapi.load('client', async () => {
|
|
|
7048
7049
|
}
|
|
7049
7050
|
],
|
|
7050
7051
|
subnetwork: "Test string",
|
|
7052
|
+
vlan: 42,
|
|
7051
7053
|
}
|
|
7052
7054
|
],
|
|
7053
7055
|
networkPerformanceConfig: {
|
|
@@ -7388,6 +7390,7 @@ gapi.load('client', async () => {
|
|
|
7388
7390
|
networkAttachment: "Test string",
|
|
7389
7391
|
networkIP: "Test string",
|
|
7390
7392
|
nicType: "Test string",
|
|
7393
|
+
parentNicName: "Test string",
|
|
7391
7394
|
queueCount: 42,
|
|
7392
7395
|
stackType: "Test string",
|
|
7393
7396
|
subinterfaces: [
|
|
@@ -7399,6 +7402,7 @@ gapi.load('client', async () => {
|
|
|
7399
7402
|
}
|
|
7400
7403
|
],
|
|
7401
7404
|
subnetwork: "Test string",
|
|
7405
|
+
vlan: 42,
|
|
7402
7406
|
}
|
|
7403
7407
|
],
|
|
7404
7408
|
networkPerformanceConfig: {
|
|
@@ -7815,6 +7819,7 @@ gapi.load('client', async () => {
|
|
|
7815
7819
|
networkAttachment: "Test string",
|
|
7816
7820
|
networkIP: "Test string",
|
|
7817
7821
|
nicType: "Test string",
|
|
7822
|
+
parentNicName: "Test string",
|
|
7818
7823
|
queueCount: 42,
|
|
7819
7824
|
stackType: "Test string",
|
|
7820
7825
|
subinterfaces: [
|
|
@@ -7826,6 +7831,7 @@ gapi.load('client', async () => {
|
|
|
7826
7831
|
}
|
|
7827
7832
|
],
|
|
7828
7833
|
subnetwork: "Test string",
|
|
7834
|
+
vlan: 42,
|
|
7829
7835
|
}
|
|
7830
7836
|
],
|
|
7831
7837
|
networkPerformanceConfig: {
|
|
@@ -8638,6 +8644,7 @@ gapi.load('client', async () => {
|
|
|
8638
8644
|
networkAttachment: "Test string",
|
|
8639
8645
|
networkIP: "Test string",
|
|
8640
8646
|
nicType: "Test string",
|
|
8647
|
+
parentNicName: "Test string",
|
|
8641
8648
|
queueCount: 42,
|
|
8642
8649
|
stackType: "Test string",
|
|
8643
8650
|
subinterfaces: [
|
|
@@ -8649,6 +8656,7 @@ gapi.load('client', async () => {
|
|
|
8649
8656
|
}
|
|
8650
8657
|
],
|
|
8651
8658
|
subnetwork: "Test string",
|
|
8659
|
+
vlan: 42,
|
|
8652
8660
|
}
|
|
8653
8661
|
],
|
|
8654
8662
|
networkPerformanceConfig: {
|
|
@@ -8882,6 +8890,7 @@ gapi.load('client', async () => {
|
|
|
8882
8890
|
networkAttachment: "Test string",
|
|
8883
8891
|
networkIP: "Test string",
|
|
8884
8892
|
nicType: "Test string",
|
|
8893
|
+
parentNicName: "Test string",
|
|
8885
8894
|
queueCount: 42,
|
|
8886
8895
|
stackType: "Test string",
|
|
8887
8896
|
subinterfaces: [
|
|
@@ -8893,6 +8902,7 @@ gapi.load('client', async () => {
|
|
|
8893
8902
|
}
|
|
8894
8903
|
],
|
|
8895
8904
|
subnetwork: "Test string",
|
|
8905
|
+
vlan: 42,
|
|
8896
8906
|
});
|
|
8897
8907
|
/**
|
|
8898
8908
|
* Updates the Shielded Instance config for an instance. You can only use this method on a stopped instance. This method supports PATCH semantics and uses the JSON merge patch format and
|
|
@@ -9167,6 +9177,7 @@ gapi.load('client', async () => {
|
|
|
9167
9177
|
networkAttachment: "Test string",
|
|
9168
9178
|
networkIP: "Test string",
|
|
9169
9179
|
nicType: "Test string",
|
|
9180
|
+
parentNicName: "Test string",
|
|
9170
9181
|
queueCount: 42,
|
|
9171
9182
|
stackType: "Test string",
|
|
9172
9183
|
subinterfaces: [
|
|
@@ -9178,6 +9189,7 @@ gapi.load('client', async () => {
|
|
|
9178
9189
|
}
|
|
9179
9190
|
],
|
|
9180
9191
|
subnetwork: "Test string",
|
|
9192
|
+
vlan: 42,
|
|
9181
9193
|
}
|
|
9182
9194
|
],
|
|
9183
9195
|
networkPerformanceConfig: {
|
|
@@ -10822,6 +10834,7 @@ gapi.load('client', async () => {
|
|
|
10822
10834
|
networkAttachment: "Test string",
|
|
10823
10835
|
networkIP: "Test string",
|
|
10824
10836
|
nicType: "Test string",
|
|
10837
|
+
parentNicName: "Test string",
|
|
10825
10838
|
queueCount: 42,
|
|
10826
10839
|
stackType: "Test string",
|
|
10827
10840
|
subinterfaces: [
|
|
@@ -10833,6 +10846,7 @@ gapi.load('client', async () => {
|
|
|
10833
10846
|
}
|
|
10834
10847
|
],
|
|
10835
10848
|
subnetwork: "Test string",
|
|
10849
|
+
vlan: 42,
|
|
10836
10850
|
}
|
|
10837
10851
|
],
|
|
10838
10852
|
networkPerformanceConfig: {
|
|
@@ -11061,6 +11075,7 @@ gapi.load('client', async () => {
|
|
|
11061
11075
|
networkAttachment: "Test string",
|
|
11062
11076
|
networkIP: "Test string",
|
|
11063
11077
|
nicType: "Test string",
|
|
11078
|
+
parentNicName: "Test string",
|
|
11064
11079
|
queueCount: 42,
|
|
11065
11080
|
stackType: "Test string",
|
|
11066
11081
|
subinterfaces: [
|
|
@@ -11072,6 +11087,7 @@ gapi.load('client', async () => {
|
|
|
11072
11087
|
}
|
|
11073
11088
|
],
|
|
11074
11089
|
subnetwork: "Test string",
|
|
11090
|
+
vlan: 42,
|
|
11075
11091
|
}
|
|
11076
11092
|
],
|
|
11077
11093
|
postKeyRevocationActionType: "Test string",
|
|
@@ -18595,6 +18611,7 @@ gapi.load('client', async () => {
|
|
|
18595
18611
|
networkAttachment: "Test string",
|
|
18596
18612
|
networkIP: "Test string",
|
|
18597
18613
|
nicType: "Test string",
|
|
18614
|
+
parentNicName: "Test string",
|
|
18598
18615
|
queueCount: 42,
|
|
18599
18616
|
stackType: "Test string",
|
|
18600
18617
|
subinterfaces: [
|
|
@@ -18606,6 +18623,7 @@ gapi.load('client', async () => {
|
|
|
18606
18623
|
}
|
|
18607
18624
|
],
|
|
18608
18625
|
subnetwork: "Test string",
|
|
18626
|
+
vlan: 42,
|
|
18609
18627
|
}
|
|
18610
18628
|
],
|
|
18611
18629
|
networkPerformanceConfig: {
|
|
@@ -18946,6 +18964,7 @@ gapi.load('client', async () => {
|
|
|
18946
18964
|
networkAttachment: "Test string",
|
|
18947
18965
|
networkIP: "Test string",
|
|
18948
18966
|
nicType: "Test string",
|
|
18967
|
+
parentNicName: "Test string",
|
|
18949
18968
|
queueCount: 42,
|
|
18950
18969
|
stackType: "Test string",
|
|
18951
18970
|
subinterfaces: [
|
|
@@ -18957,6 +18976,7 @@ gapi.load('client', async () => {
|
|
|
18957
18976
|
}
|
|
18958
18977
|
],
|
|
18959
18978
|
subnetwork: "Test string",
|
|
18979
|
+
vlan: 42,
|
|
18960
18980
|
}
|
|
18961
18981
|
],
|
|
18962
18982
|
networkPerformanceConfig: {
|
|
@@ -19292,6 +19312,7 @@ gapi.load('client', async () => {
|
|
|
19292
19312
|
networkAttachment: "Test string",
|
|
19293
19313
|
networkIP: "Test string",
|
|
19294
19314
|
nicType: "Test string",
|
|
19315
|
+
parentNicName: "Test string",
|
|
19295
19316
|
queueCount: 42,
|
|
19296
19317
|
stackType: "Test string",
|
|
19297
19318
|
subinterfaces: [
|
|
@@ -19303,6 +19324,7 @@ gapi.load('client', async () => {
|
|
|
19303
19324
|
}
|
|
19304
19325
|
],
|
|
19305
19326
|
subnetwork: "Test string",
|
|
19327
|
+
vlan: 42,
|
|
19306
19328
|
}
|
|
19307
19329
|
],
|
|
19308
19330
|
networkPerformanceConfig: {
|
|
@@ -31461,6 +31483,7 @@ gapi.load('client', async () => {
|
|
|
31461
31483
|
networkAttachment: "Test string",
|
|
31462
31484
|
networkIP: "Test string",
|
|
31463
31485
|
nicType: "Test string",
|
|
31486
|
+
parentNicName: "Test string",
|
|
31464
31487
|
queueCount: 42,
|
|
31465
31488
|
stackType: "Test string",
|
|
31466
31489
|
subinterfaces: [
|
|
@@ -31472,6 +31495,7 @@ gapi.load('client', async () => {
|
|
|
31472
31495
|
}
|
|
31473
31496
|
],
|
|
31474
31497
|
subnetwork: "Test string",
|
|
31498
|
+
vlan: 42,
|
|
31475
31499
|
}
|
|
31476
31500
|
],
|
|
31477
31501
|
networkPerformanceConfig: {
|
|
@@ -31812,6 +31836,7 @@ gapi.load('client', async () => {
|
|
|
31812
31836
|
networkAttachment: "Test string",
|
|
31813
31837
|
networkIP: "Test string",
|
|
31814
31838
|
nicType: "Test string",
|
|
31839
|
+
parentNicName: "Test string",
|
|
31815
31840
|
queueCount: 42,
|
|
31816
31841
|
stackType: "Test string",
|
|
31817
31842
|
subinterfaces: [
|
|
@@ -31823,6 +31848,7 @@ gapi.load('client', async () => {
|
|
|
31823
31848
|
}
|
|
31824
31849
|
],
|
|
31825
31850
|
subnetwork: "Test string",
|
|
31851
|
+
vlan: 42,
|
|
31826
31852
|
}
|
|
31827
31853
|
],
|
|
31828
31854
|
networkPerformanceConfig: {
|