@maxim_mazurok/gapi.client.compute-alpha 0.0.20221011 → 0.0.20221018

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 -14
  2. package/package.json +1 -1
  3. package/tests.ts +10 -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: 20221011
12
+ // Revision: 20221018
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -2054,7 +2054,7 @@ declare namespace gapi.client {
2054
2054
  allowMethods?: string[];
2055
2055
  /**
2056
2056
  * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item
2057
- * in allowOrigins or an item in allowOriginRegexes.
2057
+ * in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
2058
2058
  */
2059
2059
  allowOriginRegexes?: string[];
2060
2060
  /** Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. */
@@ -4212,7 +4212,7 @@ declare namespace gapi.client {
4212
4212
  /**
4213
4213
  * The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port
4214
4214
  * specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of
4215
- * exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. regexMatch only applies to load balancers that have loadBalancingScheme set to
4215
+ * exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to
4216
4216
  * INTERNAL_SELF_MANAGED.
4217
4217
  */
4218
4218
  regexMatch?: string;
@@ -4343,7 +4343,7 @@ declare namespace gapi.client {
4343
4343
  presentMatch?: boolean;
4344
4344
  /**
4345
4345
  * The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see
4346
- * Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. regexMatch only applies when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
4346
+ * Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
4347
4347
  */
4348
4348
  regexMatch?: string;
4349
4349
  }
@@ -4556,8 +4556,8 @@ declare namespace gapi.client {
4556
4556
  queryParameterMatches?: HttpQueryParameterMatch[];
4557
4557
  /**
4558
4558
  * For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied
4559
- * with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. regexMatch only
4560
- * applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED.
4559
+ * with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions
4560
+ * can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
4561
4561
  */
4562
4562
  regexMatch?: string;
4563
4563
  }
@@ -7434,6 +7434,8 @@ declare namespace gapi.client {
7434
7434
  interface LocationPolicyLocation {
7435
7435
  /** Constraints that the caller requires on the result distribution in this zone. */
7436
7436
  constraints?: LocationPolicyLocationConstraints;
7437
+ /** Names of resources to be put in the location. Must contain unique, correct resource names. If used, targetShape must be left unset. */
7438
+ names?: string[];
7437
7439
  /** Preference for a given location. Set to either ALLOW or DENY. */
7438
7440
  preference?: string;
7439
7441
  }
@@ -10271,11 +10273,6 @@ declare namespace gapi.client {
10271
10273
  name?: string;
10272
10274
  /** Queuing parameters for the requested capacity. */
10273
10275
  queuingPolicy?: QueuingPolicy;
10274
- /**
10275
- * [Output Only] URL of the region where the resource resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable
10276
- * as a field in the request body.
10277
- */
10278
- region?: string;
10279
10276
  /** [Output only] Server-defined URL for the resource. */
10280
10277
  selfLink?: string;
10281
10278
  /** [Output Only] Server-defined URL for this resource with the resource id. */
@@ -15406,7 +15403,7 @@ declare namespace gapi.client {
15406
15403
  region?: string;
15407
15404
  /** [Output Only] Server-defined URL for the resource. */
15408
15405
  selfLink?: string;
15409
- /** The stack type for this VPN gateway to identify the IP protocols that are enabled. If not specified, IPV4_ONLY will be used. */
15406
+ /** The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. */
15410
15407
  stackType?: string;
15411
15408
  /** The list of VPN interfaces associated with this VPN gateway. */
15412
15409
  vpnInterfaces?: VpnGatewayVpnGatewayInterface[];
@@ -15585,7 +15582,10 @@ declare namespace gapi.client {
15585
15582
  * peerGcpGateway.
15586
15583
  */
15587
15584
  peerExternalGateway?: string;
15588
- /** The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. */
15585
+ /**
15586
+ * The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. Possible values are: `0`, `1`, `2`, `3`.
15587
+ * The number of IDs in use depends on the external VPN gateway redundancy type.
15588
+ */
15589
15589
  peerExternalGatewayInterface?: number;
15590
15590
  /**
15591
15591
  * URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly
@@ -15628,7 +15628,7 @@ declare namespace gapi.client {
15628
15628
  * Availability VPN gateway resource is created.
15629
15629
  */
15630
15630
  vpnGateway?: string;
15631
- /** The interface ID of the VPN gateway with which this VPN tunnel is associated. */
15631
+ /** The interface ID of the VPN gateway with which this VPN tunnel is associated. Possible values are: `0`, `1`. */
15632
15632
  vpnGatewayInterface?: number;
15633
15633
  }
15634
15634
  interface VpnTunnelAggregatedList {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20221011",
3
+ "version": "0.0.20221018",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
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: 20221011
6
+ // Revision: 20221018
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -7428,6 +7428,9 @@ gapi.load('client', async () => {
7428
7428
  constraints: {
7429
7429
  maxCount: 42,
7430
7430
  },
7431
+ names: [
7432
+ "Test string"
7433
+ ],
7431
7434
  preference: "Test string",
7432
7435
  }
7433
7436
  },
@@ -18780,6 +18783,9 @@ gapi.load('client', async () => {
18780
18783
  constraints: {
18781
18784
  maxCount: 42,
18782
18785
  },
18786
+ names: [
18787
+ "Test string"
18788
+ ],
18783
18789
  preference: "Test string",
18784
18790
  }
18785
18791
  },
@@ -31410,6 +31416,9 @@ gapi.load('client', async () => {
31410
31416
  constraints: {
31411
31417
  maxCount: 42,
31412
31418
  },
31419
+ names: [
31420
+ "Test string"
31421
+ ],
31413
31422
  preference: "Test string",
31414
31423
  }
31415
31424
  },
@@ -31436,7 +31445,6 @@ gapi.load('client', async () => {
31436
31445
  },
31437
31446
  validUntilTime: "Test string",
31438
31447
  },
31439
- region: "Test string",
31440
31448
  selfLink: "Test string",
31441
31449
  selfLinkWithId: "Test string",
31442
31450
  state: "Test string",