@maxim_mazurok/gapi.client.compute-alpha 0.0.20220913 → 0.0.20220918
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 +15 -5
- package/package.json +1 -1
- package/tests.ts +5 -1
package/index.d.ts
CHANGED
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
// Nick Amoscato <https://github.com/namoscato>
|
|
5
5
|
// Declan Vong <https://github.com/declanvong>
|
|
6
6
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
-
// TypeScript Version: 2.8
|
|
8
7
|
|
|
9
8
|
// IMPORTANT
|
|
10
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
11
|
// Generated from: https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
|
|
13
|
-
// Revision:
|
|
12
|
+
// Revision: 20220918
|
|
14
13
|
|
|
15
14
|
/// <reference types="gapi.client" />
|
|
16
15
|
|
|
@@ -200,7 +199,10 @@ declare namespace gapi.client {
|
|
|
200
199
|
description?: string;
|
|
201
200
|
/** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
|
|
202
201
|
id?: string;
|
|
203
|
-
/**
|
|
202
|
+
/**
|
|
203
|
+
* The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address
|
|
204
|
+
* reservation.
|
|
205
|
+
*/
|
|
204
206
|
ipv6EndpointType?: string;
|
|
205
207
|
/** The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. */
|
|
206
208
|
ipVersion?: string;
|
|
@@ -3146,7 +3148,7 @@ declare namespace gapi.client {
|
|
|
3146
3148
|
interface FirewallPolicyRuleMatcher {
|
|
3147
3149
|
/** Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10. */
|
|
3148
3150
|
destAddressGroups?: string[];
|
|
3149
|
-
/** Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is
|
|
3151
|
+
/** Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100. */
|
|
3150
3152
|
destFqdns?: string[];
|
|
3151
3153
|
/** CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000. */
|
|
3152
3154
|
destIpRanges?: string[];
|
|
@@ -3161,7 +3163,7 @@ declare namespace gapi.client {
|
|
|
3161
3163
|
layer4Configs?: FirewallPolicyRuleMatcherLayer4Config[];
|
|
3162
3164
|
/** Address groups which should be matched against the traffic source. Maximum number of source address groups is 10. */
|
|
3163
3165
|
srcAddressGroups?: string[];
|
|
3164
|
-
/** Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is
|
|
3166
|
+
/** Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100. */
|
|
3165
3167
|
srcFqdns?: string[];
|
|
3166
3168
|
/** CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000. */
|
|
3167
3169
|
srcIpRanges?: string[];
|
|
@@ -3355,6 +3357,12 @@ declare namespace gapi.client {
|
|
|
3355
3357
|
* forwarding rule with IPv6.
|
|
3356
3358
|
*/
|
|
3357
3359
|
subnetwork?: string;
|
|
3360
|
+
/**
|
|
3361
|
+
* The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding
|
|
3362
|
+
* rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. For more information, see the "Target" column
|
|
3363
|
+
* in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). For Private Service Connect forwarding rules that forward
|
|
3364
|
+
* traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs.
|
|
3365
|
+
*/
|
|
3358
3366
|
target?: string;
|
|
3359
3367
|
}
|
|
3360
3368
|
interface ForwardingRuleAggregatedList {
|
|
@@ -11746,6 +11754,8 @@ declare namespace gapi.client {
|
|
|
11746
11754
|
name?: string;
|
|
11747
11755
|
}
|
|
11748
11756
|
interface RouterNat {
|
|
11757
|
+
/** The network tier to use when automatically reserving IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used. */
|
|
11758
|
+
autoNetworkTier?: string;
|
|
11749
11759
|
/**
|
|
11750
11760
|
* A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a
|
|
11751
11761
|
* NAT only.
|
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: 20220918
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -24689,6 +24689,7 @@ gapi.load('client', async () => {
|
|
|
24689
24689
|
name: "Test string",
|
|
24690
24690
|
nats: [
|
|
24691
24691
|
{
|
|
24692
|
+
autoNetworkTier: "Test string",
|
|
24692
24693
|
drainNatIps: [
|
|
24693
24694
|
"Test string"
|
|
24694
24695
|
],
|
|
@@ -24847,6 +24848,7 @@ gapi.load('client', async () => {
|
|
|
24847
24848
|
name: "Test string",
|
|
24848
24849
|
nats: [
|
|
24849
24850
|
{
|
|
24851
|
+
autoNetworkTier: "Test string",
|
|
24850
24852
|
drainNatIps: [
|
|
24851
24853
|
"Test string"
|
|
24852
24854
|
],
|
|
@@ -24994,6 +24996,7 @@ gapi.load('client', async () => {
|
|
|
24994
24996
|
name: "Test string",
|
|
24995
24997
|
nats: [
|
|
24996
24998
|
{
|
|
24999
|
+
autoNetworkTier: "Test string",
|
|
24997
25000
|
drainNatIps: [
|
|
24998
25001
|
"Test string"
|
|
24999
25002
|
],
|
|
@@ -25155,6 +25158,7 @@ gapi.load('client', async () => {
|
|
|
25155
25158
|
name: "Test string",
|
|
25156
25159
|
nats: [
|
|
25157
25160
|
{
|
|
25161
|
+
autoNetworkTier: "Test string",
|
|
25158
25162
|
drainNatIps: [
|
|
25159
25163
|
"Test string"
|
|
25160
25164
|
],
|