@maxim_mazurok/gapi.client.compute-alpha 0.0.20240407 → 0.0.20240421

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 +161 -11
  2. package/package.json +1 -1
  3. package/readme.md +10 -0
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: 20240407
12
+ // Revision: 20240421
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -4789,6 +4789,8 @@ declare namespace gapi.client {
4789
4789
  rangeStart?: string;
4790
4790
  }
4791
4791
  interface Interconnect {
4792
+ /** Enable or disable the Application Aware Interconnect(AAI) feature on this interconnect. */
4793
+ aaiEnabled?: boolean;
4792
4794
  /** Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. */
4793
4795
  adminEnabled?: boolean;
4794
4796
  /** Configuration for enabling Application Aware Interconnect (AAI) on this Cloud Interconnect connection between Google and your on-premises router. */
@@ -7380,7 +7382,7 @@ declare namespace gapi.client {
7380
7382
  description?: string;
7381
7383
  /** Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE. */
7382
7384
  enable?: string;
7383
- /** Filter for mirrored traffic. If unspecified, all traffic is mirrored. */
7385
+ /** Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored. */
7384
7386
  filter?: PacketMirroringFilter;
7385
7387
  /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
7386
7388
  id?: string;
@@ -7430,7 +7432,7 @@ declare namespace gapi.client {
7430
7432
  };
7431
7433
  }
7432
7434
  interface PacketMirroringFilter {
7433
- /** One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". */
7435
+ /** One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". */
7434
7436
  cidrRanges?: string[];
7435
7437
  /** Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. */
7436
7438
  direction?: string;
@@ -9126,15 +9128,15 @@ declare namespace gapi.client {
9126
9128
  enable?: string;
9127
9129
  /** Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4. */
9128
9130
  enableIpv4?: boolean;
9129
- /** Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default. */
9131
+ /** Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6. */
9130
9132
  enableIpv6?: boolean;
9131
- /** List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. */
9133
+ /** List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies. */
9132
9134
  exportPolicies?: string[];
9133
- /** List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. */
9135
+ /** List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies. */
9134
9136
  importPolicies?: string[];
9135
9137
  /** Name of the interface the BGP peer is associated with. */
9136
9138
  interfaceName?: string;
9137
- /** IP address of the interface inside Google Cloud Platform. Only IPv4 is supported. */
9139
+ /** IP address of the interface inside Google Cloud Platform. */
9138
9140
  ipAddress?: string;
9139
9141
  /** IPv4 address of the interface inside Google Cloud Platform. */
9140
9142
  ipv4NexthopAddress?: string;
@@ -9148,7 +9150,7 @@ declare namespace gapi.client {
9148
9150
  name?: string;
9149
9151
  /** Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value. */
9150
9152
  peerAsn?: number;
9151
- /** IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported. */
9153
+ /** IP address of the BGP interface outside Google Cloud Platform. */
9152
9154
  peerIpAddress?: string;
9153
9155
  /** IPv4 address of the BGP interface outside Google Cloud Platform. */
9154
9156
  peerIpv4NexthopAddress?: string;
@@ -9178,7 +9180,7 @@ declare namespace gapi.client {
9178
9180
  range?: string;
9179
9181
  }
9180
9182
  interface RouterInterface {
9181
- /** IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface. */
9183
+ /** IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose. */
9182
9184
  ipRange?: string;
9183
9185
  /** IP version of this interface. */
9184
9186
  ipVersion?: string;
@@ -9439,7 +9441,7 @@ declare namespace gapi.client {
9439
9441
  bfdStatus?: BfdStatus;
9440
9442
  /** Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4. */
9441
9443
  enableIpv4?: boolean;
9442
- /** Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default. */
9444
+ /** Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6. */
9443
9445
  enableIpv6?: boolean;
9444
9446
  /** IP address of the local BGP interface. */
9445
9447
  ipAddress?: string;
@@ -11562,7 +11564,7 @@ declare namespace gapi.client {
11562
11564
  description?: string;
11563
11565
  /** Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpsProxy. An up-to-date fingerprint must be provided in order to patch the TargetHttpsProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpsProxy. */
11564
11566
  fingerprint?: string;
11565
- /** URLs to networkservices.HttpFilter resources enabled for xDS clients using this configuration. For example, https://networkservices.googleapis.com/beta/projects/project/locations/ locationhttpFilters/httpFilter Only filters that handle outbound connection and stream events may be specified. These filters work in conjunction with a default set of HTTP filters that may already be configured by Traffic Director. Traffic Director will determine the final location of these filters within xDS configuration based on the name of the HTTP filter. If Traffic Director positions multiple filters at the same location, those filters will be in the same order as specified in this list. httpFilters only applies for loadbalancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. */
11567
+ /** URLs to networkservices.HttpFilter resources enabled for xDS clients using this configuration. For example, https://networkservices.googleapis.com/beta/projects/project/locations/ location/httpFilters/httpFilter Only filters that handle outbound connection and stream events may be specified. These filters work in conjunction with a default set of HTTP filters that may already be configured by Traffic Director. Traffic Director will determine the final location of these filters within xDS configuration based on the name of the HTTP filter. If Traffic Director positions multiple filters at the same location, those filters will be in the same order as specified in this list. httpFilters only applies for loadbalancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. */
11566
11568
  httpFilters?: string[];
11567
11569
  /** Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. For global external Application Load Balancers, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For classic Application Load Balancers, this option is not supported. */
11568
11570
  httpKeepAliveTimeoutSec?: number;
@@ -49227,6 +49229,154 @@ declare namespace gapi.client {
49227
49229
  },
49228
49230
  body: Router
49229
49231
  ): Request<Operation>;
49232
+ /** Patches Named Set */
49233
+ patchNamedSet(request: {
49234
+ /** V1 error format. */
49235
+ '$.xgafv'?: string;
49236
+ /** OAuth access token. */
49237
+ access_token?: string;
49238
+ /** Data format for response. */
49239
+ alt?: string;
49240
+ /** JSONP */
49241
+ callback?: string;
49242
+ /** Selector specifying which fields to include in a partial response. */
49243
+ fields?: string;
49244
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
49245
+ key?: string;
49246
+ /** OAuth 2.0 token for the current user. */
49247
+ oauth_token?: string;
49248
+ /** Returns response with indentations and line breaks. */
49249
+ prettyPrint?: boolean;
49250
+ /** Project ID for this request. */
49251
+ project: string;
49252
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
49253
+ quotaUser?: string;
49254
+ /** Name of the region for this request. */
49255
+ region: string;
49256
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
49257
+ requestId?: string;
49258
+ /** Name of the Router resource where Named Set is defined. */
49259
+ router: string;
49260
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
49261
+ upload_protocol?: string;
49262
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
49263
+ uploadType?: string;
49264
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
49265
+ userIp?: string;
49266
+ /** Request body */
49267
+ resource: NamedSet;
49268
+ }): Request<Operation>;
49269
+ patchNamedSet(
49270
+ request: {
49271
+ /** V1 error format. */
49272
+ '$.xgafv'?: string;
49273
+ /** OAuth access token. */
49274
+ access_token?: string;
49275
+ /** Data format for response. */
49276
+ alt?: string;
49277
+ /** JSONP */
49278
+ callback?: string;
49279
+ /** Selector specifying which fields to include in a partial response. */
49280
+ fields?: string;
49281
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
49282
+ key?: string;
49283
+ /** OAuth 2.0 token for the current user. */
49284
+ oauth_token?: string;
49285
+ /** Returns response with indentations and line breaks. */
49286
+ prettyPrint?: boolean;
49287
+ /** Project ID for this request. */
49288
+ project: string;
49289
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
49290
+ quotaUser?: string;
49291
+ /** Name of the region for this request. */
49292
+ region: string;
49293
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
49294
+ requestId?: string;
49295
+ /** Name of the Router resource where Named Set is defined. */
49296
+ router: string;
49297
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
49298
+ upload_protocol?: string;
49299
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
49300
+ uploadType?: string;
49301
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
49302
+ userIp?: string;
49303
+ },
49304
+ body: NamedSet
49305
+ ): Request<Operation>;
49306
+ /** Patches Route Policy */
49307
+ patchRoutePolicy(request: {
49308
+ /** V1 error format. */
49309
+ '$.xgafv'?: string;
49310
+ /** OAuth access token. */
49311
+ access_token?: string;
49312
+ /** Data format for response. */
49313
+ alt?: string;
49314
+ /** JSONP */
49315
+ callback?: string;
49316
+ /** Selector specifying which fields to include in a partial response. */
49317
+ fields?: string;
49318
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
49319
+ key?: string;
49320
+ /** OAuth 2.0 token for the current user. */
49321
+ oauth_token?: string;
49322
+ /** Returns response with indentations and line breaks. */
49323
+ prettyPrint?: boolean;
49324
+ /** Project ID for this request. */
49325
+ project: string;
49326
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
49327
+ quotaUser?: string;
49328
+ /** Name of the region for this request. */
49329
+ region: string;
49330
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
49331
+ requestId?: string;
49332
+ /** Name of the Router resource where Route Policy is defined. */
49333
+ router: string;
49334
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
49335
+ upload_protocol?: string;
49336
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
49337
+ uploadType?: string;
49338
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
49339
+ userIp?: string;
49340
+ /** Request body */
49341
+ resource: RoutePolicy;
49342
+ }): Request<Operation>;
49343
+ patchRoutePolicy(
49344
+ request: {
49345
+ /** V1 error format. */
49346
+ '$.xgafv'?: string;
49347
+ /** OAuth access token. */
49348
+ access_token?: string;
49349
+ /** Data format for response. */
49350
+ alt?: string;
49351
+ /** JSONP */
49352
+ callback?: string;
49353
+ /** Selector specifying which fields to include in a partial response. */
49354
+ fields?: string;
49355
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
49356
+ key?: string;
49357
+ /** OAuth 2.0 token for the current user. */
49358
+ oauth_token?: string;
49359
+ /** Returns response with indentations and line breaks. */
49360
+ prettyPrint?: boolean;
49361
+ /** Project ID for this request. */
49362
+ project: string;
49363
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
49364
+ quotaUser?: string;
49365
+ /** Name of the region for this request. */
49366
+ region: string;
49367
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
49368
+ requestId?: string;
49369
+ /** Name of the Router resource where Route Policy is defined. */
49370
+ router: string;
49371
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
49372
+ upload_protocol?: string;
49373
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
49374
+ uploadType?: string;
49375
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
49376
+ userIp?: string;
49377
+ },
49378
+ body: RoutePolicy
49379
+ ): Request<Operation>;
49230
49380
  /** Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router. */
49231
49381
  preview(request: {
49232
49382
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20240407",
3
+ "version": "0.0.20240421",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -3760,6 +3760,16 @@ Patches the specified Router resource with the data included in the request. Thi
3760
3760
  */
3761
3761
  await gapi.client.compute.routers.patch({ project: "project", region: "region", router: "router", });
3762
3762
 
3763
+ /*
3764
+ Patches Named Set
3765
+ */
3766
+ await gapi.client.compute.routers.patchNamedSet({ project: "project", region: "region", router: "router", });
3767
+
3768
+ /*
3769
+ Patches Route Policy
3770
+ */
3771
+ await gapi.client.compute.routers.patchRoutePolicy({ project: "project", region: "region", router: "router", });
3772
+
3763
3773
  /*
3764
3774
  Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.
3765
3775
  */