@maxim_mazurok/gapi.client.compute-alpha 0.0.20230814 → 0.0.20230829

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 (4) hide show
  1. package/index.d.ts +891 -301
  2. package/package.json +1 -1
  3. package/readme.md +30 -5
  4. package/tests.ts +87 -7
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: 20230814
12
+ // Revision: 20230829
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1232,7 +1232,7 @@ declare namespace gapi.client {
1232
1232
  schedule?:
1233
1233
  string;
1234
1234
  /**
1235
- * The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database. This field is
1235
+ * The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: https://en.wikipedia.org/wiki/Tz_database. This field is
1236
1236
  * assigned a default value of “UTC” if left empty.
1237
1237
  */
1238
1238
  timeZone?:
@@ -2051,6 +2051,9 @@ declare namespace gapi.client {
2051
2051
  /** [Output Only] Unique identifier for the resource; defined by the server. */
2052
2052
  id?:
2053
2053
  string;
2054
+ /** A list of BackendService resources. */
2055
+ items?:
2056
+ BackendService[];
2054
2057
  /** [Output Only] Type of resource. Always compute#usableBackendServiceList for lists of usable backend services. */
2055
2058
  kind?:
2056
2059
  string;
@@ -2297,6 +2300,39 @@ declare namespace gapi.client {
2297
2300
  numTx?:
2298
2301
  number;
2299
2302
  }
2303
+ interface BgpRoute {
2304
+ /** [Output only] AS-PATH for the route */
2305
+ asPaths?:
2306
+ BgpRouteAsPath[];
2307
+ /** [Output only] BGP communities in human-readable A:B format. */
2308
+ communities?:
2309
+ string[];
2310
+ /** [Output only] Destination IP range for the route, in human-readable CIDR format */
2311
+ destination?:
2312
+ BgpRouteNetworkLayerReachabilityInformation;
2313
+ /** [Output only] BGP multi-exit discriminator */
2314
+ med?:
2315
+ number;
2316
+ /** [Output only] BGP origin (EGP, IGP or INCOMPLETE) */
2317
+ origin?:
2318
+ string;
2319
+ }
2320
+ interface BgpRouteAsPath {
2321
+ /** [Output only] ASNs in the path segment. When type is SEQUENCE, these are ordered. */
2322
+ asns?:
2323
+ number[];
2324
+ /** [Output only] Type of AS-PATH segment (SEQUENCE or SET) */
2325
+ type?:
2326
+ string;
2327
+ }
2328
+ interface BgpRouteNetworkLayerReachabilityInformation {
2329
+ /** Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16. */
2330
+ destination?:
2331
+ string;
2332
+ /** If the BGP session supports multiple paths (RFC 7911), the path identifier for this route. */
2333
+ pathId?:
2334
+ number;
2335
+ }
2300
2336
  interface Binding {
2301
2337
  /** This is deprecated and has no effect. Do not use. */
2302
2338
  bindingId?:
@@ -2459,25 +2495,6 @@ declare namespace gapi.client {
2459
2495
  fromPlugin?:
2460
2496
  MetadataCredentialsFromPlugin;
2461
2497
  }
2462
- interface CapacityConstraint {
2463
- constraintMetadata?:
2464
- string;
2465
- /** Weighted sum of BandwidthTerms (each term is coefficient * term) must be less than or equal to max_sum. */
2466
- maxSumGbps?:
2467
- number;
2468
- terms?:
2469
- CapacityConstraintConstraintTerm[];
2470
- }
2471
- interface CapacityConstraintConstraintTerm {
2472
- /** Coefficient of this term in the linear expression. The value of the term will be coefficient * (demand from src to dst in Gbps). */
2473
- coefficient?:
2474
- number;
2475
- destinationNode?:
2476
- PlacementLocation;
2477
- /** Source and destination nodes. */
2478
- sourceNode?:
2479
- PlacementLocation;
2480
- }
2481
2498
  interface ChannelCredentials {
2482
2499
  /** The call credentials to access the SDS server. */
2483
2500
  certificates?:
@@ -5015,11 +5032,6 @@ declare namespace gapi.client {
5015
5032
  startTime?:
5016
5033
  string;
5017
5034
  }
5018
- interface GetNetworkCapacityConstraintsResponse {
5019
- /** Set of capacity constraints that describe network adjacency. */
5020
- capacityConstraints?:
5021
- CapacityConstraint[];
5022
- }
5023
5035
  interface GetOwnerInstanceResponse {
5024
5036
  /** Full instance resource URL. */
5025
5037
  instance?:
@@ -6037,8 +6049,8 @@ declare namespace gapi.client {
6037
6049
  * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to
6038
6050
  * a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can
6039
6051
  * be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is
6040
- * generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the global external HTTP(S) load balancer (classic). To
6041
- * see which load balancers support fault injection, see Load balancing: Routing and traffic management features.
6052
+ * generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which
6053
+ * load balancers support fault injection, see Load balancing: Routing and traffic management features.
6042
6054
  */
6043
6055
  faultInjectionPolicy?:
6044
6056
  HttpFaultInjection;
@@ -6068,8 +6080,8 @@ declare namespace gapi.client {
6068
6080
  timeout?:
6069
6081
  Duration;
6070
6082
  /**
6071
- * The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for external HTTP(S) load
6072
- * balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
6083
+ * The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load
6084
+ * Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
6073
6085
  */
6074
6086
  urlRewrite?:
6075
6087
  UrlRewrite;
@@ -6093,7 +6105,7 @@ declare namespace gapi.client {
6093
6105
  * RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes
6094
6106
  * effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied.
6095
6107
  * While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the
6096
- * client. customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing.
6108
+ * client. customErrorResponsePolicy is supported only for global external Application Load Balancers.
6097
6109
  */
6098
6110
  customErrorResponsePolicy?:
6099
6111
  CustomErrorResponsePolicy;
@@ -6139,7 +6151,7 @@ declare namespace gapi.client {
6139
6151
  /**
6140
6152
  * In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the
6141
6153
  * selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any
6142
- * weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for Classic external HTTP(S) load balancers only support the
6154
+ * weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the
6143
6155
  * urlRewrite action within a route rule's routeAction.
6144
6156
  */
6145
6157
  routeAction?:
@@ -11762,6 +11774,12 @@ declare namespace gapi.client {
11762
11774
  string;
11763
11775
  }
11764
11776
  interface NetworkRoutingConfig {
11777
+ /** Enable comparison of Multi-Exit Discriminators (MED) across routes with different neighbor ASNs when using the STANDARD BGP best path selection algorithm. */
11778
+ bgpAlwaysCompareMed?:
11779
+ boolean;
11780
+ /** The BGP best path selection algorithm to be employed within this network for dynamic routes learned by Cloud Routers. Can be LEGACY (default) or STANDARD. */
11781
+ bgpBestPathSelectionMode?:
11782
+ string;
11765
11783
  /**
11766
11784
  * The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If
11767
11785
  * set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions.
@@ -13311,15 +13329,15 @@ declare namespace gapi.client {
13311
13329
  * 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at
13312
13330
  * UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are
13313
13331
  * exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is
13314
- * ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for Global External HTTP(S) load balancing.
13332
+ * ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
13315
13333
  */
13316
13334
  defaultCustomErrorResponsePolicy?:
13317
13335
  CustomErrorResponsePolicy;
13318
13336
  /**
13319
13337
  * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations,
13320
13338
  * before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is
13321
- * set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load
13322
- * balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
13339
+ * set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers
13340
+ * only support the urlRewrite action within a path matcher's defaultRouteAction.
13323
13341
  */
13324
13342
  defaultRouteAction?:
13325
13343
  HttpRouteAction;
@@ -13376,7 +13394,7 @@ declare namespace gapi.client {
13376
13394
  * the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the
13377
13395
  * request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in
13378
13396
  * PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes
13379
- * effect. customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing.
13397
+ * effect. customErrorResponsePolicy is supported only for global external Application Load Balancers.
13380
13398
  */
13381
13399
  customErrorResponsePolicy?:
13382
13400
  CustomErrorResponsePolicy;
@@ -13389,7 +13407,7 @@ declare namespace gapi.client {
13389
13407
  /**
13390
13408
  * In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected
13391
13409
  * backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only
13392
- * one of routeAction or urlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path rule's routeAction.
13410
+ * one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction.
13393
13411
  */
13394
13412
  routeAction?:
13395
13413
  HttpRouteAction;
@@ -13470,14 +13488,6 @@ declare namespace gapi.client {
13470
13488
  values?:
13471
13489
  string[];
13472
13490
  }
13473
- interface PlacementLocation {
13474
- /** Aggregation block id of the placement group. */
13475
- aggregationBlockId?:
13476
- string;
13477
- /** Partial or full URL of the resource policy for the placement group. */
13478
- resourcePolicy?:
13479
- string;
13480
- }
13481
13491
  interface Policy {
13482
13492
  /** Specifies cloud audit logging configuration for this policy. */
13483
13493
  auditConfigs?:
@@ -15782,6 +15792,34 @@ declare namespace gapi.client {
15782
15792
  string;
15783
15793
  };
15784
15794
  }
15795
+ interface RoutePolicy {
15796
+ /**
15797
+ * A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking. The fingerprint is initially generated
15798
+ * by Compute Engine and changes after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash in order to update or change labels. To
15799
+ * see the latest fingerprint, make a getRoutePolicy() request to retrieve a Route Policy.
15800
+ */
15801
+ fingerprint?:
15802
+ string;
15803
+ /** Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies. Name should conform to RFC1035. */
15804
+ name?:
15805
+ string;
15806
+ /** List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later. */
15807
+ terms?:
15808
+ RoutePolicyPolicyTerm[];
15809
+ type?:
15810
+ string;
15811
+ }
15812
+ interface RoutePolicyPolicyTerm {
15813
+ /** CEL expressions to evaluate to modify a route when this term matches. */
15814
+ actions?:
15815
+ Expr[];
15816
+ /** CEL expression evaluated against a route to determine if this term applies. When not set, the term applies to all routes. */
15817
+ match?:
15818
+ Expr;
15819
+ /** The evaluation priority for this term, which must be between 0 (inclusive) and 2^31 (exclusive), and unique within the list. */
15820
+ priority?:
15821
+ number;
15822
+ }
15785
15823
  interface Router {
15786
15824
  /** BGP information specific to this router. */
15787
15825
  bgp?:
@@ -15804,7 +15842,10 @@ declare namespace gapi.client {
15804
15842
  /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
15805
15843
  id?:
15806
15844
  string;
15807
- /** Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both. */
15845
+ /**
15846
+ * Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment
15847
+ * - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
15848
+ */
15808
15849
  interfaces?:
15809
15850
  RouterInterface[];
15810
15851
  /** [Output Only] Type of resource. Always compute#router for routers. */
@@ -16083,13 +16124,13 @@ declare namespace gapi.client {
16083
16124
  string;
16084
16125
  /**
16085
16126
  * URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect
16086
- * attachment, or a virtual machine instance.
16127
+ * attachment, or a subnetwork.
16087
16128
  */
16088
16129
  linkedInterconnectAttachment?:
16089
16130
  string;
16090
16131
  /**
16091
16132
  * URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or
16092
- * a virtual machine instance.
16133
+ * a subnetwork.
16093
16134
  */
16094
16135
  linkedVpnTunnel?:
16095
16136
  string;
@@ -16180,7 +16221,7 @@ declare namespace gapi.client {
16180
16221
  */
16181
16222
  key?:
16182
16223
  string;
16183
- /** Name used to identify the key. Must be unique within a router. Must be referenced by at least one bgpPeer. Must comply with RFC1035. */
16224
+ /** Name used to identify the key. Must be unique within a router. Must be referenced by exactly one bgpPeer. Must comply with RFC1035. */
16184
16225
  name?:
16185
16226
  string;
16186
16227
  }
@@ -16336,6 +16377,111 @@ declare namespace gapi.client {
16336
16377
  sourceIpRangesToNat?:
16337
16378
  string[];
16338
16379
  }
16380
+ interface RoutersGetRoutePolicyResponse {
16381
+ /** end_interface: MixerGetResponseWithEtagBuilder */
16382
+ etag?:
16383
+ string;
16384
+ resource?:
16385
+ RoutePolicy;
16386
+ }
16387
+ interface RoutersListBgpRoutes {
16388
+ etag?:
16389
+ string;
16390
+ /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
16391
+ id?:
16392
+ string;
16393
+ /** [Output Only] Type of resource. Always compute#routersListBgpRoutes for lists of bgp routes. */
16394
+ kind?:
16395
+ string;
16396
+ /**
16397
+ * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the
16398
+ * query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
16399
+ */
16400
+ nextPageToken?:
16401
+ string;
16402
+ /** [Output Only] A list of bgp routes. */
16403
+ result?:
16404
+ BgpRoute[];
16405
+ /** [Output Only] Server-defined URL for this resource. */
16406
+ selfLink?:
16407
+ string;
16408
+ /** [Output Only] Unreachable resources. */
16409
+ unreachable?:
16410
+ string[];
16411
+ /** [Output Only] Informational warning message. */
16412
+ warning?:
16413
+ {
16414
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
16415
+ code?:
16416
+ string;
16417
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
16418
+ data?:
16419
+ Array<{
16420
+ /**
16421
+ * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular
16422
+ * zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement,
16423
+ * or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
16424
+ */
16425
+ key?:
16426
+ string;
16427
+ /** [Output Only] A warning data value corresponding to the key. */
16428
+ value?:
16429
+ string;
16430
+ }>;
16431
+ /** [Output Only] A human-readable description of the warning code. */
16432
+ message?:
16433
+ string;
16434
+ };
16435
+ }
16436
+ interface RoutersListRoutePolicies {
16437
+ etag?:
16438
+ string;
16439
+ /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
16440
+ id?:
16441
+ string;
16442
+ /** [Output Only] Type of resource. Always compute#routersListRoutePolicies for lists of route policies. */
16443
+ kind?:
16444
+ string;
16445
+ /**
16446
+ * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the
16447
+ * query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
16448
+ */
16449
+ nextPageToken?:
16450
+ string;
16451
+ /** [Output Only] A list of route policies. */
16452
+ result?:
16453
+ RoutePolicy[];
16454
+ /** [Output Only] Server-defined URL for this resource. */
16455
+ selfLink?:
16456
+ string;
16457
+ /** [Output Only] Unreachable resources. */
16458
+ unreachable?:
16459
+ string[];
16460
+ /** [Output Only] Informational warning message. */
16461
+ warning?:
16462
+ {
16463
+ /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */
16464
+ code?:
16465
+ string;
16466
+ /** [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } */
16467
+ data?:
16468
+ Array<{
16469
+ /**
16470
+ * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular
16471
+ * zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement,
16472
+ * or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
16473
+ */
16474
+ key?:
16475
+ string;
16476
+ /** [Output Only] A warning data value corresponding to the key. */
16477
+ value?:
16478
+ string;
16479
+ }>;
16480
+ /** [Output Only] A human-readable description of the warning code. */
16481
+ message?:
16482
+ string;
16483
+ };
16484
+ }
16339
16485
  interface RoutersPreviewResponse {
16340
16486
  /** Preview of given router. */
16341
16487
  resource?:
@@ -19516,8 +19662,8 @@ declare namespace gapi.client {
19516
19662
  string[];
19517
19663
  /**
19518
19664
  * 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
19519
- * (610 seconds) will be used. For Global external HTTP(S) load balancer, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For Global external
19520
- * HTTP(S) load balancer (classic), this option is not available publicly.
19665
+ * (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
19666
+ * Application Load Balancers, this option is not supported.
19521
19667
  */
19522
19668
  httpKeepAliveTimeoutSec?:
19523
19669
  number;
@@ -19740,8 +19886,8 @@ declare namespace gapi.client {
19740
19886
  string[];
19741
19887
  /**
19742
19888
  * 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
19743
- * (610 seconds) will be used. For Global external HTTP(S) load balancer, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For Global external
19744
- * HTTP(S) load balancer (classic), this option is not available publicly.
19889
+ * (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
19890
+ * Application Load Balancers, this option is not supported.
19745
19891
  */
19746
19892
  httpKeepAliveTimeoutSec?:
19747
19893
  number;
@@ -20915,23 +21061,23 @@ declare namespace gapi.client {
20915
21061
  string;
20916
21062
  /**
20917
21063
  * defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the
20918
- * Load Balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example,
21064
+ * load balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example,
20919
21065
  * consider a UrlMap with the following configuration: - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher configured for
20920
21066
  * *.example.com has defaultCustomErrorResponsePolicy for 4xx. If a request for http://www.example.com/ encounters a 404, the policy in pathMatcher.defaultCustomErrorResponsePolicy
20921
21067
  * will be enforced. When the request for http://www.example.com/ encounters a 502, the policy in UrlMap.defaultCustomErrorResponsePolicy will be enforced. When a request that does not
20922
21068
  * match any host in *.example.com such as http://www.myotherexample.com/, encounters a 404, UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with
20923
21069
  * defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load
20924
21070
  * balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client.
20925
- * defaultCustomErrorResponsePolicy is supported only for Global External HTTP(S) load balancing.
21071
+ * defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
20926
21072
  */
20927
21073
  defaultCustomErrorResponsePolicy?:
20928
21074
  CustomErrorResponsePolicy;
20929
21075
  /**
20930
21076
  * defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before
20931
21077
  * forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set,
20932
- * defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers
20933
- * only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless
20934
- * field set to true.
21078
+ * defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only
21079
+ * support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field
21080
+ * set to true.
20935
21081
  */
20936
21082
  defaultRouteAction?:
20937
21083
  HttpRouteAction;
@@ -21128,11 +21274,11 @@ declare namespace gapi.client {
21128
21274
  }
21129
21275
  interface UrlMapsValidateRequest {
21130
21276
  /**
21131
- * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL
21132
- * for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load
21133
- * balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets,
21134
- * or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with
21135
- * the load balancing scheme of the backend service resources this Url map references.
21277
+ * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for global external Application Load Balancers and regional external Application Load
21278
+ * Balancers. Use EXTERNAL for classic Application Load Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. For more information, refer to Choosing a load
21279
+ * balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL
21280
+ * map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified,
21281
+ * the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
21136
21282
  */
21137
21283
  loadBalancingSchemes?:
21138
21284
  string[];
@@ -25176,11 +25322,8 @@ declare namespace gapi.client {
25176
25322
  userIp?:
25177
25323
  string;
25178
25324
  }): Request<BackendServiceList>;
25179
- /**
25180
- * Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and
25181
- * uses the JSON merge patch format and processing rules.
25182
- */
25183
- patch(request: {
25325
+ /** Retrieves an aggregated list of all usable backend services in the specified project. */
25326
+ listUsable(request?: {
25184
25327
  /** V1 error format. */
25185
25328
  "$.xgafv"?:
25186
25329
  string;
@@ -25190,75 +25333,50 @@ declare namespace gapi.client {
25190
25333
  /** Data format for response. */
25191
25334
  alt?:
25192
25335
  string;
25193
- /** Name of the BackendService resource to patch. */
25194
- backendService:
25195
- string;
25196
25336
  /** JSONP */
25197
25337
  callback?:
25198
25338
  string;
25199
25339
  /** Selector specifying which fields to include in a partial response. */
25200
25340
  fields?:
25201
25341
  string;
25342
+ /**
25343
+ * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions
25344
+ * and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want
25345
+ * to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering
25346
+ * Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match
25347
+ * substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects
25348
+ * with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only
25349
+ * if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each
25350
+ * separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
25351
+ * expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND
25352
+ * (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression
25353
+ * with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double
25354
+ * quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value
25355
+ * must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
25356
+ */
25357
+ filter?:
25358
+ string;
25202
25359
  /** 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. */
25203
25360
  key?:
25204
25361
  string;
25362
+ /**
25363
+ * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can
25364
+ * be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
25365
+ */
25366
+ maxResults?:
25367
+ number;
25205
25368
  /** OAuth 2.0 token for the current user. */
25206
25369
  oauth_token?:
25207
25370
  string;
25208
- /** Returns response with indentations and line breaks. */
25209
- prettyPrint?:
25210
- boolean;
25211
- /** Project ID for this request. */
25212
- project:
25213
- string;
25214
- /** 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. */
25215
- quotaUser?:
25216
- string;
25217
25371
  /**
25218
- * 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
25219
- * 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
25220
- * 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
25221
- * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
25372
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based
25373
+ * on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result
25374
+ * first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
25222
25375
  */
25223
- requestId?:
25224
- string;
25225
- /** Upload protocol for media (e.g. "raw", "multipart"). */
25226
- upload_protocol?:
25227
- string;
25228
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25229
- uploadType?:
25230
- string;
25231
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
25232
- userIp?:
25233
- string;
25234
- /** Request body */
25235
- resource:
25236
- BackendService;
25237
- }): Request<Operation>;
25238
- patch(request: {
25239
- /** V1 error format. */
25240
- "$.xgafv"?:
25241
- string;
25242
- /** OAuth access token. */
25243
- access_token?:
25244
- string;
25245
- /** Data format for response. */
25246
- alt?:
25247
- string;
25248
- /** Name of the BackendService resource to patch. */
25249
- backendService:
25250
- string;
25251
- /** JSONP */
25252
- callback?:
25253
- string;
25254
- /** Selector specifying which fields to include in a partial response. */
25255
- fields?:
25256
- string;
25257
- /** 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. */
25258
- key?:
25376
+ orderBy?:
25259
25377
  string;
25260
- /** OAuth 2.0 token for the current user. */
25261
- oauth_token?:
25378
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
25379
+ pageToken?:
25262
25380
  string;
25263
25381
  /** Returns response with indentations and line breaks. */
25264
25382
  prettyPrint?:
@@ -25269,14 +25387,9 @@ declare namespace gapi.client {
25269
25387
  /** 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. */
25270
25388
  quotaUser?:
25271
25389
  string;
25272
- /**
25273
- * 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
25274
- * 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
25275
- * 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
25276
- * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
25277
- */
25278
- requestId?:
25279
- string;
25390
+ /** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. */
25391
+ returnPartialSuccess?:
25392
+ boolean;
25280
25393
  /** Upload protocol for media (e.g. "raw", "multipart"). */
25281
25394
  upload_protocol?:
25282
25395
  string;
@@ -25286,10 +25399,12 @@ declare namespace gapi.client {
25286
25399
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
25287
25400
  userIp?:
25288
25401
  string;
25289
- },
25290
- body: BackendService): Request<Operation>;
25291
- /** Sets the edge security policy for the specified backend service. */
25292
- setEdgeSecurityPolicy(request: {
25402
+ }): Request<BackendServiceListUsable>;
25403
+ /**
25404
+ * Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and
25405
+ * uses the JSON merge patch format and processing rules.
25406
+ */
25407
+ patch(request: {
25293
25408
  /** V1 error format. */
25294
25409
  "$.xgafv"?:
25295
25410
  string;
@@ -25299,7 +25414,7 @@ declare namespace gapi.client {
25299
25414
  /** Data format for response. */
25300
25415
  alt?:
25301
25416
  string;
25302
- /** Name of the BackendService resource to which the edge security policy should be set. The name should conform to RFC1035. */
25417
+ /** Name of the BackendService resource to patch. */
25303
25418
  backendService:
25304
25419
  string;
25305
25420
  /** JSONP */
@@ -25342,9 +25457,9 @@ declare namespace gapi.client {
25342
25457
  string;
25343
25458
  /** Request body */
25344
25459
  resource:
25345
- SecurityPolicyReference;
25460
+ BackendService;
25346
25461
  }): Request<Operation>;
25347
- setEdgeSecurityPolicy(request: {
25462
+ patch(request: {
25348
25463
  /** V1 error format. */
25349
25464
  "$.xgafv"?:
25350
25465
  string;
@@ -25354,7 +25469,116 @@ declare namespace gapi.client {
25354
25469
  /** Data format for response. */
25355
25470
  alt?:
25356
25471
  string;
25357
- /** Name of the BackendService resource to which the edge security policy should be set. The name should conform to RFC1035. */
25472
+ /** Name of the BackendService resource to patch. */
25473
+ backendService:
25474
+ string;
25475
+ /** JSONP */
25476
+ callback?:
25477
+ string;
25478
+ /** Selector specifying which fields to include in a partial response. */
25479
+ fields?:
25480
+ string;
25481
+ /** 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. */
25482
+ key?:
25483
+ string;
25484
+ /** OAuth 2.0 token for the current user. */
25485
+ oauth_token?:
25486
+ string;
25487
+ /** Returns response with indentations and line breaks. */
25488
+ prettyPrint?:
25489
+ boolean;
25490
+ /** Project ID for this request. */
25491
+ project:
25492
+ string;
25493
+ /** 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. */
25494
+ quotaUser?:
25495
+ string;
25496
+ /**
25497
+ * 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
25498
+ * 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
25499
+ * 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
25500
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
25501
+ */
25502
+ requestId?:
25503
+ string;
25504
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
25505
+ upload_protocol?:
25506
+ string;
25507
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25508
+ uploadType?:
25509
+ string;
25510
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
25511
+ userIp?:
25512
+ string;
25513
+ },
25514
+ body: BackendService): Request<Operation>;
25515
+ /** Sets the edge security policy for the specified backend service. */
25516
+ setEdgeSecurityPolicy(request: {
25517
+ /** V1 error format. */
25518
+ "$.xgafv"?:
25519
+ string;
25520
+ /** OAuth access token. */
25521
+ access_token?:
25522
+ string;
25523
+ /** Data format for response. */
25524
+ alt?:
25525
+ string;
25526
+ /** Name of the BackendService resource to which the edge security policy should be set. The name should conform to RFC1035. */
25527
+ backendService:
25528
+ string;
25529
+ /** JSONP */
25530
+ callback?:
25531
+ string;
25532
+ /** Selector specifying which fields to include in a partial response. */
25533
+ fields?:
25534
+ string;
25535
+ /** 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. */
25536
+ key?:
25537
+ string;
25538
+ /** OAuth 2.0 token for the current user. */
25539
+ oauth_token?:
25540
+ string;
25541
+ /** Returns response with indentations and line breaks. */
25542
+ prettyPrint?:
25543
+ boolean;
25544
+ /** Project ID for this request. */
25545
+ project:
25546
+ string;
25547
+ /** 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. */
25548
+ quotaUser?:
25549
+ string;
25550
+ /**
25551
+ * 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
25552
+ * 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
25553
+ * 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
25554
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
25555
+ */
25556
+ requestId?:
25557
+ string;
25558
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
25559
+ upload_protocol?:
25560
+ string;
25561
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25562
+ uploadType?:
25563
+ string;
25564
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
25565
+ userIp?:
25566
+ string;
25567
+ /** Request body */
25568
+ resource:
25569
+ SecurityPolicyReference;
25570
+ }): Request<Operation>;
25571
+ setEdgeSecurityPolicy(request: {
25572
+ /** V1 error format. */
25573
+ "$.xgafv"?:
25574
+ string;
25575
+ /** OAuth access token. */
25576
+ access_token?:
25577
+ string;
25578
+ /** Data format for response. */
25579
+ alt?:
25580
+ string;
25581
+ /** Name of the BackendService resource to which the edge security policy should be set. The name should conform to RFC1035. */
25358
25582
  backendService:
25359
25583
  string;
25360
25584
  /** JSONP */
@@ -69995,6 +70219,9 @@ declare namespace gapi.client {
69995
70219
  /** Data format for response. */
69996
70220
  alt?:
69997
70221
  string;
70222
+ /** Name of the firewall policy associated with the target network to swap association with. This field is mutually exclusive with 'replace_existing_association'. */
70223
+ associatedPolicyToBeReplaced?:
70224
+ string;
69998
70225
  /** JSONP */
69999
70226
  callback?:
70000
70227
  string;
@@ -70056,6 +70283,9 @@ declare namespace gapi.client {
70056
70283
  /** Data format for response. */
70057
70284
  alt?:
70058
70285
  string;
70286
+ /** Name of the firewall policy associated with the target network to swap association with. This field is mutually exclusive with 'replace_existing_association'. */
70287
+ associatedPolicyToBeReplaced?:
70288
+ string;
70059
70289
  /** JSONP */
70060
70290
  callback?:
70061
70291
  string;
@@ -77129,54 +77359,6 @@ declare namespace gapi.client {
77129
77359
  userIp?:
77130
77360
  string;
77131
77361
  }): Request<Policy>;
77132
- /** Returns the network capacity constraints for the specified placement policies. */
77133
- getNetworkCapacityConstraints(request?: {
77134
- /** V1 error format. */
77135
- "$.xgafv"?:
77136
- string;
77137
- /** OAuth access token. */
77138
- access_token?:
77139
- string;
77140
- /** Data format for response. */
77141
- alt?:
77142
- string;
77143
- /** JSONP */
77144
- callback?:
77145
- string;
77146
- /** Selector specifying which fields to include in a partial response. */
77147
- fields?:
77148
- string;
77149
- /** 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. */
77150
- key?:
77151
- string;
77152
- /** OAuth 2.0 token for the current user. */
77153
- oauth_token?:
77154
- string;
77155
- /** Returns response with indentations and line breaks. */
77156
- prettyPrint?:
77157
- boolean;
77158
- /** Project ID for this request. */
77159
- project:
77160
- string;
77161
- /** 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. */
77162
- quotaUser?:
77163
- string;
77164
- /** Name of the region for this request. */
77165
- region:
77166
- string;
77167
- /** Partial or full URL of the resource policies for which to retrieve the network capacity constraints. */
77168
- resourcePolicies?:
77169
- string | string[];
77170
- /** Upload protocol for media (e.g. "raw", "multipart"). */
77171
- upload_protocol?:
77172
- string;
77173
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
77174
- uploadType?:
77175
- string;
77176
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
77177
- userIp?:
77178
- string;
77179
- }): Request<GetNetworkCapacityConstraintsResponse>;
77180
77362
  /** Creates a new resource policy. */
77181
77363
  insert(request: {
77182
77364
  /** V1 error format. */
@@ -77733,6 +77915,65 @@ declare namespace gapi.client {
77733
77915
  userIp?:
77734
77916
  string;
77735
77917
  }): Request<Operation>;
77918
+ /** Deletes Route Policy */
77919
+ deleteRoutePolicy(request?: {
77920
+ /** V1 error format. */
77921
+ "$.xgafv"?:
77922
+ string;
77923
+ /** OAuth access token. */
77924
+ access_token?:
77925
+ string;
77926
+ /** Data format for response. */
77927
+ alt?:
77928
+ string;
77929
+ /** JSONP */
77930
+ callback?:
77931
+ string;
77932
+ /** Selector specifying which fields to include in a partial response. */
77933
+ fields?:
77934
+ string;
77935
+ /** 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. */
77936
+ key?:
77937
+ string;
77938
+ /** OAuth 2.0 token for the current user. */
77939
+ oauth_token?:
77940
+ string;
77941
+ /** The Policy name for this request. Name must conform to RFC1035 */
77942
+ policy?:
77943
+ string;
77944
+ /** Returns response with indentations and line breaks. */
77945
+ prettyPrint?:
77946
+ boolean;
77947
+ /** Project ID for this request. */
77948
+ project:
77949
+ string;
77950
+ /** 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. */
77951
+ quotaUser?:
77952
+ string;
77953
+ /** Name of the region for this request. */
77954
+ region:
77955
+ string;
77956
+ /**
77957
+ * 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
77958
+ * 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
77959
+ * 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
77960
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
77961
+ */
77962
+ requestId?:
77963
+ string;
77964
+ /** Name of the Router resource where Route Policy is defined. */
77965
+ router:
77966
+ string;
77967
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
77968
+ upload_protocol?:
77969
+ string;
77970
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
77971
+ uploadType?:
77972
+ string;
77973
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
77974
+ userIp?:
77975
+ string;
77976
+ }): Request<Operation>;
77736
77977
  /** Returns the specified Router resource. */
77737
77978
  get(request?: {
77738
77979
  /** V1 error format. */
@@ -77906,9 +78147,298 @@ declare namespace gapi.client {
77906
78147
  /** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. */
77907
78148
  returnPartialSuccess?:
77908
78149
  boolean;
77909
- /** Name of the Router resource to query for Nat Mapping information of VM endpoints. */
77910
- router:
77911
- string;
78150
+ /** Name of the Router resource to query for Nat Mapping information of VM endpoints. */
78151
+ router:
78152
+ string;
78153
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
78154
+ upload_protocol?:
78155
+ string;
78156
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
78157
+ uploadType?:
78158
+ string;
78159
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
78160
+ userIp?:
78161
+ string;
78162
+ }): Request<VmEndpointNatMappingsList>;
78163
+ /** Returns specified Route Policy */
78164
+ getRoutePolicy(request?: {
78165
+ /** V1 error format. */
78166
+ "$.xgafv"?:
78167
+ string;
78168
+ /** OAuth access token. */
78169
+ access_token?:
78170
+ string;
78171
+ /** Data format for response. */
78172
+ alt?:
78173
+ string;
78174
+ /** JSONP */
78175
+ callback?:
78176
+ string;
78177
+ /** Selector specifying which fields to include in a partial response. */
78178
+ fields?:
78179
+ string;
78180
+ /** 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. */
78181
+ key?:
78182
+ string;
78183
+ /** OAuth 2.0 token for the current user. */
78184
+ oauth_token?:
78185
+ string;
78186
+ /** The Policy name for this request. Name must conform to RFC1035 */
78187
+ policy?:
78188
+ string;
78189
+ /** Returns response with indentations and line breaks. */
78190
+ prettyPrint?:
78191
+ boolean;
78192
+ /** Project ID for this request. */
78193
+ project:
78194
+ string;
78195
+ /** 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. */
78196
+ quotaUser?:
78197
+ string;
78198
+ /** Name of the region for this request. */
78199
+ region:
78200
+ string;
78201
+ /** Name of the Router resource to query for Nat IP information. The name should conform to RFC1035. */
78202
+ router:
78203
+ string;
78204
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
78205
+ upload_protocol?:
78206
+ string;
78207
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
78208
+ uploadType?:
78209
+ string;
78210
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
78211
+ userIp?:
78212
+ string;
78213
+ }): Request<RoutersGetRoutePolicyResponse>;
78214
+ /** Retrieves runtime information of the specified router. */
78215
+ getRouterStatus(request?: {
78216
+ /** V1 error format. */
78217
+ "$.xgafv"?:
78218
+ string;
78219
+ /** OAuth access token. */
78220
+ access_token?:
78221
+ string;
78222
+ /** Data format for response. */
78223
+ alt?:
78224
+ string;
78225
+ /** JSONP */
78226
+ callback?:
78227
+ string;
78228
+ /** Selector specifying which fields to include in a partial response. */
78229
+ fields?:
78230
+ string;
78231
+ /** 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. */
78232
+ key?:
78233
+ string;
78234
+ /** OAuth 2.0 token for the current user. */
78235
+ oauth_token?:
78236
+ string;
78237
+ /** Returns response with indentations and line breaks. */
78238
+ prettyPrint?:
78239
+ boolean;
78240
+ /** Project ID for this request. */
78241
+ project:
78242
+ string;
78243
+ /** 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. */
78244
+ quotaUser?:
78245
+ string;
78246
+ /** Name of the region for this request. */
78247
+ region:
78248
+ string;
78249
+ /** Name of the Router resource to query. */
78250
+ router:
78251
+ string;
78252
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
78253
+ upload_protocol?:
78254
+ string;
78255
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
78256
+ uploadType?:
78257
+ string;
78258
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
78259
+ userIp?:
78260
+ string;
78261
+ }): Request<RouterStatusResponse>;
78262
+ /** Creates a Router resource in the specified project and region using the data included in the request. */
78263
+ insert(request: {
78264
+ /** V1 error format. */
78265
+ "$.xgafv"?:
78266
+ string;
78267
+ /** OAuth access token. */
78268
+ access_token?:
78269
+ string;
78270
+ /** Data format for response. */
78271
+ alt?:
78272
+ string;
78273
+ /** JSONP */
78274
+ callback?:
78275
+ string;
78276
+ /** Selector specifying which fields to include in a partial response. */
78277
+ fields?:
78278
+ string;
78279
+ /** 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. */
78280
+ key?:
78281
+ string;
78282
+ /** OAuth 2.0 token for the current user. */
78283
+ oauth_token?:
78284
+ string;
78285
+ /** Returns response with indentations and line breaks. */
78286
+ prettyPrint?:
78287
+ boolean;
78288
+ /** Project ID for this request. */
78289
+ project:
78290
+ string;
78291
+ /** 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. */
78292
+ quotaUser?:
78293
+ string;
78294
+ /** Name of the region for this request. */
78295
+ region:
78296
+ string;
78297
+ /**
78298
+ * 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
78299
+ * 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
78300
+ * 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
78301
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
78302
+ */
78303
+ requestId?:
78304
+ string;
78305
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
78306
+ upload_protocol?:
78307
+ string;
78308
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
78309
+ uploadType?:
78310
+ string;
78311
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
78312
+ userIp?:
78313
+ string;
78314
+ /** Request body */
78315
+ resource:
78316
+ Router;
78317
+ }): Request<Operation>;
78318
+ insert(request: {
78319
+ /** V1 error format. */
78320
+ "$.xgafv"?:
78321
+ string;
78322
+ /** OAuth access token. */
78323
+ access_token?:
78324
+ string;
78325
+ /** Data format for response. */
78326
+ alt?:
78327
+ string;
78328
+ /** JSONP */
78329
+ callback?:
78330
+ string;
78331
+ /** Selector specifying which fields to include in a partial response. */
78332
+ fields?:
78333
+ string;
78334
+ /** 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. */
78335
+ key?:
78336
+ string;
78337
+ /** OAuth 2.0 token for the current user. */
78338
+ oauth_token?:
78339
+ string;
78340
+ /** Returns response with indentations and line breaks. */
78341
+ prettyPrint?:
78342
+ boolean;
78343
+ /** Project ID for this request. */
78344
+ project:
78345
+ string;
78346
+ /** 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. */
78347
+ quotaUser?:
78348
+ string;
78349
+ /** Name of the region for this request. */
78350
+ region:
78351
+ string;
78352
+ /**
78353
+ * 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
78354
+ * 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
78355
+ * 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
78356
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
78357
+ */
78358
+ requestId?:
78359
+ string;
78360
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
78361
+ upload_protocol?:
78362
+ string;
78363
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
78364
+ uploadType?:
78365
+ string;
78366
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
78367
+ userIp?:
78368
+ string;
78369
+ },
78370
+ body: Router): Request<Operation>;
78371
+ /** Retrieves a list of Router resources available to the specified project. */
78372
+ list(request?: {
78373
+ /** V1 error format. */
78374
+ "$.xgafv"?:
78375
+ string;
78376
+ /** OAuth access token. */
78377
+ access_token?:
78378
+ string;
78379
+ /** Data format for response. */
78380
+ alt?:
78381
+ string;
78382
+ /** JSONP */
78383
+ callback?:
78384
+ string;
78385
+ /** Selector specifying which fields to include in a partial response. */
78386
+ fields?:
78387
+ string;
78388
+ /**
78389
+ * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions
78390
+ * and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want
78391
+ * to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering
78392
+ * Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match
78393
+ * substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects
78394
+ * with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only
78395
+ * if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each
78396
+ * separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
78397
+ * expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND
78398
+ * (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression
78399
+ * with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double
78400
+ * quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value
78401
+ * must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
78402
+ */
78403
+ filter?:
78404
+ string;
78405
+ /** 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. */
78406
+ key?:
78407
+ string;
78408
+ /**
78409
+ * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can
78410
+ * be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
78411
+ */
78412
+ maxResults?:
78413
+ number;
78414
+ /** OAuth 2.0 token for the current user. */
78415
+ oauth_token?:
78416
+ string;
78417
+ /**
78418
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based
78419
+ * on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result
78420
+ * first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
78421
+ */
78422
+ orderBy?:
78423
+ string;
78424
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
78425
+ pageToken?:
78426
+ string;
78427
+ /** Returns response with indentations and line breaks. */
78428
+ prettyPrint?:
78429
+ boolean;
78430
+ /** Project ID for this request. */
78431
+ project:
78432
+ string;
78433
+ /** 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. */
78434
+ quotaUser?:
78435
+ string;
78436
+ /** Name of the region for this request. */
78437
+ region:
78438
+ string;
78439
+ /** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. */
78440
+ returnPartialSuccess?:
78441
+ boolean;
77912
78442
  /** Upload protocol for media (e.g. "raw", "multipart"). */
77913
78443
  upload_protocol?:
77914
78444
  string;
@@ -77918,62 +78448,17 @@ declare namespace gapi.client {
77918
78448
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
77919
78449
  userIp?:
77920
78450
  string;
77921
- }): Request<VmEndpointNatMappingsList>;
77922
- /** Retrieves runtime information of the specified router. */
77923
- getRouterStatus(request?: {
78451
+ }): Request<RouterList>;
78452
+ /** Retrieves a list of router bgp routes available to the specified project. */
78453
+ listBgpRoutes(request?: {
77924
78454
  /** V1 error format. */
77925
78455
  "$.xgafv"?:
77926
78456
  string;
77927
78457
  /** OAuth access token. */
77928
78458
  access_token?:
77929
78459
  string;
77930
- /** Data format for response. */
77931
- alt?:
77932
- string;
77933
- /** JSONP */
77934
- callback?:
77935
- string;
77936
- /** Selector specifying which fields to include in a partial response. */
77937
- fields?:
77938
- string;
77939
- /** 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. */
77940
- key?:
77941
- string;
77942
- /** OAuth 2.0 token for the current user. */
77943
- oauth_token?:
77944
- string;
77945
- /** Returns response with indentations and line breaks. */
77946
- prettyPrint?:
77947
- boolean;
77948
- /** Project ID for this request. */
77949
- project:
77950
- string;
77951
- /** 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. */
77952
- quotaUser?:
77953
- string;
77954
- /** Name of the region for this request. */
77955
- region:
77956
- string;
77957
- /** Name of the Router resource to query. */
77958
- router:
77959
- string;
77960
- /** Upload protocol for media (e.g. "raw", "multipart"). */
77961
- upload_protocol?:
77962
- string;
77963
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
77964
- uploadType?:
77965
- string;
77966
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
77967
- userIp?:
77968
- string;
77969
- }): Request<RouterStatusResponse>;
77970
- /** Creates a Router resource in the specified project and region using the data included in the request. */
77971
- insert(request: {
77972
- /** V1 error format. */
77973
- "$.xgafv"?:
77974
- string;
77975
- /** OAuth access token. */
77976
- access_token?:
78460
+ /** (Required) limit results to this address family (either IPv4 or IPv6) */
78461
+ addressFamily?:
77977
78462
  string;
77978
78463
  /** Data format for response. */
77979
78464
  alt?:
@@ -77981,70 +78466,57 @@ declare namespace gapi.client {
77981
78466
  /** JSONP */
77982
78467
  callback?:
77983
78468
  string;
78469
+ /** Limit results to destinations that are subnets of this CIDR range */
78470
+ destinationPrefix?:
78471
+ string;
77984
78472
  /** Selector specifying which fields to include in a partial response. */
77985
78473
  fields?:
77986
78474
  string;
78475
+ /**
78476
+ * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions
78477
+ * and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want
78478
+ * to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering
78479
+ * Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match
78480
+ * substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects
78481
+ * with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only
78482
+ * if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each
78483
+ * separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
78484
+ * expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND
78485
+ * (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression
78486
+ * with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double
78487
+ * quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value
78488
+ * must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
78489
+ */
78490
+ filter?:
78491
+ string;
77987
78492
  /** 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. */
77988
78493
  key?:
77989
78494
  string;
78495
+ /**
78496
+ * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can
78497
+ * be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
78498
+ */
78499
+ maxResults?:
78500
+ number;
77990
78501
  /** OAuth 2.0 token for the current user. */
77991
78502
  oauth_token?:
77992
78503
  string;
77993
- /** Returns response with indentations and line breaks. */
77994
- prettyPrint?:
77995
- boolean;
77996
- /** Project ID for this request. */
77997
- project:
77998
- string;
77999
- /** 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. */
78000
- quotaUser?:
78001
- string;
78002
- /** Name of the region for this request. */
78003
- region:
78004
- string;
78005
78504
  /**
78006
- * 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
78007
- * 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
78008
- * 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
78009
- * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
78505
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based
78506
+ * on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result
78507
+ * first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
78010
78508
  */
78011
- requestId?:
78012
- string;
78013
- /** Upload protocol for media (e.g. "raw", "multipart"). */
78014
- upload_protocol?:
78015
- string;
78016
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
78017
- uploadType?:
78018
- string;
78019
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
78020
- userIp?:
78021
- string;
78022
- /** Request body */
78023
- resource:
78024
- Router;
78025
- }): Request<Operation>;
78026
- insert(request: {
78027
- /** V1 error format. */
78028
- "$.xgafv"?:
78029
- string;
78030
- /** OAuth access token. */
78031
- access_token?:
78032
- string;
78033
- /** Data format for response. */
78034
- alt?:
78035
- string;
78036
- /** JSONP */
78037
- callback?:
78038
- string;
78039
- /** Selector specifying which fields to include in a partial response. */
78040
- fields?:
78509
+ orderBy?:
78041
78510
  string;
78042
- /** 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. */
78043
- key?:
78511
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
78512
+ pageToken?:
78044
78513
  string;
78045
- /** OAuth 2.0 token for the current user. */
78046
- oauth_token?:
78514
+ /** (Required) limit results to the BGP peer with the given name. Name should conform to RFC1035. */
78515
+ peer?:
78047
78516
  string;
78517
+ /** When true, the method returns post-policy routes. Otherwise, it returns pre-policy routes. */
78518
+ policyApplied?:
78519
+ boolean;
78048
78520
  /** Returns response with indentations and line breaks. */
78049
78521
  prettyPrint?:
78050
78522
  boolean;
@@ -78057,13 +78529,14 @@ declare namespace gapi.client {
78057
78529
  /** Name of the region for this request. */
78058
78530
  region:
78059
78531
  string;
78060
- /**
78061
- * 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
78062
- * 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
78063
- * 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
78064
- * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
78065
- */
78066
- requestId?:
78532
+ /** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. */
78533
+ returnPartialSuccess?:
78534
+ boolean;
78535
+ /** Name or id of the resource for this request. Name should conform to RFC1035. */
78536
+ router:
78537
+ string;
78538
+ /** (Required) limit results to this type of route (either LEARNED or ADVERTISED) */
78539
+ routeType?:
78067
78540
  string;
78068
78541
  /** Upload protocol for media (e.g. "raw", "multipart"). */
78069
78542
  upload_protocol?:
@@ -78074,10 +78547,9 @@ declare namespace gapi.client {
78074
78547
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
78075
78548
  userIp?:
78076
78549
  string;
78077
- },
78078
- body: Router): Request<Operation>;
78079
- /** Retrieves a list of Router resources available to the specified project. */
78080
- list(request?: {
78550
+ }): Request<RoutersListBgpRoutes>;
78551
+ /** Retrieves a list of router route policy subresources available to the specified project. */
78552
+ listRoutePolicies(request?: {
78081
78553
  /** V1 error format. */
78082
78554
  "$.xgafv"?:
78083
78555
  string;
@@ -78147,6 +78619,9 @@ declare namespace gapi.client {
78147
78619
  /** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. */
78148
78620
  returnPartialSuccess?:
78149
78621
  boolean;
78622
+ /** Name or id of the resource for this request. Name should conform to RFC1035. */
78623
+ router:
78624
+ string;
78150
78625
  /** Upload protocol for media (e.g. "raw", "multipart"). */
78151
78626
  upload_protocol?:
78152
78627
  string;
@@ -78156,7 +78631,7 @@ declare namespace gapi.client {
78156
78631
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
78157
78632
  userIp?:
78158
78633
  string;
78159
- }): Request<RouterList>;
78634
+ }): Request<RoutersListRoutePolicies>;
78160
78635
  /** Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. */
78161
78636
  patch(request: {
78162
78637
  /** V1 error format. */
@@ -78538,6 +79013,121 @@ declare namespace gapi.client {
78538
79013
  string;
78539
79014
  },
78540
79015
  body: Router): Request<Operation>;
79016
+ /** Updates or creates new Route Policy */
79017
+ updateRoutePolicy(request: {
79018
+ /** V1 error format. */
79019
+ "$.xgafv"?:
79020
+ string;
79021
+ /** OAuth access token. */
79022
+ access_token?:
79023
+ string;
79024
+ /** Data format for response. */
79025
+ alt?:
79026
+ string;
79027
+ /** JSONP */
79028
+ callback?:
79029
+ string;
79030
+ /** Selector specifying which fields to include in a partial response. */
79031
+ fields?:
79032
+ string;
79033
+ /** 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. */
79034
+ key?:
79035
+ string;
79036
+ /** OAuth 2.0 token for the current user. */
79037
+ oauth_token?:
79038
+ string;
79039
+ /** Returns response with indentations and line breaks. */
79040
+ prettyPrint?:
79041
+ boolean;
79042
+ /** Project ID for this request. */
79043
+ project:
79044
+ string;
79045
+ /** 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. */
79046
+ quotaUser?:
79047
+ string;
79048
+ /** Name of the region for this request. */
79049
+ region:
79050
+ string;
79051
+ /**
79052
+ * 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
79053
+ * 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
79054
+ * 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
79055
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
79056
+ */
79057
+ requestId?:
79058
+ string;
79059
+ /** Name of the Router resource where Route Policy is defined. */
79060
+ router:
79061
+ string;
79062
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
79063
+ upload_protocol?:
79064
+ string;
79065
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
79066
+ uploadType?:
79067
+ string;
79068
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
79069
+ userIp?:
79070
+ string;
79071
+ /** Request body */
79072
+ resource:
79073
+ RoutePolicy;
79074
+ }): Request<Operation>;
79075
+ updateRoutePolicy(request: {
79076
+ /** V1 error format. */
79077
+ "$.xgafv"?:
79078
+ string;
79079
+ /** OAuth access token. */
79080
+ access_token?:
79081
+ string;
79082
+ /** Data format for response. */
79083
+ alt?:
79084
+ string;
79085
+ /** JSONP */
79086
+ callback?:
79087
+ string;
79088
+ /** Selector specifying which fields to include in a partial response. */
79089
+ fields?:
79090
+ string;
79091
+ /** 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. */
79092
+ key?:
79093
+ string;
79094
+ /** OAuth 2.0 token for the current user. */
79095
+ oauth_token?:
79096
+ string;
79097
+ /** Returns response with indentations and line breaks. */
79098
+ prettyPrint?:
79099
+ boolean;
79100
+ /** Project ID for this request. */
79101
+ project:
79102
+ string;
79103
+ /** 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. */
79104
+ quotaUser?:
79105
+ string;
79106
+ /** Name of the region for this request. */
79107
+ region:
79108
+ string;
79109
+ /**
79110
+ * 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
79111
+ * 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
79112
+ * 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
79113
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
79114
+ */
79115
+ requestId?:
79116
+ string;
79117
+ /** Name of the Router resource where Route Policy is defined. */
79118
+ router:
79119
+ string;
79120
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
79121
+ upload_protocol?:
79122
+ string;
79123
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
79124
+ uploadType?:
79125
+ string;
79126
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
79127
+ userIp?:
79128
+ string;
79129
+ },
79130
+ body: RoutePolicy): Request<Operation>;
78541
79131
  }
78542
79132
  interface RoutesResource {
78543
79133
  /** Deletes the specified Route resource. */