@maxim_mazurok/gapi.client.compute-alpha 0.0.20230801 → 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 +1046 -246
  2. package/package.json +1 -1
  3. package/readme.md +35 -0
  4. package/tests.ts +115 -3
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: 20230801
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?:
@@ -3102,8 +3138,8 @@ declare namespace gapi.client {
3102
3138
  string;
3103
3139
  /**
3104
3140
  * Size, in GB, of the persistent disk. You can specify this field when creating a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone
3105
- * to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are 1 to
3106
- * 65536, inclusive.
3141
+ * to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are greater
3142
+ * than 0.
3107
3143
  */
3108
3144
  sizeGb?:
3109
3145
  string;
@@ -4377,6 +4413,12 @@ declare namespace gapi.client {
4377
4413
  /** This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region. */
4378
4414
  allowPscGlobalAccess?:
4379
4415
  boolean;
4416
+ /**
4417
+ * This is used in PSC consumer ForwardingRule to control whether the producer is allowed to inject packets into the consumer's network. If set to true, the target service attachment
4418
+ * must have tunneling enabled and TunnelingConfig.RoutingMode set to PACKET_INJECTION Non-PSC forwarding rules should not use this field.
4419
+ */
4420
+ allowPscPacketInjection?:
4421
+ boolean;
4380
4422
  /**
4381
4423
  * This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and
4382
4424
  * external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the
@@ -4427,9 +4469,10 @@ declare namespace gapi.client {
4427
4469
  IPAddress?:
4428
4470
  string;
4429
4471
  /**
4430
- * Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when creating
4431
- * an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/ project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name
4432
- * Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
4472
+ * Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when
4473
+ * creating an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region
4474
+ * /publicDelegatedPrefixes/sub-pdp-name Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name -
4475
+ * regions/region/publicDelegatedPrefixes/sub-pdp-name
4433
4476
  */
4434
4477
  ipCollection?:
4435
4478
  string;
@@ -6006,8 +6049,8 @@ declare namespace gapi.client {
6006
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
6007
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
6008
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
6009
- * 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
6010
- * 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.
6011
6054
  */
6012
6055
  faultInjectionPolicy?:
6013
6056
  HttpFaultInjection;
@@ -6037,8 +6080,8 @@ declare namespace gapi.client {
6037
6080
  timeout?:
6038
6081
  Duration;
6039
6082
  /**
6040
- * 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
6041
- * 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.
6042
6085
  */
6043
6086
  urlRewrite?:
6044
6087
  UrlRewrite;
@@ -6062,7 +6105,7 @@ declare namespace gapi.client {
6062
6105
  * RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes
6063
6106
  * effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied.
6064
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
6065
- * client. customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing.
6108
+ * client. customErrorResponsePolicy is supported only for global external Application Load Balancers.
6066
6109
  */
6067
6110
  customErrorResponsePolicy?:
6068
6111
  CustomErrorResponsePolicy;
@@ -6108,7 +6151,7 @@ declare namespace gapi.client {
6108
6151
  /**
6109
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
6110
6153
  * selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any
6111
- * 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
6112
6155
  * urlRewrite action within a route rule's routeAction.
6113
6156
  */
6114
6157
  routeAction?:
@@ -7387,6 +7430,9 @@ declare namespace gapi.client {
7387
7430
  /** When set, defines queing parameters for the requested deferred capacity. When unset, the request starts provisioning immediately, or fails if immediate provisioning is not possible. */
7388
7431
  queuingPolicy?:
7389
7432
  QueuingPolicy;
7433
+ /** The number of instances to be created by this resize request. The group's target size will be increased by this number. */
7434
+ resizeBy?:
7435
+ number;
7390
7436
  /** [Output Only] The URL for this resize request. The server defines this URL. */
7391
7437
  selfLink?:
7392
7438
  string;
@@ -7396,10 +7442,7 @@ declare namespace gapi.client {
7396
7442
  /** [Output only] Current state of the request. */
7397
7443
  state?:
7398
7444
  string;
7399
- /**
7400
- * [Output only] Status of the request. The Status message is aligned with QueuedResource.status. ResizeRequest.queuing_policy contains the queuing policy as provided by the user; it
7401
- * could have either valid_until_time or valid_until_duration. ResizeRequest.status.queuing_policy always contains absolute time as calculated by the server when the request is queued.
7402
- */
7445
+ /** [Output only] Status of the request. */
7403
7446
  status?:
7404
7447
  InstanceGroupManagerResizeRequestStatus;
7405
7448
  /** [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests. */
@@ -8255,12 +8298,12 @@ declare namespace gapi.client {
8255
8298
  string;
8256
8299
  }
8257
8300
  interface InstanceSettingsMetadata {
8301
+ /** A metadata key/value items map. The total size of all keys and values must be less than 512KB. */
8302
+ items?:
8303
+ { [P in string]: string };
8258
8304
  /** [Output Only] Type of the resource. Always compute#metadata for metadata. */
8259
8305
  kind?:
8260
8306
  string;
8261
- /** A metadata key/value map. The total size of all keys and values must be less than 512KB. */
8262
- metadata?:
8263
- { [P in string]: string };
8264
8307
  }
8265
8308
  interface InstancesGetEffectiveFirewallsResponse {
8266
8309
  /** Effective firewalls from firewall policies. */
@@ -9068,7 +9111,7 @@ declare namespace gapi.client {
9068
9111
  operationalStatus?:
9069
9112
  string;
9070
9113
  /**
9071
- * [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The opaque identifier of an PARTNER attachment used to initiate provisioning with a
9114
+ * [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The opaque identifier of a PARTNER attachment used to initiate provisioning with a
9072
9115
  * selected partner. Of the form "XXXXX/region/domain"
9073
9116
  */
9074
9117
  pairingKey?:
@@ -9079,7 +9122,7 @@ declare namespace gapi.client {
9079
9122
  */
9080
9123
  partnerAsn?:
9081
9124
  string;
9082
- /** Informational metadata about Partner attachments from Partners to display to customers. Output only for for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED. */
9125
+ /** Informational metadata about Partner attachments from Partners to display to customers. Output only for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED. */
9083
9126
  partnerMetadata?:
9084
9127
  InterconnectAttachmentPartnerMetadata;
9085
9128
  /** [Output Only] Information specific to an InterconnectAttachment. This property is populated if the interconnect that this is attached to is of type DEDICATED. */
@@ -11731,6 +11774,12 @@ declare namespace gapi.client {
11731
11774
  string;
11732
11775
  }
11733
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;
11734
11783
  /**
11735
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
11736
11785
  * set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions.
@@ -13280,15 +13329,15 @@ declare namespace gapi.client {
13280
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
13281
13330
  * UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are
13282
13331
  * exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is
13283
- * 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.
13284
13333
  */
13285
13334
  defaultCustomErrorResponsePolicy?:
13286
13335
  CustomErrorResponsePolicy;
13287
13336
  /**
13288
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,
13289
13338
  * before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is
13290
- * set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load
13291
- * 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.
13292
13341
  */
13293
13342
  defaultRouteAction?:
13294
13343
  HttpRouteAction;
@@ -13345,7 +13394,7 @@ declare namespace gapi.client {
13345
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
13346
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
13347
13396
  * PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes
13348
- * effect. customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing.
13397
+ * effect. customErrorResponsePolicy is supported only for global external Application Load Balancers.
13349
13398
  */
13350
13399
  customErrorResponsePolicy?:
13351
13400
  CustomErrorResponsePolicy;
@@ -13358,7 +13407,7 @@ declare namespace gapi.client {
13358
13407
  /**
13359
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
13360
13409
  * backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only
13361
- * 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.
13362
13411
  */
13363
13412
  routeAction?:
13364
13413
  HttpRouteAction;
@@ -15743,6 +15792,34 @@ declare namespace gapi.client {
15743
15792
  string;
15744
15793
  };
15745
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
+ }
15746
15823
  interface Router {
15747
15824
  /** BGP information specific to this router. */
15748
15825
  bgp?:
@@ -15765,7 +15842,10 @@ declare namespace gapi.client {
15765
15842
  /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */
15766
15843
  id?:
15767
15844
  string;
15768
- /** 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
+ */
15769
15849
  interfaces?:
15770
15850
  RouterInterface[];
15771
15851
  /** [Output Only] Type of resource. Always compute#router for routers. */
@@ -16044,13 +16124,13 @@ declare namespace gapi.client {
16044
16124
  string;
16045
16125
  /**
16046
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
16047
- * attachment, or a virtual machine instance.
16127
+ * attachment, or a subnetwork.
16048
16128
  */
16049
16129
  linkedInterconnectAttachment?:
16050
16130
  string;
16051
16131
  /**
16052
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
16053
- * a virtual machine instance.
16133
+ * a subnetwork.
16054
16134
  */
16055
16135
  linkedVpnTunnel?:
16056
16136
  string;
@@ -16141,12 +16221,12 @@ declare namespace gapi.client {
16141
16221
  */
16142
16222
  key?:
16143
16223
  string;
16144
- /** 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. */
16145
16225
  name?:
16146
16226
  string;
16147
16227
  }
16148
16228
  interface RouterNat {
16149
- /** The network tier to use when automatically reserving IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used. */
16229
+ /** The network tier to use when automatically reserving NAT IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, then the current project-level default tier is used. */
16150
16230
  autoNetworkTier?:
16151
16231
  string;
16152
16232
  /**
@@ -16297,6 +16377,111 @@ declare namespace gapi.client {
16297
16377
  sourceIpRangesToNat?:
16298
16378
  string[];
16299
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
+ }
16300
16485
  interface RoutersPreviewResponse {
16301
16486
  /** Preview of given router. */
16302
16487
  resource?:
@@ -17566,6 +17751,12 @@ declare namespace gapi.client {
17566
17751
  /** The URL of a service serving the endpoint identified by this service attachment. */
17567
17752
  targetService?:
17568
17753
  string;
17754
+ /**
17755
+ * When a tunneling config is set on this service attachment it will encapsulate traffic between consumer and producer. When tunneling is enabled: - nat_subnets must be unset -
17756
+ * enable_proxy_protocol must be false - producer_forwarding_rule must be a L4 ILB. -
17757
+ */
17758
+ tunnelingConfig?:
17759
+ ServiceAttachmentTunnelingConfig;
17569
17760
  }
17570
17761
  interface ServiceAttachmentAggregatedList {
17571
17762
  /** [Output Only] Unique identifier for the resource; defined by the server. */
@@ -17712,6 +17903,14 @@ declare namespace gapi.client {
17712
17903
  string;
17713
17904
  };
17714
17905
  }
17906
+ interface ServiceAttachmentTunnelingConfig {
17907
+ /** Specify the encapsulation protocol and what metadata to include in incoming encapsulated packet headers. */
17908
+ encapsulationProfile?:
17909
+ string;
17910
+ /** How this Service Attachment will treat traffic sent to the tunnel_ip, destined for the consumer network. */
17911
+ routingMode?:
17912
+ string;
17913
+ }
17715
17914
  interface ServiceIntegrationSpec {
17716
17915
  backupDr?:
17717
17916
  ServiceIntegrationSpecBackupDRSpec;
@@ -19463,8 +19662,8 @@ declare namespace gapi.client {
19463
19662
  string[];
19464
19663
  /**
19465
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
19466
- * (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
19467
- * 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.
19468
19667
  */
19469
19668
  httpKeepAliveTimeoutSec?:
19470
19669
  number;
@@ -19687,8 +19886,8 @@ declare namespace gapi.client {
19687
19886
  string[];
19688
19887
  /**
19689
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
19690
- * (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
19691
- * 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.
19692
19891
  */
19693
19892
  httpKeepAliveTimeoutSec?:
19694
19893
  number;
@@ -20862,23 +21061,23 @@ declare namespace gapi.client {
20862
21061
  string;
20863
21062
  /**
20864
21063
  * defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the
20865
- * 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,
20866
21065
  * consider a UrlMap with the following configuration: - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher configured for
20867
21066
  * *.example.com has defaultCustomErrorResponsePolicy for 4xx. If a request for http://www.example.com/ encounters a 404, the policy in pathMatcher.defaultCustomErrorResponsePolicy
20868
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
20869
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
20870
21069
  * defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load
20871
21070
  * balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client.
20872
- * defaultCustomErrorResponsePolicy is supported only for Global External HTTP(S) load balancing.
21071
+ * defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
20873
21072
  */
20874
21073
  defaultCustomErrorResponsePolicy?:
20875
21074
  CustomErrorResponsePolicy;
20876
21075
  /**
20877
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
20878
21077
  * forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set,
20879
- * defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers
20880
- * 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
20881
- * 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.
20882
21081
  */
20883
21082
  defaultRouteAction?:
20884
21083
  HttpRouteAction;
@@ -21075,11 +21274,11 @@ declare namespace gapi.client {
21075
21274
  }
21076
21275
  interface UrlMapsValidateRequest {
21077
21276
  /**
21078
- * 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
21079
- * 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
21080
- * 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,
21081
- * 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
21082
- * 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.
21083
21282
  */
21084
21283
  loadBalancingSchemes?:
21085
21284
  string[];
@@ -21681,9 +21880,9 @@ declare namespace gapi.client {
21681
21880
  peerExternalGatewayInterface?:
21682
21881
  number;
21683
21882
  /**
21684
- * URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly
21883
+ * URL of the peer side HA VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly
21685
21884
  * available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same
21686
- * vpnGatewayInterface ID in the peer GCP VPN gateway.
21885
+ * vpnGatewayInterface ID in the peer Google Cloud VPN gateway.
21687
21886
  */
21688
21887
  peerGcpGateway?:
21689
21888
  string;
@@ -25123,11 +25322,8 @@ declare namespace gapi.client {
25123
25322
  userIp?:
25124
25323
  string;
25125
25324
  }): Request<BackendServiceList>;
25126
- /**
25127
- * 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
25128
- * uses the JSON merge patch format and processing rules.
25129
- */
25130
- patch(request: {
25325
+ /** Retrieves an aggregated list of all usable backend services in the specified project. */
25326
+ listUsable(request?: {
25131
25327
  /** V1 error format. */
25132
25328
  "$.xgafv"?:
25133
25329
  string;
@@ -25137,75 +25333,50 @@ declare namespace gapi.client {
25137
25333
  /** Data format for response. */
25138
25334
  alt?:
25139
25335
  string;
25140
- /** Name of the BackendService resource to patch. */
25141
- backendService:
25142
- string;
25143
25336
  /** JSONP */
25144
25337
  callback?:
25145
25338
  string;
25146
25339
  /** Selector specifying which fields to include in a partial response. */
25147
25340
  fields?:
25148
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;
25149
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. */
25150
25360
  key?:
25151
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;
25152
25368
  /** OAuth 2.0 token for the current user. */
25153
25369
  oauth_token?:
25154
25370
  string;
25155
- /** Returns response with indentations and line breaks. */
25156
- prettyPrint?:
25157
- boolean;
25158
- /** Project ID for this request. */
25159
- project:
25160
- string;
25161
- /** 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. */
25162
- quotaUser?:
25163
- string;
25164
25371
  /**
25165
- * 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
25166
- * 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
25167
- * 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
25168
- * 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.
25169
25375
  */
25170
- requestId?:
25171
- string;
25172
- /** Upload protocol for media (e.g. "raw", "multipart"). */
25173
- upload_protocol?:
25174
- string;
25175
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25176
- uploadType?:
25177
- string;
25178
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
25179
- userIp?:
25180
- string;
25181
- /** Request body */
25182
- resource:
25183
- BackendService;
25184
- }): Request<Operation>;
25185
- patch(request: {
25186
- /** V1 error format. */
25187
- "$.xgafv"?:
25188
- string;
25189
- /** OAuth access token. */
25190
- access_token?:
25191
- string;
25192
- /** Data format for response. */
25193
- alt?:
25194
- string;
25195
- /** Name of the BackendService resource to patch. */
25196
- backendService:
25197
- string;
25198
- /** JSONP */
25199
- callback?:
25200
- string;
25201
- /** Selector specifying which fields to include in a partial response. */
25202
- fields?:
25203
- string;
25204
- /** 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. */
25205
- key?:
25376
+ orderBy?:
25206
25377
  string;
25207
- /** OAuth 2.0 token for the current user. */
25208
- 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?:
25209
25380
  string;
25210
25381
  /** Returns response with indentations and line breaks. */
25211
25382
  prettyPrint?:
@@ -25216,14 +25387,9 @@ declare namespace gapi.client {
25216
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. */
25217
25388
  quotaUser?:
25218
25389
  string;
25219
- /**
25220
- * 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
25221
- * 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
25222
- * 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
25223
- * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
25224
- */
25225
- requestId?:
25226
- 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;
25227
25393
  /** Upload protocol for media (e.g. "raw", "multipart"). */
25228
25394
  upload_protocol?:
25229
25395
  string;
@@ -25233,10 +25399,12 @@ declare namespace gapi.client {
25233
25399
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
25234
25400
  userIp?:
25235
25401
  string;
25236
- },
25237
- body: BackendService): Request<Operation>;
25238
- /** Sets the edge security policy for the specified backend service. */
25239
- 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: {
25240
25408
  /** V1 error format. */
25241
25409
  "$.xgafv"?:
25242
25410
  string;
@@ -25246,7 +25414,7 @@ declare namespace gapi.client {
25246
25414
  /** Data format for response. */
25247
25415
  alt?:
25248
25416
  string;
25249
- /** 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. */
25250
25418
  backendService:
25251
25419
  string;
25252
25420
  /** JSONP */
@@ -25289,9 +25457,9 @@ declare namespace gapi.client {
25289
25457
  string;
25290
25458
  /** Request body */
25291
25459
  resource:
25292
- SecurityPolicyReference;
25460
+ BackendService;
25293
25461
  }): Request<Operation>;
25294
- setEdgeSecurityPolicy(request: {
25462
+ patch(request: {
25295
25463
  /** V1 error format. */
25296
25464
  "$.xgafv"?:
25297
25465
  string;
@@ -25301,7 +25469,116 @@ declare namespace gapi.client {
25301
25469
  /** Data format for response. */
25302
25470
  alt?:
25303
25471
  string;
25304
- /** 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. */
25305
25582
  backendService:
25306
25583
  string;
25307
25584
  /** JSONP */
@@ -52159,8 +52436,8 @@ declare namespace gapi.client {
52159
52436
  string;
52160
52437
  },
52161
52438
  body: FirewallPolicy): Request<Operation>;
52162
- /** Patches a rule of the specified priority. */
52163
- patchRule(request: {
52439
+ /** Updates an association for the specified network firewall policy. */
52440
+ patchAssociation(request: {
52164
52441
  /** V1 error format. */
52165
52442
  "$.xgafv"?:
52166
52443
  string;
@@ -52188,9 +52465,6 @@ declare namespace gapi.client {
52188
52465
  /** Returns response with indentations and line breaks. */
52189
52466
  prettyPrint?:
52190
52467
  boolean;
52191
- /** The priority of the rule to patch. */
52192
- priority?:
52193
- number;
52194
52468
  /** Project ID for this request. */
52195
52469
  project:
52196
52470
  string;
@@ -52216,9 +52490,9 @@ declare namespace gapi.client {
52216
52490
  string;
52217
52491
  /** Request body */
52218
52492
  resource:
52219
- FirewallPolicyRule;
52493
+ FirewallPolicyAssociation;
52220
52494
  }): Request<Operation>;
52221
- patchRule(request: {
52495
+ patchAssociation(request: {
52222
52496
  /** V1 error format. */
52223
52497
  "$.xgafv"?:
52224
52498
  string;
@@ -52246,9 +52520,6 @@ declare namespace gapi.client {
52246
52520
  /** Returns response with indentations and line breaks. */
52247
52521
  prettyPrint?:
52248
52522
  boolean;
52249
- /** The priority of the rule to patch. */
52250
- priority?:
52251
- number;
52252
52523
  /** Project ID for this request. */
52253
52524
  project:
52254
52525
  string;
@@ -52273,9 +52544,9 @@ declare namespace gapi.client {
52273
52544
  userIp?:
52274
52545
  string;
52275
52546
  },
52276
- body: FirewallPolicyRule): Request<Operation>;
52277
- /** Removes an association for the specified firewall policy. */
52278
- removeAssociation(request?: {
52547
+ body: FirewallPolicyAssociation): Request<Operation>;
52548
+ /** Patches a rule of the specified priority. */
52549
+ patchRule(request: {
52279
52550
  /** V1 error format. */
52280
52551
  "$.xgafv"?:
52281
52552
  string;
@@ -52297,15 +52568,15 @@ declare namespace gapi.client {
52297
52568
  /** 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. */
52298
52569
  key?:
52299
52570
  string;
52300
- /** Name for the attachment that will be removed. */
52301
- name?:
52302
- string;
52303
52571
  /** OAuth 2.0 token for the current user. */
52304
52572
  oauth_token?:
52305
52573
  string;
52306
52574
  /** Returns response with indentations and line breaks. */
52307
52575
  prettyPrint?:
52308
52576
  boolean;
52577
+ /** The priority of the rule to patch. */
52578
+ priority?:
52579
+ number;
52309
52580
  /** Project ID for this request. */
52310
52581
  project:
52311
52582
  string;
@@ -52329,9 +52600,11 @@ declare namespace gapi.client {
52329
52600
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
52330
52601
  userIp?:
52331
52602
  string;
52603
+ /** Request body */
52604
+ resource:
52605
+ FirewallPolicyRule;
52332
52606
  }): Request<Operation>;
52333
- /** Deletes a rule of the specified priority. */
52334
- removeRule(request?: {
52607
+ patchRule(request: {
52335
52608
  /** V1 error format. */
52336
52609
  "$.xgafv"?:
52337
52610
  string;
@@ -52359,7 +52632,7 @@ declare namespace gapi.client {
52359
52632
  /** Returns response with indentations and line breaks. */
52360
52633
  prettyPrint?:
52361
52634
  boolean;
52362
- /** The priority of the rule to remove from the firewall policy. */
52635
+ /** The priority of the rule to patch. */
52363
52636
  priority?:
52364
52637
  number;
52365
52638
  /** Project ID for this request. */
@@ -52385,55 +52658,10 @@ declare namespace gapi.client {
52385
52658
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
52386
52659
  userIp?:
52387
52660
  string;
52388
- }): Request<Operation>;
52389
- /** Sets the access control policy on the specified resource. Replaces any existing policy. */
52390
- setIamPolicy(request: {
52391
- /** V1 error format. */
52392
- "$.xgafv"?:
52393
- string;
52394
- /** OAuth access token. */
52395
- access_token?:
52396
- string;
52397
- /** Data format for response. */
52398
- alt?:
52399
- string;
52400
- /** JSONP */
52401
- callback?:
52402
- string;
52403
- /** Selector specifying which fields to include in a partial response. */
52404
- fields?:
52405
- string;
52406
- /** 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. */
52407
- key?:
52408
- string;
52409
- /** OAuth 2.0 token for the current user. */
52410
- oauth_token?:
52411
- string;
52412
- /** Returns response with indentations and line breaks. */
52413
- prettyPrint?:
52414
- boolean;
52415
- /** Project ID for this request. */
52416
- project:
52417
- string;
52418
- /** 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. */
52419
- quotaUser?:
52420
- string;
52421
- /** Name or id of the resource for this request. */
52422
- resource:
52423
- string;
52424
- /** Upload protocol for media (e.g. "raw", "multipart"). */
52425
- upload_protocol?:
52426
- string;
52427
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52428
- uploadType?:
52429
- string;
52430
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
52431
- userIp?:
52432
- string;
52433
52661
  },
52434
- body: GlobalSetPolicyRequest): Request<Policy>;
52435
- /** Returns permissions that a caller has on the specified resource. */
52436
- testIamPermissions(request: {
52662
+ body: FirewallPolicyRule): Request<Operation>;
52663
+ /** Removes an association for the specified firewall policy. */
52664
+ removeAssociation(request?: {
52437
52665
  /** V1 error format. */
52438
52666
  "$.xgafv"?:
52439
52667
  string;
@@ -52449,59 +52677,14 @@ declare namespace gapi.client {
52449
52677
  /** Selector specifying which fields to include in a partial response. */
52450
52678
  fields?:
52451
52679
  string;
52452
- /** 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. */
52453
- key?:
52454
- string;
52455
- /** OAuth 2.0 token for the current user. */
52456
- oauth_token?:
52457
- string;
52458
- /** Returns response with indentations and line breaks. */
52459
- prettyPrint?:
52460
- boolean;
52461
- /** Project ID for this request. */
52462
- project:
52463
- string;
52464
- /** 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. */
52465
- quotaUser?:
52466
- string;
52467
- /** Name or id of the resource for this request. */
52468
- resource:
52469
- string;
52470
- /** Upload protocol for media (e.g. "raw", "multipart"). */
52471
- upload_protocol?:
52472
- string;
52473
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52474
- uploadType?:
52475
- string;
52476
- /** Legacy name for parameter that has been superseded by `quotaUser`. */
52477
- userIp?:
52478
- string;
52479
- },
52480
- body: TestPermissionsRequest): Request<TestPermissionsResponse>;
52481
- }
52482
- interface NetworksResource {
52483
- /** Adds a peering to the specified network. */
52484
- addPeering(request: {
52485
- /** V1 error format. */
52486
- "$.xgafv"?:
52487
- string;
52488
- /** OAuth access token. */
52489
- access_token?:
52490
- string;
52491
- /** Data format for response. */
52492
- alt?:
52493
- string;
52494
- /** JSONP */
52495
- callback?:
52496
- string;
52497
- /** Selector specifying which fields to include in a partial response. */
52498
- fields?:
52680
+ /** Name of the firewall policy to update. */
52681
+ firewallPolicy:
52499
52682
  string;
52500
52683
  /** 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. */
52501
52684
  key?:
52502
52685
  string;
52503
- /** Name of the network resource to add peering to. */
52504
- network:
52686
+ /** Name for the attachment that will be removed. */
52687
+ name?:
52505
52688
  string;
52506
52689
  /** OAuth 2.0 token for the current user. */
52507
52690
  oauth_token?:
@@ -52532,11 +52715,9 @@ declare namespace gapi.client {
52532
52715
  /** Legacy name for parameter that has been superseded by `quotaUser`. */
52533
52716
  userIp?:
52534
52717
  string;
52535
- /** Request body */
52536
- resource:
52537
- NetworksAddPeeringRequest;
52538
52718
  }): Request<Operation>;
52539
- addPeering(request: {
52719
+ /** Deletes a rule of the specified priority. */
52720
+ removeRule(request?: {
52540
52721
  /** V1 error format. */
52541
52722
  "$.xgafv"?:
52542
52723
  string;
@@ -52552,12 +52733,217 @@ declare namespace gapi.client {
52552
52733
  /** Selector specifying which fields to include in a partial response. */
52553
52734
  fields?:
52554
52735
  string;
52736
+ /** Name of the firewall policy to update. */
52737
+ firewallPolicy:
52738
+ string;
52555
52739
  /** 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. */
52556
52740
  key?:
52557
52741
  string;
52558
- /** Name of the network resource to add peering to. */
52559
- network:
52560
- string;
52742
+ /** OAuth 2.0 token for the current user. */
52743
+ oauth_token?:
52744
+ string;
52745
+ /** Returns response with indentations and line breaks. */
52746
+ prettyPrint?:
52747
+ boolean;
52748
+ /** The priority of the rule to remove from the firewall policy. */
52749
+ priority?:
52750
+ number;
52751
+ /** Project ID for this request. */
52752
+ project:
52753
+ string;
52754
+ /** 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. */
52755
+ quotaUser?:
52756
+ string;
52757
+ /**
52758
+ * 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
52759
+ * 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
52760
+ * 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
52761
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
52762
+ */
52763
+ requestId?:
52764
+ string;
52765
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52766
+ upload_protocol?:
52767
+ string;
52768
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52769
+ uploadType?:
52770
+ string;
52771
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
52772
+ userIp?:
52773
+ string;
52774
+ }): Request<Operation>;
52775
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. */
52776
+ setIamPolicy(request: {
52777
+ /** V1 error format. */
52778
+ "$.xgafv"?:
52779
+ string;
52780
+ /** OAuth access token. */
52781
+ access_token?:
52782
+ string;
52783
+ /** Data format for response. */
52784
+ alt?:
52785
+ string;
52786
+ /** JSONP */
52787
+ callback?:
52788
+ string;
52789
+ /** Selector specifying which fields to include in a partial response. */
52790
+ fields?:
52791
+ string;
52792
+ /** 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. */
52793
+ key?:
52794
+ string;
52795
+ /** OAuth 2.0 token for the current user. */
52796
+ oauth_token?:
52797
+ string;
52798
+ /** Returns response with indentations and line breaks. */
52799
+ prettyPrint?:
52800
+ boolean;
52801
+ /** Project ID for this request. */
52802
+ project:
52803
+ string;
52804
+ /** 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. */
52805
+ quotaUser?:
52806
+ string;
52807
+ /** Name or id of the resource for this request. */
52808
+ resource:
52809
+ string;
52810
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52811
+ upload_protocol?:
52812
+ string;
52813
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52814
+ uploadType?:
52815
+ string;
52816
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
52817
+ userIp?:
52818
+ string;
52819
+ },
52820
+ body: GlobalSetPolicyRequest): Request<Policy>;
52821
+ /** Returns permissions that a caller has on the specified resource. */
52822
+ testIamPermissions(request: {
52823
+ /** V1 error format. */
52824
+ "$.xgafv"?:
52825
+ string;
52826
+ /** OAuth access token. */
52827
+ access_token?:
52828
+ string;
52829
+ /** Data format for response. */
52830
+ alt?:
52831
+ string;
52832
+ /** JSONP */
52833
+ callback?:
52834
+ string;
52835
+ /** Selector specifying which fields to include in a partial response. */
52836
+ fields?:
52837
+ string;
52838
+ /** 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. */
52839
+ key?:
52840
+ string;
52841
+ /** OAuth 2.0 token for the current user. */
52842
+ oauth_token?:
52843
+ string;
52844
+ /** Returns response with indentations and line breaks. */
52845
+ prettyPrint?:
52846
+ boolean;
52847
+ /** Project ID for this request. */
52848
+ project:
52849
+ string;
52850
+ /** 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. */
52851
+ quotaUser?:
52852
+ string;
52853
+ /** Name or id of the resource for this request. */
52854
+ resource:
52855
+ string;
52856
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52857
+ upload_protocol?:
52858
+ string;
52859
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52860
+ uploadType?:
52861
+ string;
52862
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
52863
+ userIp?:
52864
+ string;
52865
+ },
52866
+ body: TestPermissionsRequest): Request<TestPermissionsResponse>;
52867
+ }
52868
+ interface NetworksResource {
52869
+ /** Adds a peering to the specified network. */
52870
+ addPeering(request: {
52871
+ /** V1 error format. */
52872
+ "$.xgafv"?:
52873
+ string;
52874
+ /** OAuth access token. */
52875
+ access_token?:
52876
+ string;
52877
+ /** Data format for response. */
52878
+ alt?:
52879
+ string;
52880
+ /** JSONP */
52881
+ callback?:
52882
+ string;
52883
+ /** Selector specifying which fields to include in a partial response. */
52884
+ fields?:
52885
+ string;
52886
+ /** 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. */
52887
+ key?:
52888
+ string;
52889
+ /** Name of the network resource to add peering to. */
52890
+ network:
52891
+ string;
52892
+ /** OAuth 2.0 token for the current user. */
52893
+ oauth_token?:
52894
+ string;
52895
+ /** Returns response with indentations and line breaks. */
52896
+ prettyPrint?:
52897
+ boolean;
52898
+ /** Project ID for this request. */
52899
+ project:
52900
+ string;
52901
+ /** 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. */
52902
+ quotaUser?:
52903
+ string;
52904
+ /**
52905
+ * 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
52906
+ * 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
52907
+ * 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
52908
+ * commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
52909
+ */
52910
+ requestId?:
52911
+ string;
52912
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52913
+ upload_protocol?:
52914
+ string;
52915
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52916
+ uploadType?:
52917
+ string;
52918
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
52919
+ userIp?:
52920
+ string;
52921
+ /** Request body */
52922
+ resource:
52923
+ NetworksAddPeeringRequest;
52924
+ }): Request<Operation>;
52925
+ addPeering(request: {
52926
+ /** V1 error format. */
52927
+ "$.xgafv"?:
52928
+ string;
52929
+ /** OAuth access token. */
52930
+ access_token?:
52931
+ string;
52932
+ /** Data format for response. */
52933
+ alt?:
52934
+ string;
52935
+ /** JSONP */
52936
+ callback?:
52937
+ string;
52938
+ /** Selector specifying which fields to include in a partial response. */
52939
+ fields?:
52940
+ string;
52941
+ /** 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. */
52942
+ key?:
52943
+ string;
52944
+ /** Name of the network resource to add peering to. */
52945
+ network:
52946
+ string;
52561
52947
  /** OAuth 2.0 token for the current user. */
52562
52948
  oauth_token?:
52563
52949
  string;
@@ -69833,6 +70219,9 @@ declare namespace gapi.client {
69833
70219
  /** Data format for response. */
69834
70220
  alt?:
69835
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;
69836
70225
  /** JSONP */
69837
70226
  callback?:
69838
70227
  string;
@@ -69894,6 +70283,9 @@ declare namespace gapi.client {
69894
70283
  /** Data format for response. */
69895
70284
  alt?:
69896
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;
69897
70289
  /** JSONP */
69898
70290
  callback?:
69899
70291
  string;
@@ -77523,6 +77915,65 @@ declare namespace gapi.client {
77523
77915
  userIp?:
77524
77916
  string;
77525
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>;
77526
77977
  /** Returns the specified Router resource. */
77527
77978
  get(request?: {
77528
77979
  /** V1 error format. */
@@ -77709,6 +78160,57 @@ declare namespace gapi.client {
77709
78160
  userIp?:
77710
78161
  string;
77711
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>;
77712
78214
  /** Retrieves runtime information of the specified router. */
77713
78215
  getRouterStatus(request?: {
77714
78216
  /** V1 error format. */
@@ -77947,6 +78449,189 @@ declare namespace gapi.client {
77947
78449
  userIp?:
77948
78450
  string;
77949
78451
  }): Request<RouterList>;
78452
+ /** Retrieves a list of router bgp routes available to the specified project. */
78453
+ listBgpRoutes(request?: {
78454
+ /** V1 error format. */
78455
+ "$.xgafv"?:
78456
+ string;
78457
+ /** OAuth access token. */
78458
+ access_token?:
78459
+ string;
78460
+ /** (Required) limit results to this address family (either IPv4 or IPv6) */
78461
+ addressFamily?:
78462
+ string;
78463
+ /** Data format for response. */
78464
+ alt?:
78465
+ string;
78466
+ /** JSONP */
78467
+ callback?:
78468
+ string;
78469
+ /** Limit results to destinations that are subnets of this CIDR range */
78470
+ destinationPrefix?:
78471
+ string;
78472
+ /** Selector specifying which fields to include in a partial response. */
78473
+ fields?:
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;
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. */
78493
+ key?:
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;
78501
+ /** OAuth 2.0 token for the current user. */
78502
+ oauth_token?:
78503
+ string;
78504
+ /**
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.
78508
+ */
78509
+ orderBy?:
78510
+ string;
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?:
78513
+ string;
78514
+ /** (Required) limit results to the BGP peer with the given name. Name should conform to RFC1035. */
78515
+ peer?:
78516
+ string;
78517
+ /** When true, the method returns post-policy routes. Otherwise, it returns pre-policy routes. */
78518
+ policyApplied?:
78519
+ boolean;
78520
+ /** Returns response with indentations and line breaks. */
78521
+ prettyPrint?:
78522
+ boolean;
78523
+ /** Project ID for this request. */
78524
+ project:
78525
+ string;
78526
+ /** 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. */
78527
+ quotaUser?:
78528
+ string;
78529
+ /** Name of the region for this request. */
78530
+ region:
78531
+ string;
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?:
78540
+ string;
78541
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
78542
+ upload_protocol?:
78543
+ string;
78544
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
78545
+ uploadType?:
78546
+ string;
78547
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
78548
+ userIp?:
78549
+ string;
78550
+ }): Request<RoutersListBgpRoutes>;
78551
+ /** Retrieves a list of router route policy subresources available to the specified project. */
78552
+ listRoutePolicies(request?: {
78553
+ /** V1 error format. */
78554
+ "$.xgafv"?:
78555
+ string;
78556
+ /** OAuth access token. */
78557
+ access_token?:
78558
+ string;
78559
+ /** Data format for response. */
78560
+ alt?:
78561
+ string;
78562
+ /** JSONP */
78563
+ callback?:
78564
+ string;
78565
+ /** Selector specifying which fields to include in a partial response. */
78566
+ fields?:
78567
+ string;
78568
+ /**
78569
+ * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions
78570
+ * 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
78571
+ * 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
78572
+ * 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
78573
+ * 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
78574
+ * with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only
78575
+ * 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
78576
+ * separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
78577
+ * expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND
78578
+ * (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
78579
+ * with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double
78580
+ * 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
78581
+ * must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
78582
+ */
78583
+ filter?:
78584
+ string;
78585
+ /** 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. */
78586
+ key?:
78587
+ string;
78588
+ /**
78589
+ * 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
78590
+ * be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
78591
+ */
78592
+ maxResults?:
78593
+ number;
78594
+ /** OAuth 2.0 token for the current user. */
78595
+ oauth_token?:
78596
+ string;
78597
+ /**
78598
+ * 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
78599
+ * on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result
78600
+ * 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.
78601
+ */
78602
+ orderBy?:
78603
+ string;
78604
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. */
78605
+ pageToken?:
78606
+ string;
78607
+ /** Returns response with indentations and line breaks. */
78608
+ prettyPrint?:
78609
+ boolean;
78610
+ /** Project ID for this request. */
78611
+ project:
78612
+ string;
78613
+ /** 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. */
78614
+ quotaUser?:
78615
+ string;
78616
+ /** Name of the region for this request. */
78617
+ region:
78618
+ string;
78619
+ /** Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. */
78620
+ returnPartialSuccess?:
78621
+ boolean;
78622
+ /** Name or id of the resource for this request. Name should conform to RFC1035. */
78623
+ router:
78624
+ string;
78625
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
78626
+ upload_protocol?:
78627
+ string;
78628
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
78629
+ uploadType?:
78630
+ string;
78631
+ /** Legacy name for parameter that has been superseded by `quotaUser`. */
78632
+ userIp?:
78633
+ string;
78634
+ }): Request<RoutersListRoutePolicies>;
77950
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. */
77951
78636
  patch(request: {
77952
78637
  /** V1 error format. */
@@ -78328,6 +79013,121 @@ declare namespace gapi.client {
78328
79013
  string;
78329
79014
  },
78330
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>;
78331
79131
  }
78332
79132
  interface RoutesResource {
78333
79133
  /** Deletes the specified Route resource. */