@googleapis/networkservices 26.0.0 → 27.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/v1beta1.ts CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  Compute,
24
24
  UserRefreshClient,
25
25
  BaseExternalAccountClient,
26
- GaxiosPromise,
26
+ GaxiosResponseWithHTTP2,
27
27
  GoogleConfigurable,
28
28
  createAPIRequest,
29
29
  MethodOptions,
@@ -268,6 +268,10 @@ export namespace networkservices_v1beta1 {
268
268
  * A single extension in the chain to execute for the matching request.
269
269
  */
270
270
  export interface Schema$ExtensionChainExtension {
271
+ /**
272
+ * Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions. Setting it results in a validation error.
273
+ */
274
+ allowDynamicForwarding?: boolean | null;
271
275
  /**
272
276
  * Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error.
273
277
  */
@@ -281,13 +285,21 @@ export namespace networkservices_v1beta1 {
281
285
  */
282
286
  forwardHeaders?: string[] | null;
283
287
  /**
284
- * Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google....`. For example: `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are supported in the metadata: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name. This field is not supported for plugin extensions. Setting it results in a validation error.
288
+ * Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google....`. For example: `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are supported in the metadata: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name. This field must not be set for plugin extensions. Setting it results in a validation error. You can set metadata at either the resource level or the extension level. The extension level metadata is recommended because you can pass a different set of metadata through each extension to the backend. This field is subject to following limitations: * The total size of the metadata must be less than 1KiB. * The total number of keys in the metadata must be less than 16. * The length of each key must be less than 64 characters. * The length of each value must be less than 1024 characters. * All values must be strings.
285
289
  */
286
290
  metadata?: {[key: string]: any} | null;
287
291
  /**
288
292
  * Required. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
289
293
  */
290
294
  name?: string | null;
295
+ /**
296
+ * Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources.
297
+ */
298
+ requestBodySendMode?: string | null;
299
+ /**
300
+ * Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`.
301
+ */
302
+ responseBodySendMode?: string | null;
291
303
  /**
292
304
  * Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project\}/regions/{region\}/backendServices/{backendService\}` or `https://www.googleapis.com/compute/v1/projects/{project\}/global/backendServices/{backendService\}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project\}/locations/{location\}/wasmPlugins/{plugin\}` or `//networkservices.googleapis.com/projects/{project\}/locations/{location\}/wasmPlugins/{wasmPlugin\}`. Plugin extensions are currently supported for the `LbTrafficExtension` and the `LbRouteExtension` resources.
293
305
  */
@@ -297,7 +309,7 @@ export namespace networkservices_v1beta1 {
297
309
  */
298
310
  supportedEvents?: string[] | null;
299
311
  /**
300
- * Optional. Specifies the timeout for each individual message on the stream. The timeout must be between `10`-`1000` milliseconds. Required for callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error.
312
+ * Optional. Specifies the timeout for each individual message on the stream. The timeout must be between `10`-`10000` milliseconds. Required for callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error.
301
313
  */
302
314
  timeout?: string | null;
303
315
  }
@@ -620,7 +632,7 @@ export namespace networkservices_v1beta1 {
620
632
  */
621
633
  export interface Schema$GrpcRouteStatefulSessionAffinityPolicy {
622
634
  /**
623
- * Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
635
+ * Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 0 to 86400 seconds (24 hours) inclusive. Set this to 0s to use a session cookie and disable cookie expiration.
624
636
  */
625
637
  cookieTtl?: string | null;
626
638
  }
@@ -1038,7 +1050,7 @@ export namespace networkservices_v1beta1 {
1038
1050
  */
1039
1051
  export interface Schema$HttpRouteStatefulSessionAffinityPolicy {
1040
1052
  /**
1041
- * Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
1053
+ * Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 0 to 86400 seconds (24 hours) inclusive. Set this to 0s to use a session cookie and disable cookie expiration.
1042
1054
  */
1043
1055
  cookieTtl?: string | null;
1044
1056
  }
@@ -1055,6 +1067,43 @@ export namespace networkservices_v1beta1 {
1055
1067
  */
1056
1068
  pathPrefixRewrite?: string | null;
1057
1069
  }
1070
+ /**
1071
+ * `LbEdgeExtension` is a resource that lets the extension service influence the Backend Service selection or Cloud CDN cache keys by modifying the request headers.
1072
+ */
1073
+ export interface Schema$LbEdgeExtension {
1074
+ /**
1075
+ * Output only. The timestamp when the resource was created.
1076
+ */
1077
+ createTime?: string | null;
1078
+ /**
1079
+ * Optional. A human-readable description of the resource.
1080
+ */
1081
+ description?: string | null;
1082
+ /**
1083
+ * Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
1084
+ */
1085
+ extensionChains?: Schema$ExtensionChain[];
1086
+ /**
1087
+ * Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be associated with a forwarding rule.
1088
+ */
1089
+ forwardingRules?: string[] | null;
1090
+ /**
1091
+ * Optional. Set of labels associated with the `LbEdgeExtension` resource. The format must comply with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google Cloud resources.
1092
+ */
1093
+ labels?: {[key: string]: string} | null;
1094
+ /**
1095
+ * Required. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `EXTERNAL_MANAGED`. For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).
1096
+ */
1097
+ loadBalancingScheme?: string | null;
1098
+ /**
1099
+ * Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
1100
+ */
1101
+ name?: string | null;
1102
+ /**
1103
+ * Output only. The timestamp when the resource was updated.
1104
+ */
1105
+ updateTime?: string | null;
1106
+ }
1058
1107
  /**
1059
1108
  * `LbRouteExtension` is a resource that lets you control where traffic is routed to for a given request.
1060
1109
  */
@@ -1072,7 +1121,7 @@ export namespace networkservices_v1beta1 {
1072
1121
  */
1073
1122
  extensionChains?: Schema$ExtensionChain[];
1074
1123
  /**
1075
- * Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. There can be only one `LbRouteExtension` resource per forwarding rule.
1124
+ * Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one `LbRouteExtension` resource can be associated with a forwarding rule.
1076
1125
  */
1077
1126
  forwardingRules?: string[] | null;
1078
1127
  /**
@@ -1084,7 +1133,7 @@ export namespace networkservices_v1beta1 {
1084
1133
  */
1085
1134
  loadBalancingScheme?: string | null;
1086
1135
  /**
1087
- * Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google.lb_route_extension.`. The following variables are supported in the metadata Struct: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name. This field is not supported for plugin extensions. Setting it results in a validation error.
1136
+ * Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata applies to all extensions in all extensions chains in this resource. The metadata is available under the key `com.google.lb_route_extension.`. The following variables are supported in the metadata: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name. This field must not be set if at least one of the extension chains contains plugin extensions. Setting it results in a validation error. You can set metadata at either the resource level or the extension level. The extension level metadata is recommended because you can pass a different set of metadata through each extension to the backend.
1088
1137
  */
1089
1138
  metadata?: {[key: string]: any} | null;
1090
1139
  /**
@@ -1113,7 +1162,7 @@ export namespace networkservices_v1beta1 {
1113
1162
  */
1114
1163
  extensionChains?: Schema$ExtensionChain[];
1115
1164
  /**
1116
- * Optional. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. There can be only one `LBTrafficExtension` resource per forwarding rule.
1165
+ * Optional. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one `LbTrafficExtension` resource can be associated with a forwarding rule.
1117
1166
  */
1118
1167
  forwardingRules?: string[] | null;
1119
1168
  /**
@@ -1125,7 +1174,7 @@ export namespace networkservices_v1beta1 {
1125
1174
  */
1126
1175
  loadBalancingScheme?: string | null;
1127
1176
  /**
1128
- * Optional. The metadata provided here is included in the `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata is available under the key `com.google.lb_traffic_extension.`. The following variables are supported in the metadata: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name. This field is not supported for plugin extensions. Setting it results in a validation error.
1177
+ * Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata applies to all extensions in all extensions chains in this resource. The metadata is available under the key `com.google.lb_traffic_extension.`. The following variables are supported in the metadata: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name. This field must not be set if at least one of the extension chains contains plugin extensions. Setting it results in a validation error. You can set metadata at either the resource level or the extension level. The extension level metadata is recommended because you can pass a different set of metadata through each extension to the backend.
1129
1178
  */
1130
1179
  metadata?: {[key: string]: any} | null;
1131
1180
  /**
@@ -1166,6 +1215,10 @@ export namespace networkservices_v1beta1 {
1166
1215
  * If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
1167
1216
  */
1168
1217
  nextPageToken?: string | null;
1218
+ /**
1219
+ * Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
1220
+ */
1221
+ unreachable?: string[] | null;
1169
1222
  }
1170
1223
  /**
1171
1224
  * Response returned by the ListGatewayRouteViews method.
@@ -1213,6 +1266,10 @@ export namespace networkservices_v1beta1 {
1213
1266
  * If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
1214
1267
  */
1215
1268
  nextPageToken?: string | null;
1269
+ /**
1270
+ * Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
1271
+ */
1272
+ unreachable?: string[] | null;
1216
1273
  }
1217
1274
  /**
1218
1275
  * Response returned by the ListHttpRoutes method.
@@ -1226,6 +1283,27 @@ export namespace networkservices_v1beta1 {
1226
1283
  * If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
1227
1284
  */
1228
1285
  nextPageToken?: string | null;
1286
+ /**
1287
+ * Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
1288
+ */
1289
+ unreachable?: string[] | null;
1290
+ }
1291
+ /**
1292
+ * Message for response to listing `LbEdgeExtension` resources.
1293
+ */
1294
+ export interface Schema$ListLbEdgeExtensionsResponse {
1295
+ /**
1296
+ * The list of `LbEdgeExtension` resources.
1297
+ */
1298
+ lbEdgeExtensions?: Schema$LbEdgeExtension[];
1299
+ /**
1300
+ * A token identifying a page of results that the server returns.
1301
+ */
1302
+ nextPageToken?: string | null;
1303
+ /**
1304
+ * Locations that could not be reached.
1305
+ */
1306
+ unreachable?: string[] | null;
1229
1307
  }
1230
1308
  /**
1231
1309
  * Message for response to listing `LbRouteExtension` resources.
@@ -1367,6 +1445,10 @@ export namespace networkservices_v1beta1 {
1367
1445
  * List of TcpRoute resources.
1368
1446
  */
1369
1447
  tcpRoutes?: Schema$TcpRoute[];
1448
+ /**
1449
+ * Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
1450
+ */
1451
+ unreachable?: string[] | null;
1370
1452
  }
1371
1453
  /**
1372
1454
  * Response returned by the ListTlsRoutes method.
@@ -1380,6 +1462,10 @@ export namespace networkservices_v1beta1 {
1380
1462
  * List of TlsRoute resources.
1381
1463
  */
1382
1464
  tlsRoutes?: Schema$TlsRoute[];
1465
+ /**
1466
+ * Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
1467
+ */
1468
+ unreachable?: string[] | null;
1383
1469
  }
1384
1470
  /**
1385
1471
  * Response returned by the `ListWasmPlugins` method.
@@ -1389,6 +1475,10 @@ export namespace networkservices_v1beta1 {
1389
1475
  * If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
1390
1476
  */
1391
1477
  nextPageToken?: string | null;
1478
+ /**
1479
+ * Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
1480
+ */
1481
+ unreachable?: string[] | null;
1392
1482
  /**
1393
1483
  * List of `WasmPlugin` resources.
1394
1484
  */
@@ -1402,6 +1492,10 @@ export namespace networkservices_v1beta1 {
1402
1492
  * If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
1403
1493
  */
1404
1494
  nextPageToken?: string | null;
1495
+ /**
1496
+ * Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
1497
+ */
1498
+ unreachable?: string[] | null;
1405
1499
  /**
1406
1500
  * List of `WasmPluginVersion` resources.
1407
1501
  */
@@ -1594,7 +1688,7 @@ export namespace networkservices_v1beta1 {
1594
1688
  cryptoKeyName?: string | null;
1595
1689
  }
1596
1690
  /**
1597
- * ServiceBinding can be used to: - Bind a Service Directory Service to be used in a BackendService resource. - Bind a Private Service Connect producer service to be used in consumer Cloud Service Mesh or Application Load Balancers.
1691
+ * ServiceBinding can be used to: - Bind a Service Directory Service to be used in a BackendService resource. This feature will be deprecated soon. - Bind a Private Service Connect producer service to be used in consumer Cloud Service Mesh or Application Load Balancers. - Bind a Cloud Run service to be used in consumer Cloud Service Mesh or Application Load Balancers.
1598
1692
  */
1599
1693
  export interface Schema$ServiceBinding {
1600
1694
  /**
@@ -1614,11 +1708,11 @@ export namespace networkservices_v1beta1 {
1614
1708
  */
1615
1709
  name?: string | null;
1616
1710
  /**
1617
- * Optional. The full Service Directory Service name of the format `projects/x/locations/x/namespaces/x/services/x`. This field must be set.
1711
+ * Optional. The full Service Directory Service name of the format `projects/x/locations/x/namespaces/x/services/x`. This field is for Service Directory integration which will be deprecated soon.
1618
1712
  */
1619
1713
  service?: string | null;
1620
1714
  /**
1621
- * Output only. The unique identifier of the Service Directory Service against which the ServiceBinding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format.
1715
+ * Output only. The unique identifier of the Service Directory Service against which the ServiceBinding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format. This field is for Service Directory integration which will be deprecated soon.
1622
1716
  */
1623
1717
  serviceId?: string | null;
1624
1718
  /**
@@ -1646,6 +1740,10 @@ export namespace networkservices_v1beta1 {
1646
1740
  * Optional. Configuration related to health based failover.
1647
1741
  */
1648
1742
  failoverConfig?: Schema$ServiceLbPolicyFailoverConfig;
1743
+ /**
1744
+ * Optional. Configuration to provide isolation support for the associated Backend Service.
1745
+ */
1746
+ isolationConfig?: Schema$ServiceLbPolicyIsolationConfig;
1649
1747
  /**
1650
1748
  * Optional. Set of label tags associated with the ServiceLbPolicy resource.
1651
1749
  */
@@ -1681,6 +1779,19 @@ export namespace networkservices_v1beta1 {
1681
1779
  */
1682
1780
  failoverHealthThreshold?: number | null;
1683
1781
  }
1782
+ /**
1783
+ * Configuration to provide isolation support for the associated Backend Service.
1784
+ */
1785
+ export interface Schema$ServiceLbPolicyIsolationConfig {
1786
+ /**
1787
+ * Optional. The isolation granularity of the load balancer.
1788
+ */
1789
+ isolationGranularity?: string | null;
1790
+ /**
1791
+ * Optional. The isolation mode of the load balancer.
1792
+ */
1793
+ isolationMode?: string | null;
1794
+ }
1684
1795
  /**
1685
1796
  * The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
1686
1797
  */
@@ -1858,7 +1969,7 @@ export namespace networkservices_v1beta1 {
1858
1969
  */
1859
1970
  serviceName?: string | null;
1860
1971
  /**
1861
- * Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
1972
+ * Optional. Specifies the proportion of requests forwarded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
1862
1973
  */
1863
1974
  weight?: number | null;
1864
1975
  }
@@ -2067,6 +2178,7 @@ export namespace networkservices_v1beta1 {
2067
2178
  gateways: Resource$Projects$Locations$Gateways;
2068
2179
  grpcRoutes: Resource$Projects$Locations$Grpcroutes;
2069
2180
  httpRoutes: Resource$Projects$Locations$Httproutes;
2181
+ lbEdgeExtensions: Resource$Projects$Locations$Lbedgeextensions;
2070
2182
  lbRouteExtensions: Resource$Projects$Locations$Lbrouteextensions;
2071
2183
  lbTrafficExtensions: Resource$Projects$Locations$Lbtrafficextensions;
2072
2184
  meshes: Resource$Projects$Locations$Meshes;
@@ -2091,6 +2203,9 @@ export namespace networkservices_v1beta1 {
2091
2203
  this.httpRoutes = new Resource$Projects$Locations$Httproutes(
2092
2204
  this.context
2093
2205
  );
2206
+ this.lbEdgeExtensions = new Resource$Projects$Locations$Lbedgeextensions(
2207
+ this.context
2208
+ );
2094
2209
  this.lbRouteExtensions =
2095
2210
  new Resource$Projects$Locations$Lbrouteextensions(this.context);
2096
2211
  this.lbTrafficExtensions =
@@ -2122,11 +2237,11 @@ export namespace networkservices_v1beta1 {
2122
2237
  get(
2123
2238
  params: Params$Resource$Projects$Locations$Get,
2124
2239
  options: StreamMethodOptions
2125
- ): GaxiosPromise<Readable>;
2240
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2126
2241
  get(
2127
2242
  params?: Params$Resource$Projects$Locations$Get,
2128
2243
  options?: MethodOptions
2129
- ): GaxiosPromise<Schema$Location>;
2244
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Location>>;
2130
2245
  get(
2131
2246
  params: Params$Resource$Projects$Locations$Get,
2132
2247
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2155,7 +2270,10 @@ export namespace networkservices_v1beta1 {
2155
2270
  callback?:
2156
2271
  | BodyResponseCallback<Schema$Location>
2157
2272
  | BodyResponseCallback<Readable>
2158
- ): void | GaxiosPromise<Schema$Location> | GaxiosPromise<Readable> {
2273
+ ):
2274
+ | void
2275
+ | Promise<GaxiosResponseWithHTTP2<Schema$Location>>
2276
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2159
2277
  let params = (paramsOrCallback ||
2160
2278
  {}) as Params$Resource$Projects$Locations$Get;
2161
2279
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2208,11 +2326,11 @@ export namespace networkservices_v1beta1 {
2208
2326
  list(
2209
2327
  params: Params$Resource$Projects$Locations$List,
2210
2328
  options: StreamMethodOptions
2211
- ): GaxiosPromise<Readable>;
2329
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2212
2330
  list(
2213
2331
  params?: Params$Resource$Projects$Locations$List,
2214
2332
  options?: MethodOptions
2215
- ): GaxiosPromise<Schema$ListLocationsResponse>;
2333
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListLocationsResponse>>;
2216
2334
  list(
2217
2335
  params: Params$Resource$Projects$Locations$List,
2218
2336
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2245,8 +2363,8 @@ export namespace networkservices_v1beta1 {
2245
2363
  | BodyResponseCallback<Readable>
2246
2364
  ):
2247
2365
  | void
2248
- | GaxiosPromise<Schema$ListLocationsResponse>
2249
- | GaxiosPromise<Readable> {
2366
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListLocationsResponse>>
2367
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2250
2368
  let params = (paramsOrCallback ||
2251
2369
  {}) as Params$Resource$Projects$Locations$List;
2252
2370
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2301,6 +2419,10 @@ export namespace networkservices_v1beta1 {
2301
2419
  }
2302
2420
  export interface Params$Resource$Projects$Locations$List
2303
2421
  extends StandardParameters {
2422
+ /**
2423
+ * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2424
+ */
2425
+ extraLocationTypes?: string[];
2304
2426
  /**
2305
2427
  * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
2306
2428
  */
@@ -2336,11 +2458,11 @@ export namespace networkservices_v1beta1 {
2336
2458
  create(
2337
2459
  params: Params$Resource$Projects$Locations$Authzextensions$Create,
2338
2460
  options: StreamMethodOptions
2339
- ): GaxiosPromise<Readable>;
2461
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2340
2462
  create(
2341
2463
  params?: Params$Resource$Projects$Locations$Authzextensions$Create,
2342
2464
  options?: MethodOptions
2343
- ): GaxiosPromise<Schema$Operation>;
2465
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2344
2466
  create(
2345
2467
  params: Params$Resource$Projects$Locations$Authzextensions$Create,
2346
2468
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2369,7 +2491,10 @@ export namespace networkservices_v1beta1 {
2369
2491
  callback?:
2370
2492
  | BodyResponseCallback<Schema$Operation>
2371
2493
  | BodyResponseCallback<Readable>
2372
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
2494
+ ):
2495
+ | void
2496
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
2497
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2373
2498
  let params = (paramsOrCallback ||
2374
2499
  {}) as Params$Resource$Projects$Locations$Authzextensions$Create;
2375
2500
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2426,11 +2551,11 @@ export namespace networkservices_v1beta1 {
2426
2551
  delete(
2427
2552
  params: Params$Resource$Projects$Locations$Authzextensions$Delete,
2428
2553
  options: StreamMethodOptions
2429
- ): GaxiosPromise<Readable>;
2554
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2430
2555
  delete(
2431
2556
  params?: Params$Resource$Projects$Locations$Authzextensions$Delete,
2432
2557
  options?: MethodOptions
2433
- ): GaxiosPromise<Schema$Operation>;
2558
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2434
2559
  delete(
2435
2560
  params: Params$Resource$Projects$Locations$Authzextensions$Delete,
2436
2561
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2459,7 +2584,10 @@ export namespace networkservices_v1beta1 {
2459
2584
  callback?:
2460
2585
  | BodyResponseCallback<Schema$Operation>
2461
2586
  | BodyResponseCallback<Readable>
2462
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
2587
+ ):
2588
+ | void
2589
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
2590
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2463
2591
  let params = (paramsOrCallback ||
2464
2592
  {}) as Params$Resource$Projects$Locations$Authzextensions$Delete;
2465
2593
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2513,11 +2641,11 @@ export namespace networkservices_v1beta1 {
2513
2641
  get(
2514
2642
  params: Params$Resource$Projects$Locations$Authzextensions$Get,
2515
2643
  options: StreamMethodOptions
2516
- ): GaxiosPromise<Readable>;
2644
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2517
2645
  get(
2518
2646
  params?: Params$Resource$Projects$Locations$Authzextensions$Get,
2519
2647
  options?: MethodOptions
2520
- ): GaxiosPromise<Schema$AuthzExtension>;
2648
+ ): Promise<GaxiosResponseWithHTTP2<Schema$AuthzExtension>>;
2521
2649
  get(
2522
2650
  params: Params$Resource$Projects$Locations$Authzextensions$Get,
2523
2651
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2546,7 +2674,10 @@ export namespace networkservices_v1beta1 {
2546
2674
  callback?:
2547
2675
  | BodyResponseCallback<Schema$AuthzExtension>
2548
2676
  | BodyResponseCallback<Readable>
2549
- ): void | GaxiosPromise<Schema$AuthzExtension> | GaxiosPromise<Readable> {
2677
+ ):
2678
+ | void
2679
+ | Promise<GaxiosResponseWithHTTP2<Schema$AuthzExtension>>
2680
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2550
2681
  let params = (paramsOrCallback ||
2551
2682
  {}) as Params$Resource$Projects$Locations$Authzextensions$Get;
2552
2683
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2599,11 +2730,11 @@ export namespace networkservices_v1beta1 {
2599
2730
  list(
2600
2731
  params: Params$Resource$Projects$Locations$Authzextensions$List,
2601
2732
  options: StreamMethodOptions
2602
- ): GaxiosPromise<Readable>;
2733
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2603
2734
  list(
2604
2735
  params?: Params$Resource$Projects$Locations$Authzextensions$List,
2605
2736
  options?: MethodOptions
2606
- ): GaxiosPromise<Schema$ListAuthzExtensionsResponse>;
2737
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListAuthzExtensionsResponse>>;
2607
2738
  list(
2608
2739
  params: Params$Resource$Projects$Locations$Authzextensions$List,
2609
2740
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2638,8 +2769,8 @@ export namespace networkservices_v1beta1 {
2638
2769
  | BodyResponseCallback<Readable>
2639
2770
  ):
2640
2771
  | void
2641
- | GaxiosPromise<Schema$ListAuthzExtensionsResponse>
2642
- | GaxiosPromise<Readable> {
2772
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListAuthzExtensionsResponse>>
2773
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2643
2774
  let params = (paramsOrCallback ||
2644
2775
  {}) as Params$Resource$Projects$Locations$Authzextensions$List;
2645
2776
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2695,11 +2826,11 @@ export namespace networkservices_v1beta1 {
2695
2826
  patch(
2696
2827
  params: Params$Resource$Projects$Locations$Authzextensions$Patch,
2697
2828
  options: StreamMethodOptions
2698
- ): GaxiosPromise<Readable>;
2829
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2699
2830
  patch(
2700
2831
  params?: Params$Resource$Projects$Locations$Authzextensions$Patch,
2701
2832
  options?: MethodOptions
2702
- ): GaxiosPromise<Schema$Operation>;
2833
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2703
2834
  patch(
2704
2835
  params: Params$Resource$Projects$Locations$Authzextensions$Patch,
2705
2836
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2728,7 +2859,10 @@ export namespace networkservices_v1beta1 {
2728
2859
  callback?:
2729
2860
  | BodyResponseCallback<Schema$Operation>
2730
2861
  | BodyResponseCallback<Readable>
2731
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
2862
+ ):
2863
+ | void
2864
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
2865
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2732
2866
  let params = (paramsOrCallback ||
2733
2867
  {}) as Params$Resource$Projects$Locations$Authzextensions$Patch;
2734
2868
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2870,11 +3004,11 @@ export namespace networkservices_v1beta1 {
2870
3004
  create(
2871
3005
  params: Params$Resource$Projects$Locations$Endpointpolicies$Create,
2872
3006
  options: StreamMethodOptions
2873
- ): GaxiosPromise<Readable>;
3007
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2874
3008
  create(
2875
3009
  params?: Params$Resource$Projects$Locations$Endpointpolicies$Create,
2876
3010
  options?: MethodOptions
2877
- ): GaxiosPromise<Schema$Operation>;
3011
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2878
3012
  create(
2879
3013
  params: Params$Resource$Projects$Locations$Endpointpolicies$Create,
2880
3014
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2903,7 +3037,10 @@ export namespace networkservices_v1beta1 {
2903
3037
  callback?:
2904
3038
  | BodyResponseCallback<Schema$Operation>
2905
3039
  | BodyResponseCallback<Readable>
2906
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3040
+ ):
3041
+ | void
3042
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3043
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2907
3044
  let params = (paramsOrCallback ||
2908
3045
  {}) as Params$Resource$Projects$Locations$Endpointpolicies$Create;
2909
3046
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2960,11 +3097,11 @@ export namespace networkservices_v1beta1 {
2960
3097
  delete(
2961
3098
  params: Params$Resource$Projects$Locations$Endpointpolicies$Delete,
2962
3099
  options: StreamMethodOptions
2963
- ): GaxiosPromise<Readable>;
3100
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2964
3101
  delete(
2965
3102
  params?: Params$Resource$Projects$Locations$Endpointpolicies$Delete,
2966
3103
  options?: MethodOptions
2967
- ): GaxiosPromise<Schema$Operation>;
3104
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2968
3105
  delete(
2969
3106
  params: Params$Resource$Projects$Locations$Endpointpolicies$Delete,
2970
3107
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2993,7 +3130,10 @@ export namespace networkservices_v1beta1 {
2993
3130
  callback?:
2994
3131
  | BodyResponseCallback<Schema$Operation>
2995
3132
  | BodyResponseCallback<Readable>
2996
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3133
+ ):
3134
+ | void
3135
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3136
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2997
3137
  let params = (paramsOrCallback ||
2998
3138
  {}) as Params$Resource$Projects$Locations$Endpointpolicies$Delete;
2999
3139
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3047,11 +3187,11 @@ export namespace networkservices_v1beta1 {
3047
3187
  get(
3048
3188
  params: Params$Resource$Projects$Locations$Endpointpolicies$Get,
3049
3189
  options: StreamMethodOptions
3050
- ): GaxiosPromise<Readable>;
3190
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3051
3191
  get(
3052
3192
  params?: Params$Resource$Projects$Locations$Endpointpolicies$Get,
3053
3193
  options?: MethodOptions
3054
- ): GaxiosPromise<Schema$EndpointPolicy>;
3194
+ ): Promise<GaxiosResponseWithHTTP2<Schema$EndpointPolicy>>;
3055
3195
  get(
3056
3196
  params: Params$Resource$Projects$Locations$Endpointpolicies$Get,
3057
3197
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3080,7 +3220,10 @@ export namespace networkservices_v1beta1 {
3080
3220
  callback?:
3081
3221
  | BodyResponseCallback<Schema$EndpointPolicy>
3082
3222
  | BodyResponseCallback<Readable>
3083
- ): void | GaxiosPromise<Schema$EndpointPolicy> | GaxiosPromise<Readable> {
3223
+ ):
3224
+ | void
3225
+ | Promise<GaxiosResponseWithHTTP2<Schema$EndpointPolicy>>
3226
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3084
3227
  let params = (paramsOrCallback ||
3085
3228
  {}) as Params$Resource$Projects$Locations$Endpointpolicies$Get;
3086
3229
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3133,11 +3276,11 @@ export namespace networkservices_v1beta1 {
3133
3276
  list(
3134
3277
  params: Params$Resource$Projects$Locations$Endpointpolicies$List,
3135
3278
  options: StreamMethodOptions
3136
- ): GaxiosPromise<Readable>;
3279
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3137
3280
  list(
3138
3281
  params?: Params$Resource$Projects$Locations$Endpointpolicies$List,
3139
3282
  options?: MethodOptions
3140
- ): GaxiosPromise<Schema$ListEndpointPoliciesResponse>;
3283
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListEndpointPoliciesResponse>>;
3141
3284
  list(
3142
3285
  params: Params$Resource$Projects$Locations$Endpointpolicies$List,
3143
3286
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3172,8 +3315,8 @@ export namespace networkservices_v1beta1 {
3172
3315
  | BodyResponseCallback<Readable>
3173
3316
  ):
3174
3317
  | void
3175
- | GaxiosPromise<Schema$ListEndpointPoliciesResponse>
3176
- | GaxiosPromise<Readable> {
3318
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListEndpointPoliciesResponse>>
3319
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3177
3320
  let params = (paramsOrCallback ||
3178
3321
  {}) as Params$Resource$Projects$Locations$Endpointpolicies$List;
3179
3322
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3231,11 +3374,11 @@ export namespace networkservices_v1beta1 {
3231
3374
  patch(
3232
3375
  params: Params$Resource$Projects$Locations$Endpointpolicies$Patch,
3233
3376
  options: StreamMethodOptions
3234
- ): GaxiosPromise<Readable>;
3377
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3235
3378
  patch(
3236
3379
  params?: Params$Resource$Projects$Locations$Endpointpolicies$Patch,
3237
3380
  options?: MethodOptions
3238
- ): GaxiosPromise<Schema$Operation>;
3381
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3239
3382
  patch(
3240
3383
  params: Params$Resource$Projects$Locations$Endpointpolicies$Patch,
3241
3384
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3264,7 +3407,10 @@ export namespace networkservices_v1beta1 {
3264
3407
  callback?:
3265
3408
  | BodyResponseCallback<Schema$Operation>
3266
3409
  | BodyResponseCallback<Readable>
3267
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3410
+ ):
3411
+ | void
3412
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3413
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3268
3414
  let params = (paramsOrCallback ||
3269
3415
  {}) as Params$Resource$Projects$Locations$Endpointpolicies$Patch;
3270
3416
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3352,6 +3498,10 @@ export namespace networkservices_v1beta1 {
3352
3498
  * Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/x/locations/global`.
3353
3499
  */
3354
3500
  parent?: string;
3501
+ /**
3502
+ * Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
3503
+ */
3504
+ returnPartialSuccess?: boolean;
3355
3505
  }
3356
3506
  export interface Params$Resource$Projects$Locations$Endpointpolicies$Patch
3357
3507
  extends StandardParameters {
@@ -3391,11 +3541,11 @@ export namespace networkservices_v1beta1 {
3391
3541
  create(
3392
3542
  params: Params$Resource$Projects$Locations$Gateways$Create,
3393
3543
  options: StreamMethodOptions
3394
- ): GaxiosPromise<Readable>;
3544
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3395
3545
  create(
3396
3546
  params?: Params$Resource$Projects$Locations$Gateways$Create,
3397
3547
  options?: MethodOptions
3398
- ): GaxiosPromise<Schema$Operation>;
3548
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3399
3549
  create(
3400
3550
  params: Params$Resource$Projects$Locations$Gateways$Create,
3401
3551
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3424,7 +3574,10 @@ export namespace networkservices_v1beta1 {
3424
3574
  callback?:
3425
3575
  | BodyResponseCallback<Schema$Operation>
3426
3576
  | BodyResponseCallback<Readable>
3427
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3577
+ ):
3578
+ | void
3579
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3580
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3428
3581
  let params = (paramsOrCallback ||
3429
3582
  {}) as Params$Resource$Projects$Locations$Gateways$Create;
3430
3583
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3480,11 +3633,11 @@ export namespace networkservices_v1beta1 {
3480
3633
  delete(
3481
3634
  params: Params$Resource$Projects$Locations$Gateways$Delete,
3482
3635
  options: StreamMethodOptions
3483
- ): GaxiosPromise<Readable>;
3636
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3484
3637
  delete(
3485
3638
  params?: Params$Resource$Projects$Locations$Gateways$Delete,
3486
3639
  options?: MethodOptions
3487
- ): GaxiosPromise<Schema$Operation>;
3640
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3488
3641
  delete(
3489
3642
  params: Params$Resource$Projects$Locations$Gateways$Delete,
3490
3643
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3513,7 +3666,10 @@ export namespace networkservices_v1beta1 {
3513
3666
  callback?:
3514
3667
  | BodyResponseCallback<Schema$Operation>
3515
3668
  | BodyResponseCallback<Readable>
3516
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3669
+ ):
3670
+ | void
3671
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3672
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3517
3673
  let params = (paramsOrCallback ||
3518
3674
  {}) as Params$Resource$Projects$Locations$Gateways$Delete;
3519
3675
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3566,11 +3722,11 @@ export namespace networkservices_v1beta1 {
3566
3722
  get(
3567
3723
  params: Params$Resource$Projects$Locations$Gateways$Get,
3568
3724
  options: StreamMethodOptions
3569
- ): GaxiosPromise<Readable>;
3725
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3570
3726
  get(
3571
3727
  params?: Params$Resource$Projects$Locations$Gateways$Get,
3572
3728
  options?: MethodOptions
3573
- ): GaxiosPromise<Schema$Gateway>;
3729
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Gateway>>;
3574
3730
  get(
3575
3731
  params: Params$Resource$Projects$Locations$Gateways$Get,
3576
3732
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3599,7 +3755,10 @@ export namespace networkservices_v1beta1 {
3599
3755
  callback?:
3600
3756
  | BodyResponseCallback<Schema$Gateway>
3601
3757
  | BodyResponseCallback<Readable>
3602
- ): void | GaxiosPromise<Schema$Gateway> | GaxiosPromise<Readable> {
3758
+ ):
3759
+ | void
3760
+ | Promise<GaxiosResponseWithHTTP2<Schema$Gateway>>
3761
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3603
3762
  let params = (paramsOrCallback ||
3604
3763
  {}) as Params$Resource$Projects$Locations$Gateways$Get;
3605
3764
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3652,11 +3811,11 @@ export namespace networkservices_v1beta1 {
3652
3811
  list(
3653
3812
  params: Params$Resource$Projects$Locations$Gateways$List,
3654
3813
  options: StreamMethodOptions
3655
- ): GaxiosPromise<Readable>;
3814
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3656
3815
  list(
3657
3816
  params?: Params$Resource$Projects$Locations$Gateways$List,
3658
3817
  options?: MethodOptions
3659
- ): GaxiosPromise<Schema$ListGatewaysResponse>;
3818
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListGatewaysResponse>>;
3660
3819
  list(
3661
3820
  params: Params$Resource$Projects$Locations$Gateways$List,
3662
3821
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3689,8 +3848,8 @@ export namespace networkservices_v1beta1 {
3689
3848
  | BodyResponseCallback<Readable>
3690
3849
  ):
3691
3850
  | void
3692
- | GaxiosPromise<Schema$ListGatewaysResponse>
3693
- | GaxiosPromise<Readable> {
3851
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListGatewaysResponse>>
3852
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3694
3853
  let params = (paramsOrCallback ||
3695
3854
  {}) as Params$Resource$Projects$Locations$Gateways$List;
3696
3855
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3746,11 +3905,11 @@ export namespace networkservices_v1beta1 {
3746
3905
  patch(
3747
3906
  params: Params$Resource$Projects$Locations$Gateways$Patch,
3748
3907
  options: StreamMethodOptions
3749
- ): GaxiosPromise<Readable>;
3908
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3750
3909
  patch(
3751
3910
  params?: Params$Resource$Projects$Locations$Gateways$Patch,
3752
3911
  options?: MethodOptions
3753
- ): GaxiosPromise<Schema$Operation>;
3912
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3754
3913
  patch(
3755
3914
  params: Params$Resource$Projects$Locations$Gateways$Patch,
3756
3915
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3779,7 +3938,10 @@ export namespace networkservices_v1beta1 {
3779
3938
  callback?:
3780
3939
  | BodyResponseCallback<Schema$Operation>
3781
3940
  | BodyResponseCallback<Readable>
3782
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3941
+ ):
3942
+ | void
3943
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3944
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3783
3945
  let params = (paramsOrCallback ||
3784
3946
  {}) as Params$Resource$Projects$Locations$Gateways$Patch;
3785
3947
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3901,11 +4063,11 @@ export namespace networkservices_v1beta1 {
3901
4063
  get(
3902
4064
  params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get,
3903
4065
  options: StreamMethodOptions
3904
- ): GaxiosPromise<Readable>;
4066
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3905
4067
  get(
3906
4068
  params?: Params$Resource$Projects$Locations$Gateways$Routeviews$Get,
3907
4069
  options?: MethodOptions
3908
- ): GaxiosPromise<Schema$GatewayRouteView>;
4070
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GatewayRouteView>>;
3909
4071
  get(
3910
4072
  params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get,
3911
4073
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3934,7 +4096,10 @@ export namespace networkservices_v1beta1 {
3934
4096
  callback?:
3935
4097
  | BodyResponseCallback<Schema$GatewayRouteView>
3936
4098
  | BodyResponseCallback<Readable>
3937
- ): void | GaxiosPromise<Schema$GatewayRouteView> | GaxiosPromise<Readable> {
4099
+ ):
4100
+ | void
4101
+ | Promise<GaxiosResponseWithHTTP2<Schema$GatewayRouteView>>
4102
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3938
4103
  let params = (paramsOrCallback ||
3939
4104
  {}) as Params$Resource$Projects$Locations$Gateways$Routeviews$Get;
3940
4105
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3988,11 +4153,11 @@ export namespace networkservices_v1beta1 {
3988
4153
  list(
3989
4154
  params: Params$Resource$Projects$Locations$Gateways$Routeviews$List,
3990
4155
  options: StreamMethodOptions
3991
- ): GaxiosPromise<Readable>;
4156
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3992
4157
  list(
3993
4158
  params?: Params$Resource$Projects$Locations$Gateways$Routeviews$List,
3994
4159
  options?: MethodOptions
3995
- ): GaxiosPromise<Schema$ListGatewayRouteViewsResponse>;
4160
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListGatewayRouteViewsResponse>>;
3996
4161
  list(
3997
4162
  params: Params$Resource$Projects$Locations$Gateways$Routeviews$List,
3998
4163
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4027,8 +4192,8 @@ export namespace networkservices_v1beta1 {
4027
4192
  | BodyResponseCallback<Readable>
4028
4193
  ):
4029
4194
  | void
4030
- | GaxiosPromise<Schema$ListGatewayRouteViewsResponse>
4031
- | GaxiosPromise<Readable> {
4195
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListGatewayRouteViewsResponse>>
4196
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4032
4197
  let params = (paramsOrCallback ||
4033
4198
  {}) as Params$Resource$Projects$Locations$Gateways$Routeviews$List;
4034
4199
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4117,11 +4282,11 @@ export namespace networkservices_v1beta1 {
4117
4282
  create(
4118
4283
  params: Params$Resource$Projects$Locations$Grpcroutes$Create,
4119
4284
  options: StreamMethodOptions
4120
- ): GaxiosPromise<Readable>;
4285
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4121
4286
  create(
4122
4287
  params?: Params$Resource$Projects$Locations$Grpcroutes$Create,
4123
4288
  options?: MethodOptions
4124
- ): GaxiosPromise<Schema$Operation>;
4289
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4125
4290
  create(
4126
4291
  params: Params$Resource$Projects$Locations$Grpcroutes$Create,
4127
4292
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4150,7 +4315,10 @@ export namespace networkservices_v1beta1 {
4150
4315
  callback?:
4151
4316
  | BodyResponseCallback<Schema$Operation>
4152
4317
  | BodyResponseCallback<Readable>
4153
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4318
+ ):
4319
+ | void
4320
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4321
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4154
4322
  let params = (paramsOrCallback ||
4155
4323
  {}) as Params$Resource$Projects$Locations$Grpcroutes$Create;
4156
4324
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4206,11 +4374,11 @@ export namespace networkservices_v1beta1 {
4206
4374
  delete(
4207
4375
  params: Params$Resource$Projects$Locations$Grpcroutes$Delete,
4208
4376
  options: StreamMethodOptions
4209
- ): GaxiosPromise<Readable>;
4377
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4210
4378
  delete(
4211
4379
  params?: Params$Resource$Projects$Locations$Grpcroutes$Delete,
4212
4380
  options?: MethodOptions
4213
- ): GaxiosPromise<Schema$Operation>;
4381
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4214
4382
  delete(
4215
4383
  params: Params$Resource$Projects$Locations$Grpcroutes$Delete,
4216
4384
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4239,7 +4407,10 @@ export namespace networkservices_v1beta1 {
4239
4407
  callback?:
4240
4408
  | BodyResponseCallback<Schema$Operation>
4241
4409
  | BodyResponseCallback<Readable>
4242
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4410
+ ):
4411
+ | void
4412
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4413
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4243
4414
  let params = (paramsOrCallback ||
4244
4415
  {}) as Params$Resource$Projects$Locations$Grpcroutes$Delete;
4245
4416
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4292,11 +4463,11 @@ export namespace networkservices_v1beta1 {
4292
4463
  get(
4293
4464
  params: Params$Resource$Projects$Locations$Grpcroutes$Get,
4294
4465
  options: StreamMethodOptions
4295
- ): GaxiosPromise<Readable>;
4466
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4296
4467
  get(
4297
4468
  params?: Params$Resource$Projects$Locations$Grpcroutes$Get,
4298
4469
  options?: MethodOptions
4299
- ): GaxiosPromise<Schema$GrpcRoute>;
4470
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GrpcRoute>>;
4300
4471
  get(
4301
4472
  params: Params$Resource$Projects$Locations$Grpcroutes$Get,
4302
4473
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4325,7 +4496,10 @@ export namespace networkservices_v1beta1 {
4325
4496
  callback?:
4326
4497
  | BodyResponseCallback<Schema$GrpcRoute>
4327
4498
  | BodyResponseCallback<Readable>
4328
- ): void | GaxiosPromise<Schema$GrpcRoute> | GaxiosPromise<Readable> {
4499
+ ):
4500
+ | void
4501
+ | Promise<GaxiosResponseWithHTTP2<Schema$GrpcRoute>>
4502
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4329
4503
  let params = (paramsOrCallback ||
4330
4504
  {}) as Params$Resource$Projects$Locations$Grpcroutes$Get;
4331
4505
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4378,11 +4552,11 @@ export namespace networkservices_v1beta1 {
4378
4552
  list(
4379
4553
  params: Params$Resource$Projects$Locations$Grpcroutes$List,
4380
4554
  options: StreamMethodOptions
4381
- ): GaxiosPromise<Readable>;
4555
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4382
4556
  list(
4383
4557
  params?: Params$Resource$Projects$Locations$Grpcroutes$List,
4384
4558
  options?: MethodOptions
4385
- ): GaxiosPromise<Schema$ListGrpcRoutesResponse>;
4559
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListGrpcRoutesResponse>>;
4386
4560
  list(
4387
4561
  params: Params$Resource$Projects$Locations$Grpcroutes$List,
4388
4562
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4415,8 +4589,8 @@ export namespace networkservices_v1beta1 {
4415
4589
  | BodyResponseCallback<Readable>
4416
4590
  ):
4417
4591
  | void
4418
- | GaxiosPromise<Schema$ListGrpcRoutesResponse>
4419
- | GaxiosPromise<Readable> {
4592
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListGrpcRoutesResponse>>
4593
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4420
4594
  let params = (paramsOrCallback ||
4421
4595
  {}) as Params$Resource$Projects$Locations$Grpcroutes$List;
4422
4596
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4472,11 +4646,11 @@ export namespace networkservices_v1beta1 {
4472
4646
  patch(
4473
4647
  params: Params$Resource$Projects$Locations$Grpcroutes$Patch,
4474
4648
  options: StreamMethodOptions
4475
- ): GaxiosPromise<Readable>;
4649
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4476
4650
  patch(
4477
4651
  params?: Params$Resource$Projects$Locations$Grpcroutes$Patch,
4478
4652
  options?: MethodOptions
4479
- ): GaxiosPromise<Schema$Operation>;
4653
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4480
4654
  patch(
4481
4655
  params: Params$Resource$Projects$Locations$Grpcroutes$Patch,
4482
4656
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4505,7 +4679,10 @@ export namespace networkservices_v1beta1 {
4505
4679
  callback?:
4506
4680
  | BodyResponseCallback<Schema$Operation>
4507
4681
  | BodyResponseCallback<Readable>
4508
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4682
+ ):
4683
+ | void
4684
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4685
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4509
4686
  let params = (paramsOrCallback ||
4510
4687
  {}) as Params$Resource$Projects$Locations$Grpcroutes$Patch;
4511
4688
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4592,6 +4769,10 @@ export namespace networkservices_v1beta1 {
4592
4769
  * Required. The project and location from which the GrpcRoutes should be listed, specified in the format `projects/x/locations/global`.
4593
4770
  */
4594
4771
  parent?: string;
4772
+ /**
4773
+ * Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
4774
+ */
4775
+ returnPartialSuccess?: boolean;
4595
4776
  }
4596
4777
  export interface Params$Resource$Projects$Locations$Grpcroutes$Patch
4597
4778
  extends StandardParameters {
@@ -4627,11 +4808,11 @@ export namespace networkservices_v1beta1 {
4627
4808
  create(
4628
4809
  params: Params$Resource$Projects$Locations$Httproutes$Create,
4629
4810
  options: StreamMethodOptions
4630
- ): GaxiosPromise<Readable>;
4811
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4631
4812
  create(
4632
4813
  params?: Params$Resource$Projects$Locations$Httproutes$Create,
4633
4814
  options?: MethodOptions
4634
- ): GaxiosPromise<Schema$Operation>;
4815
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4635
4816
  create(
4636
4817
  params: Params$Resource$Projects$Locations$Httproutes$Create,
4637
4818
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4660,7 +4841,10 @@ export namespace networkservices_v1beta1 {
4660
4841
  callback?:
4661
4842
  | BodyResponseCallback<Schema$Operation>
4662
4843
  | BodyResponseCallback<Readable>
4663
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4844
+ ):
4845
+ | void
4846
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4847
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4664
4848
  let params = (paramsOrCallback ||
4665
4849
  {}) as Params$Resource$Projects$Locations$Httproutes$Create;
4666
4850
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4716,11 +4900,11 @@ export namespace networkservices_v1beta1 {
4716
4900
  delete(
4717
4901
  params: Params$Resource$Projects$Locations$Httproutes$Delete,
4718
4902
  options: StreamMethodOptions
4719
- ): GaxiosPromise<Readable>;
4903
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4720
4904
  delete(
4721
4905
  params?: Params$Resource$Projects$Locations$Httproutes$Delete,
4722
4906
  options?: MethodOptions
4723
- ): GaxiosPromise<Schema$Operation>;
4907
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4724
4908
  delete(
4725
4909
  params: Params$Resource$Projects$Locations$Httproutes$Delete,
4726
4910
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4749,7 +4933,10 @@ export namespace networkservices_v1beta1 {
4749
4933
  callback?:
4750
4934
  | BodyResponseCallback<Schema$Operation>
4751
4935
  | BodyResponseCallback<Readable>
4752
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
4936
+ ):
4937
+ | void
4938
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
4939
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4753
4940
  let params = (paramsOrCallback ||
4754
4941
  {}) as Params$Resource$Projects$Locations$Httproutes$Delete;
4755
4942
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4802,11 +4989,11 @@ export namespace networkservices_v1beta1 {
4802
4989
  get(
4803
4990
  params: Params$Resource$Projects$Locations$Httproutes$Get,
4804
4991
  options: StreamMethodOptions
4805
- ): GaxiosPromise<Readable>;
4992
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4806
4993
  get(
4807
4994
  params?: Params$Resource$Projects$Locations$Httproutes$Get,
4808
4995
  options?: MethodOptions
4809
- ): GaxiosPromise<Schema$HttpRoute>;
4996
+ ): Promise<GaxiosResponseWithHTTP2<Schema$HttpRoute>>;
4810
4997
  get(
4811
4998
  params: Params$Resource$Projects$Locations$Httproutes$Get,
4812
4999
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4835,7 +5022,10 @@ export namespace networkservices_v1beta1 {
4835
5022
  callback?:
4836
5023
  | BodyResponseCallback<Schema$HttpRoute>
4837
5024
  | BodyResponseCallback<Readable>
4838
- ): void | GaxiosPromise<Schema$HttpRoute> | GaxiosPromise<Readable> {
5025
+ ):
5026
+ | void
5027
+ | Promise<GaxiosResponseWithHTTP2<Schema$HttpRoute>>
5028
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4839
5029
  let params = (paramsOrCallback ||
4840
5030
  {}) as Params$Resource$Projects$Locations$Httproutes$Get;
4841
5031
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4888,11 +5078,11 @@ export namespace networkservices_v1beta1 {
4888
5078
  list(
4889
5079
  params: Params$Resource$Projects$Locations$Httproutes$List,
4890
5080
  options: StreamMethodOptions
4891
- ): GaxiosPromise<Readable>;
5081
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4892
5082
  list(
4893
5083
  params?: Params$Resource$Projects$Locations$Httproutes$List,
4894
5084
  options?: MethodOptions
4895
- ): GaxiosPromise<Schema$ListHttpRoutesResponse>;
5085
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListHttpRoutesResponse>>;
4896
5086
  list(
4897
5087
  params: Params$Resource$Projects$Locations$Httproutes$List,
4898
5088
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -4925,8 +5115,8 @@ export namespace networkservices_v1beta1 {
4925
5115
  | BodyResponseCallback<Readable>
4926
5116
  ):
4927
5117
  | void
4928
- | GaxiosPromise<Schema$ListHttpRoutesResponse>
4929
- | GaxiosPromise<Readable> {
5118
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListHttpRoutesResponse>>
5119
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4930
5120
  let params = (paramsOrCallback ||
4931
5121
  {}) as Params$Resource$Projects$Locations$Httproutes$List;
4932
5122
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -4982,11 +5172,11 @@ export namespace networkservices_v1beta1 {
4982
5172
  patch(
4983
5173
  params: Params$Resource$Projects$Locations$Httproutes$Patch,
4984
5174
  options: StreamMethodOptions
4985
- ): GaxiosPromise<Readable>;
5175
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4986
5176
  patch(
4987
5177
  params?: Params$Resource$Projects$Locations$Httproutes$Patch,
4988
5178
  options?: MethodOptions
4989
- ): GaxiosPromise<Schema$Operation>;
5179
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4990
5180
  patch(
4991
5181
  params: Params$Resource$Projects$Locations$Httproutes$Patch,
4992
5182
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5015,7 +5205,10 @@ export namespace networkservices_v1beta1 {
5015
5205
  callback?:
5016
5206
  | BodyResponseCallback<Schema$Operation>
5017
5207
  | BodyResponseCallback<Readable>
5018
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
5208
+ ):
5209
+ | void
5210
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
5211
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5019
5212
  let params = (paramsOrCallback ||
5020
5213
  {}) as Params$Resource$Projects$Locations$Httproutes$Patch;
5021
5214
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5102,6 +5295,10 @@ export namespace networkservices_v1beta1 {
5102
5295
  * Required. The project and location from which the HttpRoutes should be listed, specified in the format `projects/x/locations/global`.
5103
5296
  */
5104
5297
  parent?: string;
5298
+ /**
5299
+ * Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
5300
+ */
5301
+ returnPartialSuccess?: boolean;
5105
5302
  }
5106
5303
  export interface Params$Resource$Projects$Locations$Httproutes$Patch
5107
5304
  extends StandardParameters {
@@ -5120,14 +5317,14 @@ export namespace networkservices_v1beta1 {
5120
5317
  requestBody?: Schema$HttpRoute;
5121
5318
  }
5122
5319
 
5123
- export class Resource$Projects$Locations$Lbrouteextensions {
5320
+ export class Resource$Projects$Locations$Lbedgeextensions {
5124
5321
  context: APIRequestContext;
5125
5322
  constructor(context: APIRequestContext) {
5126
5323
  this.context = context;
5127
5324
  }
5128
5325
 
5129
5326
  /**
5130
- * Creates a new `LbRouteExtension` resource in a given project and location.
5327
+ * Creates a new `LbEdgeExtension` resource in a given project and location.
5131
5328
  *
5132
5329
  * @param params - Parameters for request
5133
5330
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -5135,31 +5332,31 @@ export namespace networkservices_v1beta1 {
5135
5332
  * @returns A promise if used with async/await, or void if used with a callback.
5136
5333
  */
5137
5334
  create(
5138
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
5335
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Create,
5139
5336
  options: StreamMethodOptions
5140
- ): GaxiosPromise<Readable>;
5337
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5141
5338
  create(
5142
- params?: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
5339
+ params?: Params$Resource$Projects$Locations$Lbedgeextensions$Create,
5143
5340
  options?: MethodOptions
5144
- ): GaxiosPromise<Schema$Operation>;
5341
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5145
5342
  create(
5146
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
5343
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Create,
5147
5344
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
5148
5345
  callback: BodyResponseCallback<Readable>
5149
5346
  ): void;
5150
5347
  create(
5151
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
5348
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Create,
5152
5349
  options: MethodOptions | BodyResponseCallback<Schema$Operation>,
5153
5350
  callback: BodyResponseCallback<Schema$Operation>
5154
5351
  ): void;
5155
5352
  create(
5156
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
5353
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Create,
5157
5354
  callback: BodyResponseCallback<Schema$Operation>
5158
5355
  ): void;
5159
5356
  create(callback: BodyResponseCallback<Schema$Operation>): void;
5160
5357
  create(
5161
5358
  paramsOrCallback?:
5162
- | Params$Resource$Projects$Locations$Lbrouteextensions$Create
5359
+ | Params$Resource$Projects$Locations$Lbedgeextensions$Create
5163
5360
  | BodyResponseCallback<Schema$Operation>
5164
5361
  | BodyResponseCallback<Readable>,
5165
5362
  optionsOrCallback?:
@@ -5170,15 +5367,18 @@ export namespace networkservices_v1beta1 {
5170
5367
  callback?:
5171
5368
  | BodyResponseCallback<Schema$Operation>
5172
5369
  | BodyResponseCallback<Readable>
5173
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
5370
+ ):
5371
+ | void
5372
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
5373
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5174
5374
  let params = (paramsOrCallback ||
5175
- {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Create;
5375
+ {}) as Params$Resource$Projects$Locations$Lbedgeextensions$Create;
5176
5376
  let options = (optionsOrCallback || {}) as MethodOptions;
5177
5377
 
5178
5378
  if (typeof paramsOrCallback === 'function') {
5179
5379
  callback = paramsOrCallback;
5180
5380
  params =
5181
- {} as Params$Resource$Projects$Locations$Lbrouteextensions$Create;
5381
+ {} as Params$Resource$Projects$Locations$Lbedgeextensions$Create;
5182
5382
  options = {};
5183
5383
  }
5184
5384
 
@@ -5192,7 +5392,7 @@ export namespace networkservices_v1beta1 {
5192
5392
  const parameters = {
5193
5393
  options: Object.assign(
5194
5394
  {
5195
- url: (rootUrl + '/v1beta1/{+parent}/lbRouteExtensions').replace(
5395
+ url: (rootUrl + '/v1beta1/{+parent}/lbEdgeExtensions').replace(
5196
5396
  /([^:]\/)\/+/g,
5197
5397
  '$1'
5198
5398
  ),
@@ -5217,7 +5417,7 @@ export namespace networkservices_v1beta1 {
5217
5417
  }
5218
5418
 
5219
5419
  /**
5220
- * Deletes the specified `LbRouteExtension` resource.
5420
+ * Deletes the specified `LbEdgeExtension` resource.
5221
5421
  *
5222
5422
  * @param params - Parameters for request
5223
5423
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -5225,31 +5425,31 @@ export namespace networkservices_v1beta1 {
5225
5425
  * @returns A promise if used with async/await, or void if used with a callback.
5226
5426
  */
5227
5427
  delete(
5228
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
5428
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete,
5229
5429
  options: StreamMethodOptions
5230
- ): GaxiosPromise<Readable>;
5430
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5231
5431
  delete(
5232
- params?: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
5432
+ params?: Params$Resource$Projects$Locations$Lbedgeextensions$Delete,
5233
5433
  options?: MethodOptions
5234
- ): GaxiosPromise<Schema$Operation>;
5434
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5235
5435
  delete(
5236
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
5436
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete,
5237
5437
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
5238
5438
  callback: BodyResponseCallback<Readable>
5239
5439
  ): void;
5240
5440
  delete(
5241
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
5441
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete,
5242
5442
  options: MethodOptions | BodyResponseCallback<Schema$Operation>,
5243
5443
  callback: BodyResponseCallback<Schema$Operation>
5244
5444
  ): void;
5245
5445
  delete(
5246
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
5446
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete,
5247
5447
  callback: BodyResponseCallback<Schema$Operation>
5248
5448
  ): void;
5249
5449
  delete(callback: BodyResponseCallback<Schema$Operation>): void;
5250
5450
  delete(
5251
5451
  paramsOrCallback?:
5252
- | Params$Resource$Projects$Locations$Lbrouteextensions$Delete
5452
+ | Params$Resource$Projects$Locations$Lbedgeextensions$Delete
5253
5453
  | BodyResponseCallback<Schema$Operation>
5254
5454
  | BodyResponseCallback<Readable>,
5255
5455
  optionsOrCallback?:
@@ -5260,15 +5460,18 @@ export namespace networkservices_v1beta1 {
5260
5460
  callback?:
5261
5461
  | BodyResponseCallback<Schema$Operation>
5262
5462
  | BodyResponseCallback<Readable>
5263
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
5463
+ ):
5464
+ | void
5465
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
5466
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5264
5467
  let params = (paramsOrCallback ||
5265
- {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Delete;
5468
+ {}) as Params$Resource$Projects$Locations$Lbedgeextensions$Delete;
5266
5469
  let options = (optionsOrCallback || {}) as MethodOptions;
5267
5470
 
5268
5471
  if (typeof paramsOrCallback === 'function') {
5269
5472
  callback = paramsOrCallback;
5270
5473
  params =
5271
- {} as Params$Resource$Projects$Locations$Lbrouteextensions$Delete;
5474
+ {} as Params$Resource$Projects$Locations$Lbedgeextensions$Delete;
5272
5475
  options = {};
5273
5476
  }
5274
5477
 
@@ -5304,7 +5507,7 @@ export namespace networkservices_v1beta1 {
5304
5507
  }
5305
5508
 
5306
5509
  /**
5307
- * Gets details of the specified `LbRouteExtension` resource.
5510
+ * Gets details of the specified `LbEdgeExtension` resource.
5308
5511
  *
5309
5512
  * @param params - Parameters for request
5310
5513
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -5312,49 +5515,52 @@ export namespace networkservices_v1beta1 {
5312
5515
  * @returns A promise if used with async/await, or void if used with a callback.
5313
5516
  */
5314
5517
  get(
5315
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
5518
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Get,
5316
5519
  options: StreamMethodOptions
5317
- ): GaxiosPromise<Readable>;
5520
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5318
5521
  get(
5319
- params?: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
5522
+ params?: Params$Resource$Projects$Locations$Lbedgeextensions$Get,
5320
5523
  options?: MethodOptions
5321
- ): GaxiosPromise<Schema$LbRouteExtension>;
5524
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LbEdgeExtension>>;
5322
5525
  get(
5323
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
5526
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Get,
5324
5527
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
5325
5528
  callback: BodyResponseCallback<Readable>
5326
5529
  ): void;
5327
5530
  get(
5328
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
5329
- options: MethodOptions | BodyResponseCallback<Schema$LbRouteExtension>,
5330
- callback: BodyResponseCallback<Schema$LbRouteExtension>
5531
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Get,
5532
+ options: MethodOptions | BodyResponseCallback<Schema$LbEdgeExtension>,
5533
+ callback: BodyResponseCallback<Schema$LbEdgeExtension>
5331
5534
  ): void;
5332
5535
  get(
5333
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
5334
- callback: BodyResponseCallback<Schema$LbRouteExtension>
5536
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Get,
5537
+ callback: BodyResponseCallback<Schema$LbEdgeExtension>
5335
5538
  ): void;
5336
- get(callback: BodyResponseCallback<Schema$LbRouteExtension>): void;
5539
+ get(callback: BodyResponseCallback<Schema$LbEdgeExtension>): void;
5337
5540
  get(
5338
5541
  paramsOrCallback?:
5339
- | Params$Resource$Projects$Locations$Lbrouteextensions$Get
5340
- | BodyResponseCallback<Schema$LbRouteExtension>
5542
+ | Params$Resource$Projects$Locations$Lbedgeextensions$Get
5543
+ | BodyResponseCallback<Schema$LbEdgeExtension>
5341
5544
  | BodyResponseCallback<Readable>,
5342
5545
  optionsOrCallback?:
5343
5546
  | MethodOptions
5344
5547
  | StreamMethodOptions
5345
- | BodyResponseCallback<Schema$LbRouteExtension>
5548
+ | BodyResponseCallback<Schema$LbEdgeExtension>
5346
5549
  | BodyResponseCallback<Readable>,
5347
5550
  callback?:
5348
- | BodyResponseCallback<Schema$LbRouteExtension>
5551
+ | BodyResponseCallback<Schema$LbEdgeExtension>
5349
5552
  | BodyResponseCallback<Readable>
5350
- ): void | GaxiosPromise<Schema$LbRouteExtension> | GaxiosPromise<Readable> {
5553
+ ):
5554
+ | void
5555
+ | Promise<GaxiosResponseWithHTTP2<Schema$LbEdgeExtension>>
5556
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5351
5557
  let params = (paramsOrCallback ||
5352
- {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Get;
5558
+ {}) as Params$Resource$Projects$Locations$Lbedgeextensions$Get;
5353
5559
  let options = (optionsOrCallback || {}) as MethodOptions;
5354
5560
 
5355
5561
  if (typeof paramsOrCallback === 'function') {
5356
5562
  callback = paramsOrCallback;
5357
- params = {} as Params$Resource$Projects$Locations$Lbrouteextensions$Get;
5563
+ params = {} as Params$Resource$Projects$Locations$Lbedgeextensions$Get;
5358
5564
  options = {};
5359
5565
  }
5360
5566
 
@@ -5380,17 +5586,17 @@ export namespace networkservices_v1beta1 {
5380
5586
  context: this.context,
5381
5587
  };
5382
5588
  if (callback) {
5383
- createAPIRequest<Schema$LbRouteExtension>(
5589
+ createAPIRequest<Schema$LbEdgeExtension>(
5384
5590
  parameters,
5385
5591
  callback as BodyResponseCallback<unknown>
5386
5592
  );
5387
5593
  } else {
5388
- return createAPIRequest<Schema$LbRouteExtension>(parameters);
5594
+ return createAPIRequest<Schema$LbEdgeExtension>(parameters);
5389
5595
  }
5390
5596
  }
5391
5597
 
5392
5598
  /**
5393
- * Lists `LbRouteExtension` resources in a given project and location.
5599
+ * Lists `LbEdgeExtension` resources in a given project and location.
5394
5600
  *
5395
5601
  * @param params - Parameters for request
5396
5602
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -5398,57 +5604,56 @@ export namespace networkservices_v1beta1 {
5398
5604
  * @returns A promise if used with async/await, or void if used with a callback.
5399
5605
  */
5400
5606
  list(
5401
- params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
5607
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$List,
5402
5608
  options: StreamMethodOptions
5403
- ): GaxiosPromise<Readable>;
5609
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5404
5610
  list(
5405
- params?: Params$Resource$Projects$Locations$Lbrouteextensions$List,
5611
+ params?: Params$Resource$Projects$Locations$Lbedgeextensions$List,
5406
5612
  options?: MethodOptions
5407
- ): GaxiosPromise<Schema$ListLbRouteExtensionsResponse>;
5613
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListLbEdgeExtensionsResponse>>;
5408
5614
  list(
5409
- params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
5615
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$List,
5410
5616
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
5411
5617
  callback: BodyResponseCallback<Readable>
5412
5618
  ): void;
5413
5619
  list(
5414
- params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
5620
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$List,
5415
5621
  options:
5416
5622
  | MethodOptions
5417
- | BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>,
5418
- callback: BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
5623
+ | BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>,
5624
+ callback: BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
5419
5625
  ): void;
5420
5626
  list(
5421
- params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
5422
- callback: BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
5627
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$List,
5628
+ callback: BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
5423
5629
  ): void;
5424
5630
  list(
5425
- callback: BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
5631
+ callback: BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
5426
5632
  ): void;
5427
5633
  list(
5428
5634
  paramsOrCallback?:
5429
- | Params$Resource$Projects$Locations$Lbrouteextensions$List
5430
- | BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
5635
+ | Params$Resource$Projects$Locations$Lbedgeextensions$List
5636
+ | BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
5431
5637
  | BodyResponseCallback<Readable>,
5432
5638
  optionsOrCallback?:
5433
5639
  | MethodOptions
5434
5640
  | StreamMethodOptions
5435
- | BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
5641
+ | BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
5436
5642
  | BodyResponseCallback<Readable>,
5437
5643
  callback?:
5438
- | BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
5644
+ | BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
5439
5645
  | BodyResponseCallback<Readable>
5440
5646
  ):
5441
5647
  | void
5442
- | GaxiosPromise<Schema$ListLbRouteExtensionsResponse>
5443
- | GaxiosPromise<Readable> {
5648
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListLbEdgeExtensionsResponse>>
5649
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5444
5650
  let params = (paramsOrCallback ||
5445
- {}) as Params$Resource$Projects$Locations$Lbrouteextensions$List;
5651
+ {}) as Params$Resource$Projects$Locations$Lbedgeextensions$List;
5446
5652
  let options = (optionsOrCallback || {}) as MethodOptions;
5447
5653
 
5448
5654
  if (typeof paramsOrCallback === 'function') {
5449
5655
  callback = paramsOrCallback;
5450
- params =
5451
- {} as Params$Resource$Projects$Locations$Lbrouteextensions$List;
5656
+ params = {} as Params$Resource$Projects$Locations$Lbedgeextensions$List;
5452
5657
  options = {};
5453
5658
  }
5454
5659
 
@@ -5462,7 +5667,7 @@ export namespace networkservices_v1beta1 {
5462
5667
  const parameters = {
5463
5668
  options: Object.assign(
5464
5669
  {
5465
- url: (rootUrl + '/v1beta1/{+parent}/lbRouteExtensions').replace(
5670
+ url: (rootUrl + '/v1beta1/{+parent}/lbEdgeExtensions').replace(
5466
5671
  /([^:]\/)\/+/g,
5467
5672
  '$1'
5468
5673
  ),
@@ -5477,19 +5682,19 @@ export namespace networkservices_v1beta1 {
5477
5682
  context: this.context,
5478
5683
  };
5479
5684
  if (callback) {
5480
- createAPIRequest<Schema$ListLbRouteExtensionsResponse>(
5685
+ createAPIRequest<Schema$ListLbEdgeExtensionsResponse>(
5481
5686
  parameters,
5482
5687
  callback as BodyResponseCallback<unknown>
5483
5688
  );
5484
5689
  } else {
5485
- return createAPIRequest<Schema$ListLbRouteExtensionsResponse>(
5690
+ return createAPIRequest<Schema$ListLbEdgeExtensionsResponse>(
5486
5691
  parameters
5487
5692
  );
5488
5693
  }
5489
5694
  }
5490
5695
 
5491
5696
  /**
5492
- * Updates the parameters of the specified `LbRouteExtension` resource.
5697
+ * Updates the parameters of the specified `LbEdgeExtension` resource.
5493
5698
  *
5494
5699
  * @param params - Parameters for request
5495
5700
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -5497,31 +5702,31 @@ export namespace networkservices_v1beta1 {
5497
5702
  * @returns A promise if used with async/await, or void if used with a callback.
5498
5703
  */
5499
5704
  patch(
5500
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
5705
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch,
5501
5706
  options: StreamMethodOptions
5502
- ): GaxiosPromise<Readable>;
5707
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5503
5708
  patch(
5504
- params?: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
5709
+ params?: Params$Resource$Projects$Locations$Lbedgeextensions$Patch,
5505
5710
  options?: MethodOptions
5506
- ): GaxiosPromise<Schema$Operation>;
5711
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5507
5712
  patch(
5508
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
5713
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch,
5509
5714
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
5510
5715
  callback: BodyResponseCallback<Readable>
5511
5716
  ): void;
5512
5717
  patch(
5513
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
5718
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch,
5514
5719
  options: MethodOptions | BodyResponseCallback<Schema$Operation>,
5515
5720
  callback: BodyResponseCallback<Schema$Operation>
5516
5721
  ): void;
5517
5722
  patch(
5518
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
5723
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch,
5519
5724
  callback: BodyResponseCallback<Schema$Operation>
5520
5725
  ): void;
5521
5726
  patch(callback: BodyResponseCallback<Schema$Operation>): void;
5522
5727
  patch(
5523
5728
  paramsOrCallback?:
5524
- | Params$Resource$Projects$Locations$Lbrouteextensions$Patch
5729
+ | Params$Resource$Projects$Locations$Lbedgeextensions$Patch
5525
5730
  | BodyResponseCallback<Schema$Operation>
5526
5731
  | BodyResponseCallback<Readable>,
5527
5732
  optionsOrCallback?:
@@ -5532,15 +5737,18 @@ export namespace networkservices_v1beta1 {
5532
5737
  callback?:
5533
5738
  | BodyResponseCallback<Schema$Operation>
5534
5739
  | BodyResponseCallback<Readable>
5535
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
5740
+ ):
5741
+ | void
5742
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
5743
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5536
5744
  let params = (paramsOrCallback ||
5537
- {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Patch;
5745
+ {}) as Params$Resource$Projects$Locations$Lbedgeextensions$Patch;
5538
5746
  let options = (optionsOrCallback || {}) as MethodOptions;
5539
5747
 
5540
5748
  if (typeof paramsOrCallback === 'function') {
5541
5749
  callback = paramsOrCallback;
5542
5750
  params =
5543
- {} as Params$Resource$Projects$Locations$Lbrouteextensions$Patch;
5751
+ {} as Params$Resource$Projects$Locations$Lbedgeextensions$Patch;
5544
5752
  options = {};
5545
5753
  }
5546
5754
 
@@ -5576,14 +5784,14 @@ export namespace networkservices_v1beta1 {
5576
5784
  }
5577
5785
  }
5578
5786
 
5579
- export interface Params$Resource$Projects$Locations$Lbrouteextensions$Create
5787
+ export interface Params$Resource$Projects$Locations$Lbedgeextensions$Create
5580
5788
  extends StandardParameters {
5581
5789
  /**
5582
- * Required. User-provided ID of the `LbRouteExtension` resource to be created.
5790
+ * Required. User-provided ID of the `LbEdgeExtension` resource to be created.
5583
5791
  */
5584
- lbRouteExtensionId?: string;
5792
+ lbEdgeExtensionId?: string;
5585
5793
  /**
5586
- * Required. The parent resource of the `LbRouteExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
5794
+ * Required. The parent resource of the `LbEdgeExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
5587
5795
  */
5588
5796
  parent?: string;
5589
5797
  /**
@@ -5594,12 +5802,12 @@ export namespace networkservices_v1beta1 {
5594
5802
  /**
5595
5803
  * Request body metadata
5596
5804
  */
5597
- requestBody?: Schema$LbRouteExtension;
5805
+ requestBody?: Schema$LbEdgeExtension;
5598
5806
  }
5599
- export interface Params$Resource$Projects$Locations$Lbrouteextensions$Delete
5807
+ export interface Params$Resource$Projects$Locations$Lbedgeextensions$Delete
5600
5808
  extends StandardParameters {
5601
5809
  /**
5602
- * Required. The name of the `LbRouteExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
5810
+ * Required. The name of the `LbEdgeExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
5603
5811
  */
5604
5812
  name?: string;
5605
5813
  /**
@@ -5607,14 +5815,14 @@ export namespace networkservices_v1beta1 {
5607
5815
  */
5608
5816
  requestId?: string;
5609
5817
  }
5610
- export interface Params$Resource$Projects$Locations$Lbrouteextensions$Get
5818
+ export interface Params$Resource$Projects$Locations$Lbedgeextensions$Get
5611
5819
  extends StandardParameters {
5612
5820
  /**
5613
- * Required. A name of the `LbRouteExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
5821
+ * Required. A name of the `LbEdgeExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
5614
5822
  */
5615
5823
  name?: string;
5616
5824
  }
5617
- export interface Params$Resource$Projects$Locations$Lbrouteextensions$List
5825
+ export interface Params$Resource$Projects$Locations$Lbedgeextensions$List
5618
5826
  extends StandardParameters {
5619
5827
  /**
5620
5828
  * Optional. Filtering results.
@@ -5633,14 +5841,14 @@ export namespace networkservices_v1beta1 {
5633
5841
  */
5634
5842
  pageToken?: string;
5635
5843
  /**
5636
- * Required. The project and location from which the `LbRouteExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
5844
+ * Required. The project and location from which the `LbEdgeExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
5637
5845
  */
5638
5846
  parent?: string;
5639
5847
  }
5640
- export interface Params$Resource$Projects$Locations$Lbrouteextensions$Patch
5848
+ export interface Params$Resource$Projects$Locations$Lbedgeextensions$Patch
5641
5849
  extends StandardParameters {
5642
5850
  /**
5643
- * Required. Identifier. Name of the `LbRouteExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
5851
+ * Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
5644
5852
  */
5645
5853
  name?: string;
5646
5854
  /**
@@ -5648,24 +5856,24 @@ export namespace networkservices_v1beta1 {
5648
5856
  */
5649
5857
  requestId?: string;
5650
5858
  /**
5651
- * Optional. Used to specify the fields to be overwritten in the `LbRouteExtension` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.
5859
+ * Optional. Used to specify the fields to be overwritten in the `LbEdgeExtension` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.
5652
5860
  */
5653
5861
  updateMask?: string;
5654
5862
 
5655
5863
  /**
5656
5864
  * Request body metadata
5657
5865
  */
5658
- requestBody?: Schema$LbRouteExtension;
5866
+ requestBody?: Schema$LbEdgeExtension;
5659
5867
  }
5660
5868
 
5661
- export class Resource$Projects$Locations$Lbtrafficextensions {
5869
+ export class Resource$Projects$Locations$Lbrouteextensions {
5662
5870
  context: APIRequestContext;
5663
5871
  constructor(context: APIRequestContext) {
5664
5872
  this.context = context;
5665
5873
  }
5666
5874
 
5667
5875
  /**
5668
- * Creates a new `LbTrafficExtension` resource in a given project and location.
5876
+ * Creates a new `LbRouteExtension` resource in a given project and location.
5669
5877
  *
5670
5878
  * @param params - Parameters for request
5671
5879
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -5673,31 +5881,31 @@ export namespace networkservices_v1beta1 {
5673
5881
  * @returns A promise if used with async/await, or void if used with a callback.
5674
5882
  */
5675
5883
  create(
5676
- params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
5884
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
5677
5885
  options: StreamMethodOptions
5678
- ): GaxiosPromise<Readable>;
5886
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5679
5887
  create(
5680
- params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
5888
+ params?: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
5681
5889
  options?: MethodOptions
5682
- ): GaxiosPromise<Schema$Operation>;
5890
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5683
5891
  create(
5684
- params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
5892
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
5685
5893
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
5686
5894
  callback: BodyResponseCallback<Readable>
5687
5895
  ): void;
5688
5896
  create(
5689
- params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
5897
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
5690
5898
  options: MethodOptions | BodyResponseCallback<Schema$Operation>,
5691
5899
  callback: BodyResponseCallback<Schema$Operation>
5692
5900
  ): void;
5693
5901
  create(
5694
- params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
5902
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
5695
5903
  callback: BodyResponseCallback<Schema$Operation>
5696
5904
  ): void;
5697
5905
  create(callback: BodyResponseCallback<Schema$Operation>): void;
5698
5906
  create(
5699
5907
  paramsOrCallback?:
5700
- | Params$Resource$Projects$Locations$Lbtrafficextensions$Create
5908
+ | Params$Resource$Projects$Locations$Lbrouteextensions$Create
5701
5909
  | BodyResponseCallback<Schema$Operation>
5702
5910
  | BodyResponseCallback<Readable>,
5703
5911
  optionsOrCallback?:
@@ -5708,15 +5916,18 @@ export namespace networkservices_v1beta1 {
5708
5916
  callback?:
5709
5917
  | BodyResponseCallback<Schema$Operation>
5710
5918
  | BodyResponseCallback<Readable>
5711
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
5919
+ ):
5920
+ | void
5921
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
5922
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5712
5923
  let params = (paramsOrCallback ||
5713
- {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Create;
5924
+ {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Create;
5714
5925
  let options = (optionsOrCallback || {}) as MethodOptions;
5715
5926
 
5716
5927
  if (typeof paramsOrCallback === 'function') {
5717
5928
  callback = paramsOrCallback;
5718
5929
  params =
5719
- {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Create;
5930
+ {} as Params$Resource$Projects$Locations$Lbrouteextensions$Create;
5720
5931
  options = {};
5721
5932
  }
5722
5933
 
@@ -5730,7 +5941,557 @@ export namespace networkservices_v1beta1 {
5730
5941
  const parameters = {
5731
5942
  options: Object.assign(
5732
5943
  {
5733
- url: (rootUrl + '/v1beta1/{+parent}/lbTrafficExtensions').replace(
5944
+ url: (rootUrl + '/v1beta1/{+parent}/lbRouteExtensions').replace(
5945
+ /([^:]\/)\/+/g,
5946
+ '$1'
5947
+ ),
5948
+ method: 'POST',
5949
+ apiVersion: '',
5950
+ },
5951
+ options
5952
+ ),
5953
+ params,
5954
+ requiredParams: ['parent'],
5955
+ pathParams: ['parent'],
5956
+ context: this.context,
5957
+ };
5958
+ if (callback) {
5959
+ createAPIRequest<Schema$Operation>(
5960
+ parameters,
5961
+ callback as BodyResponseCallback<unknown>
5962
+ );
5963
+ } else {
5964
+ return createAPIRequest<Schema$Operation>(parameters);
5965
+ }
5966
+ }
5967
+
5968
+ /**
5969
+ * Deletes the specified `LbRouteExtension` resource.
5970
+ *
5971
+ * @param params - Parameters for request
5972
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5973
+ * @param callback - Optional callback that handles the response.
5974
+ * @returns A promise if used with async/await, or void if used with a callback.
5975
+ */
5976
+ delete(
5977
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
5978
+ options: StreamMethodOptions
5979
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5980
+ delete(
5981
+ params?: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
5982
+ options?: MethodOptions
5983
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5984
+ delete(
5985
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
5986
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
5987
+ callback: BodyResponseCallback<Readable>
5988
+ ): void;
5989
+ delete(
5990
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
5991
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
5992
+ callback: BodyResponseCallback<Schema$Operation>
5993
+ ): void;
5994
+ delete(
5995
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
5996
+ callback: BodyResponseCallback<Schema$Operation>
5997
+ ): void;
5998
+ delete(callback: BodyResponseCallback<Schema$Operation>): void;
5999
+ delete(
6000
+ paramsOrCallback?:
6001
+ | Params$Resource$Projects$Locations$Lbrouteextensions$Delete
6002
+ | BodyResponseCallback<Schema$Operation>
6003
+ | BodyResponseCallback<Readable>,
6004
+ optionsOrCallback?:
6005
+ | MethodOptions
6006
+ | StreamMethodOptions
6007
+ | BodyResponseCallback<Schema$Operation>
6008
+ | BodyResponseCallback<Readable>,
6009
+ callback?:
6010
+ | BodyResponseCallback<Schema$Operation>
6011
+ | BodyResponseCallback<Readable>
6012
+ ):
6013
+ | void
6014
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
6015
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6016
+ let params = (paramsOrCallback ||
6017
+ {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Delete;
6018
+ let options = (optionsOrCallback || {}) as MethodOptions;
6019
+
6020
+ if (typeof paramsOrCallback === 'function') {
6021
+ callback = paramsOrCallback;
6022
+ params =
6023
+ {} as Params$Resource$Projects$Locations$Lbrouteextensions$Delete;
6024
+ options = {};
6025
+ }
6026
+
6027
+ if (typeof optionsOrCallback === 'function') {
6028
+ callback = optionsOrCallback;
6029
+ options = {};
6030
+ }
6031
+
6032
+ const rootUrl =
6033
+ options.rootUrl || 'https://networkservices.googleapis.com/';
6034
+ const parameters = {
6035
+ options: Object.assign(
6036
+ {
6037
+ url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
6038
+ method: 'DELETE',
6039
+ apiVersion: '',
6040
+ },
6041
+ options
6042
+ ),
6043
+ params,
6044
+ requiredParams: ['name'],
6045
+ pathParams: ['name'],
6046
+ context: this.context,
6047
+ };
6048
+ if (callback) {
6049
+ createAPIRequest<Schema$Operation>(
6050
+ parameters,
6051
+ callback as BodyResponseCallback<unknown>
6052
+ );
6053
+ } else {
6054
+ return createAPIRequest<Schema$Operation>(parameters);
6055
+ }
6056
+ }
6057
+
6058
+ /**
6059
+ * Gets details of the specified `LbRouteExtension` resource.
6060
+ *
6061
+ * @param params - Parameters for request
6062
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6063
+ * @param callback - Optional callback that handles the response.
6064
+ * @returns A promise if used with async/await, or void if used with a callback.
6065
+ */
6066
+ get(
6067
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
6068
+ options: StreamMethodOptions
6069
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6070
+ get(
6071
+ params?: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
6072
+ options?: MethodOptions
6073
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LbRouteExtension>>;
6074
+ get(
6075
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
6076
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
6077
+ callback: BodyResponseCallback<Readable>
6078
+ ): void;
6079
+ get(
6080
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
6081
+ options: MethodOptions | BodyResponseCallback<Schema$LbRouteExtension>,
6082
+ callback: BodyResponseCallback<Schema$LbRouteExtension>
6083
+ ): void;
6084
+ get(
6085
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
6086
+ callback: BodyResponseCallback<Schema$LbRouteExtension>
6087
+ ): void;
6088
+ get(callback: BodyResponseCallback<Schema$LbRouteExtension>): void;
6089
+ get(
6090
+ paramsOrCallback?:
6091
+ | Params$Resource$Projects$Locations$Lbrouteextensions$Get
6092
+ | BodyResponseCallback<Schema$LbRouteExtension>
6093
+ | BodyResponseCallback<Readable>,
6094
+ optionsOrCallback?:
6095
+ | MethodOptions
6096
+ | StreamMethodOptions
6097
+ | BodyResponseCallback<Schema$LbRouteExtension>
6098
+ | BodyResponseCallback<Readable>,
6099
+ callback?:
6100
+ | BodyResponseCallback<Schema$LbRouteExtension>
6101
+ | BodyResponseCallback<Readable>
6102
+ ):
6103
+ | void
6104
+ | Promise<GaxiosResponseWithHTTP2<Schema$LbRouteExtension>>
6105
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6106
+ let params = (paramsOrCallback ||
6107
+ {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Get;
6108
+ let options = (optionsOrCallback || {}) as MethodOptions;
6109
+
6110
+ if (typeof paramsOrCallback === 'function') {
6111
+ callback = paramsOrCallback;
6112
+ params = {} as Params$Resource$Projects$Locations$Lbrouteextensions$Get;
6113
+ options = {};
6114
+ }
6115
+
6116
+ if (typeof optionsOrCallback === 'function') {
6117
+ callback = optionsOrCallback;
6118
+ options = {};
6119
+ }
6120
+
6121
+ const rootUrl =
6122
+ options.rootUrl || 'https://networkservices.googleapis.com/';
6123
+ const parameters = {
6124
+ options: Object.assign(
6125
+ {
6126
+ url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
6127
+ method: 'GET',
6128
+ apiVersion: '',
6129
+ },
6130
+ options
6131
+ ),
6132
+ params,
6133
+ requiredParams: ['name'],
6134
+ pathParams: ['name'],
6135
+ context: this.context,
6136
+ };
6137
+ if (callback) {
6138
+ createAPIRequest<Schema$LbRouteExtension>(
6139
+ parameters,
6140
+ callback as BodyResponseCallback<unknown>
6141
+ );
6142
+ } else {
6143
+ return createAPIRequest<Schema$LbRouteExtension>(parameters);
6144
+ }
6145
+ }
6146
+
6147
+ /**
6148
+ * Lists `LbRouteExtension` resources in a given project and location.
6149
+ *
6150
+ * @param params - Parameters for request
6151
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6152
+ * @param callback - Optional callback that handles the response.
6153
+ * @returns A promise if used with async/await, or void if used with a callback.
6154
+ */
6155
+ list(
6156
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
6157
+ options: StreamMethodOptions
6158
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6159
+ list(
6160
+ params?: Params$Resource$Projects$Locations$Lbrouteextensions$List,
6161
+ options?: MethodOptions
6162
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListLbRouteExtensionsResponse>>;
6163
+ list(
6164
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
6165
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
6166
+ callback: BodyResponseCallback<Readable>
6167
+ ): void;
6168
+ list(
6169
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
6170
+ options:
6171
+ | MethodOptions
6172
+ | BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>,
6173
+ callback: BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
6174
+ ): void;
6175
+ list(
6176
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
6177
+ callback: BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
6178
+ ): void;
6179
+ list(
6180
+ callback: BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
6181
+ ): void;
6182
+ list(
6183
+ paramsOrCallback?:
6184
+ | Params$Resource$Projects$Locations$Lbrouteextensions$List
6185
+ | BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
6186
+ | BodyResponseCallback<Readable>,
6187
+ optionsOrCallback?:
6188
+ | MethodOptions
6189
+ | StreamMethodOptions
6190
+ | BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
6191
+ | BodyResponseCallback<Readable>,
6192
+ callback?:
6193
+ | BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
6194
+ | BodyResponseCallback<Readable>
6195
+ ):
6196
+ | void
6197
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListLbRouteExtensionsResponse>>
6198
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6199
+ let params = (paramsOrCallback ||
6200
+ {}) as Params$Resource$Projects$Locations$Lbrouteextensions$List;
6201
+ let options = (optionsOrCallback || {}) as MethodOptions;
6202
+
6203
+ if (typeof paramsOrCallback === 'function') {
6204
+ callback = paramsOrCallback;
6205
+ params =
6206
+ {} as Params$Resource$Projects$Locations$Lbrouteextensions$List;
6207
+ options = {};
6208
+ }
6209
+
6210
+ if (typeof optionsOrCallback === 'function') {
6211
+ callback = optionsOrCallback;
6212
+ options = {};
6213
+ }
6214
+
6215
+ const rootUrl =
6216
+ options.rootUrl || 'https://networkservices.googleapis.com/';
6217
+ const parameters = {
6218
+ options: Object.assign(
6219
+ {
6220
+ url: (rootUrl + '/v1beta1/{+parent}/lbRouteExtensions').replace(
6221
+ /([^:]\/)\/+/g,
6222
+ '$1'
6223
+ ),
6224
+ method: 'GET',
6225
+ apiVersion: '',
6226
+ },
6227
+ options
6228
+ ),
6229
+ params,
6230
+ requiredParams: ['parent'],
6231
+ pathParams: ['parent'],
6232
+ context: this.context,
6233
+ };
6234
+ if (callback) {
6235
+ createAPIRequest<Schema$ListLbRouteExtensionsResponse>(
6236
+ parameters,
6237
+ callback as BodyResponseCallback<unknown>
6238
+ );
6239
+ } else {
6240
+ return createAPIRequest<Schema$ListLbRouteExtensionsResponse>(
6241
+ parameters
6242
+ );
6243
+ }
6244
+ }
6245
+
6246
+ /**
6247
+ * Updates the parameters of the specified `LbRouteExtension` resource.
6248
+ *
6249
+ * @param params - Parameters for request
6250
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6251
+ * @param callback - Optional callback that handles the response.
6252
+ * @returns A promise if used with async/await, or void if used with a callback.
6253
+ */
6254
+ patch(
6255
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
6256
+ options: StreamMethodOptions
6257
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6258
+ patch(
6259
+ params?: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
6260
+ options?: MethodOptions
6261
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6262
+ patch(
6263
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
6264
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
6265
+ callback: BodyResponseCallback<Readable>
6266
+ ): void;
6267
+ patch(
6268
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
6269
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
6270
+ callback: BodyResponseCallback<Schema$Operation>
6271
+ ): void;
6272
+ patch(
6273
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
6274
+ callback: BodyResponseCallback<Schema$Operation>
6275
+ ): void;
6276
+ patch(callback: BodyResponseCallback<Schema$Operation>): void;
6277
+ patch(
6278
+ paramsOrCallback?:
6279
+ | Params$Resource$Projects$Locations$Lbrouteextensions$Patch
6280
+ | BodyResponseCallback<Schema$Operation>
6281
+ | BodyResponseCallback<Readable>,
6282
+ optionsOrCallback?:
6283
+ | MethodOptions
6284
+ | StreamMethodOptions
6285
+ | BodyResponseCallback<Schema$Operation>
6286
+ | BodyResponseCallback<Readable>,
6287
+ callback?:
6288
+ | BodyResponseCallback<Schema$Operation>
6289
+ | BodyResponseCallback<Readable>
6290
+ ):
6291
+ | void
6292
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
6293
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6294
+ let params = (paramsOrCallback ||
6295
+ {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Patch;
6296
+ let options = (optionsOrCallback || {}) as MethodOptions;
6297
+
6298
+ if (typeof paramsOrCallback === 'function') {
6299
+ callback = paramsOrCallback;
6300
+ params =
6301
+ {} as Params$Resource$Projects$Locations$Lbrouteextensions$Patch;
6302
+ options = {};
6303
+ }
6304
+
6305
+ if (typeof optionsOrCallback === 'function') {
6306
+ callback = optionsOrCallback;
6307
+ options = {};
6308
+ }
6309
+
6310
+ const rootUrl =
6311
+ options.rootUrl || 'https://networkservices.googleapis.com/';
6312
+ const parameters = {
6313
+ options: Object.assign(
6314
+ {
6315
+ url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
6316
+ method: 'PATCH',
6317
+ apiVersion: '',
6318
+ },
6319
+ options
6320
+ ),
6321
+ params,
6322
+ requiredParams: ['name'],
6323
+ pathParams: ['name'],
6324
+ context: this.context,
6325
+ };
6326
+ if (callback) {
6327
+ createAPIRequest<Schema$Operation>(
6328
+ parameters,
6329
+ callback as BodyResponseCallback<unknown>
6330
+ );
6331
+ } else {
6332
+ return createAPIRequest<Schema$Operation>(parameters);
6333
+ }
6334
+ }
6335
+ }
6336
+
6337
+ export interface Params$Resource$Projects$Locations$Lbrouteextensions$Create
6338
+ extends StandardParameters {
6339
+ /**
6340
+ * Required. User-provided ID of the `LbRouteExtension` resource to be created.
6341
+ */
6342
+ lbRouteExtensionId?: string;
6343
+ /**
6344
+ * Required. The parent resource of the `LbRouteExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
6345
+ */
6346
+ parent?: string;
6347
+ /**
6348
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. 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 ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6349
+ */
6350
+ requestId?: string;
6351
+
6352
+ /**
6353
+ * Request body metadata
6354
+ */
6355
+ requestBody?: Schema$LbRouteExtension;
6356
+ }
6357
+ export interface Params$Resource$Projects$Locations$Lbrouteextensions$Delete
6358
+ extends StandardParameters {
6359
+ /**
6360
+ * Required. The name of the `LbRouteExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
6361
+ */
6362
+ name?: string;
6363
+ /**
6364
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes after the first request. 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 ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6365
+ */
6366
+ requestId?: string;
6367
+ }
6368
+ export interface Params$Resource$Projects$Locations$Lbrouteextensions$Get
6369
+ extends StandardParameters {
6370
+ /**
6371
+ * Required. A name of the `LbRouteExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
6372
+ */
6373
+ name?: string;
6374
+ }
6375
+ export interface Params$Resource$Projects$Locations$Lbrouteextensions$List
6376
+ extends StandardParameters {
6377
+ /**
6378
+ * Optional. Filtering results.
6379
+ */
6380
+ filter?: string;
6381
+ /**
6382
+ * Optional. Hint about how to order the results.
6383
+ */
6384
+ orderBy?: string;
6385
+ /**
6386
+ * Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
6387
+ */
6388
+ pageSize?: number;
6389
+ /**
6390
+ * Optional. A token identifying a page of results that the server returns.
6391
+ */
6392
+ pageToken?: string;
6393
+ /**
6394
+ * Required. The project and location from which the `LbRouteExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
6395
+ */
6396
+ parent?: string;
6397
+ }
6398
+ export interface Params$Resource$Projects$Locations$Lbrouteextensions$Patch
6399
+ extends StandardParameters {
6400
+ /**
6401
+ * Required. Identifier. Name of the `LbRouteExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
6402
+ */
6403
+ name?: string;
6404
+ /**
6405
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. 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 ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6406
+ */
6407
+ requestId?: string;
6408
+ /**
6409
+ * Optional. Used to specify the fields to be overwritten in the `LbRouteExtension` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.
6410
+ */
6411
+ updateMask?: string;
6412
+
6413
+ /**
6414
+ * Request body metadata
6415
+ */
6416
+ requestBody?: Schema$LbRouteExtension;
6417
+ }
6418
+
6419
+ export class Resource$Projects$Locations$Lbtrafficextensions {
6420
+ context: APIRequestContext;
6421
+ constructor(context: APIRequestContext) {
6422
+ this.context = context;
6423
+ }
6424
+
6425
+ /**
6426
+ * Creates a new `LbTrafficExtension` resource in a given project and location.
6427
+ *
6428
+ * @param params - Parameters for request
6429
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6430
+ * @param callback - Optional callback that handles the response.
6431
+ * @returns A promise if used with async/await, or void if used with a callback.
6432
+ */
6433
+ create(
6434
+ params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
6435
+ options: StreamMethodOptions
6436
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6437
+ create(
6438
+ params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
6439
+ options?: MethodOptions
6440
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6441
+ create(
6442
+ params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
6443
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
6444
+ callback: BodyResponseCallback<Readable>
6445
+ ): void;
6446
+ create(
6447
+ params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
6448
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
6449
+ callback: BodyResponseCallback<Schema$Operation>
6450
+ ): void;
6451
+ create(
6452
+ params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
6453
+ callback: BodyResponseCallback<Schema$Operation>
6454
+ ): void;
6455
+ create(callback: BodyResponseCallback<Schema$Operation>): void;
6456
+ create(
6457
+ paramsOrCallback?:
6458
+ | Params$Resource$Projects$Locations$Lbtrafficextensions$Create
6459
+ | BodyResponseCallback<Schema$Operation>
6460
+ | BodyResponseCallback<Readable>,
6461
+ optionsOrCallback?:
6462
+ | MethodOptions
6463
+ | StreamMethodOptions
6464
+ | BodyResponseCallback<Schema$Operation>
6465
+ | BodyResponseCallback<Readable>,
6466
+ callback?:
6467
+ | BodyResponseCallback<Schema$Operation>
6468
+ | BodyResponseCallback<Readable>
6469
+ ):
6470
+ | void
6471
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
6472
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6473
+ let params = (paramsOrCallback ||
6474
+ {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Create;
6475
+ let options = (optionsOrCallback || {}) as MethodOptions;
6476
+
6477
+ if (typeof paramsOrCallback === 'function') {
6478
+ callback = paramsOrCallback;
6479
+ params =
6480
+ {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Create;
6481
+ options = {};
6482
+ }
6483
+
6484
+ if (typeof optionsOrCallback === 'function') {
6485
+ callback = optionsOrCallback;
6486
+ options = {};
6487
+ }
6488
+
6489
+ const rootUrl =
6490
+ options.rootUrl || 'https://networkservices.googleapis.com/';
6491
+ const parameters = {
6492
+ options: Object.assign(
6493
+ {
6494
+ url: (rootUrl + '/v1beta1/{+parent}/lbTrafficExtensions').replace(
5734
6495
  /([^:]\/)\/+/g,
5735
6496
  '$1'
5736
6497
  ),
@@ -5765,11 +6526,11 @@ export namespace networkservices_v1beta1 {
5765
6526
  delete(
5766
6527
  params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete,
5767
6528
  options: StreamMethodOptions
5768
- ): GaxiosPromise<Readable>;
6529
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5769
6530
  delete(
5770
6531
  params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete,
5771
6532
  options?: MethodOptions
5772
- ): GaxiosPromise<Schema$Operation>;
6533
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5773
6534
  delete(
5774
6535
  params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete,
5775
6536
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5798,7 +6559,10 @@ export namespace networkservices_v1beta1 {
5798
6559
  callback?:
5799
6560
  | BodyResponseCallback<Schema$Operation>
5800
6561
  | BodyResponseCallback<Readable>
5801
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
6562
+ ):
6563
+ | void
6564
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
6565
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5802
6566
  let params = (paramsOrCallback ||
5803
6567
  {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Delete;
5804
6568
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5852,11 +6616,11 @@ export namespace networkservices_v1beta1 {
5852
6616
  get(
5853
6617
  params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get,
5854
6618
  options: StreamMethodOptions
5855
- ): GaxiosPromise<Readable>;
6619
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5856
6620
  get(
5857
6621
  params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Get,
5858
6622
  options?: MethodOptions
5859
- ): GaxiosPromise<Schema$LbTrafficExtension>;
6623
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LbTrafficExtension>>;
5860
6624
  get(
5861
6625
  params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get,
5862
6626
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5887,8 +6651,8 @@ export namespace networkservices_v1beta1 {
5887
6651
  | BodyResponseCallback<Readable>
5888
6652
  ):
5889
6653
  | void
5890
- | GaxiosPromise<Schema$LbTrafficExtension>
5891
- | GaxiosPromise<Readable> {
6654
+ | Promise<GaxiosResponseWithHTTP2<Schema$LbTrafficExtension>>
6655
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5892
6656
  let params = (paramsOrCallback ||
5893
6657
  {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Get;
5894
6658
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -5942,11 +6706,11 @@ export namespace networkservices_v1beta1 {
5942
6706
  list(
5943
6707
  params: Params$Resource$Projects$Locations$Lbtrafficextensions$List,
5944
6708
  options: StreamMethodOptions
5945
- ): GaxiosPromise<Readable>;
6709
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5946
6710
  list(
5947
6711
  params?: Params$Resource$Projects$Locations$Lbtrafficextensions$List,
5948
6712
  options?: MethodOptions
5949
- ): GaxiosPromise<Schema$ListLbTrafficExtensionsResponse>;
6713
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListLbTrafficExtensionsResponse>>;
5950
6714
  list(
5951
6715
  params: Params$Resource$Projects$Locations$Lbtrafficextensions$List,
5952
6716
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -5981,8 +6745,8 @@ export namespace networkservices_v1beta1 {
5981
6745
  | BodyResponseCallback<Readable>
5982
6746
  ):
5983
6747
  | void
5984
- | GaxiosPromise<Schema$ListLbTrafficExtensionsResponse>
5985
- | GaxiosPromise<Readable> {
6748
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListLbTrafficExtensionsResponse>>
6749
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5986
6750
  let params = (paramsOrCallback ||
5987
6751
  {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$List;
5988
6752
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6041,11 +6805,11 @@ export namespace networkservices_v1beta1 {
6041
6805
  patch(
6042
6806
  params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch,
6043
6807
  options: StreamMethodOptions
6044
- ): GaxiosPromise<Readable>;
6808
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6045
6809
  patch(
6046
6810
  params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch,
6047
6811
  options?: MethodOptions
6048
- ): GaxiosPromise<Schema$Operation>;
6812
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6049
6813
  patch(
6050
6814
  params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch,
6051
6815
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6074,7 +6838,10 @@ export namespace networkservices_v1beta1 {
6074
6838
  callback?:
6075
6839
  | BodyResponseCallback<Schema$Operation>
6076
6840
  | BodyResponseCallback<Readable>
6077
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
6841
+ ):
6842
+ | void
6843
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
6844
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6078
6845
  let params = (paramsOrCallback ||
6079
6846
  {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Patch;
6080
6847
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6221,11 +6988,11 @@ export namespace networkservices_v1beta1 {
6221
6988
  create(
6222
6989
  params: Params$Resource$Projects$Locations$Meshes$Create,
6223
6990
  options: StreamMethodOptions
6224
- ): GaxiosPromise<Readable>;
6991
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6225
6992
  create(
6226
6993
  params?: Params$Resource$Projects$Locations$Meshes$Create,
6227
6994
  options?: MethodOptions
6228
- ): GaxiosPromise<Schema$Operation>;
6995
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6229
6996
  create(
6230
6997
  params: Params$Resource$Projects$Locations$Meshes$Create,
6231
6998
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6254,7 +7021,10 @@ export namespace networkservices_v1beta1 {
6254
7021
  callback?:
6255
7022
  | BodyResponseCallback<Schema$Operation>
6256
7023
  | BodyResponseCallback<Readable>
6257
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
7024
+ ):
7025
+ | void
7026
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
7027
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6258
7028
  let params = (paramsOrCallback ||
6259
7029
  {}) as Params$Resource$Projects$Locations$Meshes$Create;
6260
7030
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6310,11 +7080,11 @@ export namespace networkservices_v1beta1 {
6310
7080
  delete(
6311
7081
  params: Params$Resource$Projects$Locations$Meshes$Delete,
6312
7082
  options: StreamMethodOptions
6313
- ): GaxiosPromise<Readable>;
7083
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6314
7084
  delete(
6315
7085
  params?: Params$Resource$Projects$Locations$Meshes$Delete,
6316
7086
  options?: MethodOptions
6317
- ): GaxiosPromise<Schema$Operation>;
7087
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6318
7088
  delete(
6319
7089
  params: Params$Resource$Projects$Locations$Meshes$Delete,
6320
7090
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6343,7 +7113,10 @@ export namespace networkservices_v1beta1 {
6343
7113
  callback?:
6344
7114
  | BodyResponseCallback<Schema$Operation>
6345
7115
  | BodyResponseCallback<Readable>
6346
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
7116
+ ):
7117
+ | void
7118
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
7119
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6347
7120
  let params = (paramsOrCallback ||
6348
7121
  {}) as Params$Resource$Projects$Locations$Meshes$Delete;
6349
7122
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6396,11 +7169,11 @@ export namespace networkservices_v1beta1 {
6396
7169
  get(
6397
7170
  params: Params$Resource$Projects$Locations$Meshes$Get,
6398
7171
  options: StreamMethodOptions
6399
- ): GaxiosPromise<Readable>;
7172
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6400
7173
  get(
6401
7174
  params?: Params$Resource$Projects$Locations$Meshes$Get,
6402
7175
  options?: MethodOptions
6403
- ): GaxiosPromise<Schema$Mesh>;
7176
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Mesh>>;
6404
7177
  get(
6405
7178
  params: Params$Resource$Projects$Locations$Meshes$Get,
6406
7179
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6429,7 +7202,10 @@ export namespace networkservices_v1beta1 {
6429
7202
  callback?:
6430
7203
  | BodyResponseCallback<Schema$Mesh>
6431
7204
  | BodyResponseCallback<Readable>
6432
- ): void | GaxiosPromise<Schema$Mesh> | GaxiosPromise<Readable> {
7205
+ ):
7206
+ | void
7207
+ | Promise<GaxiosResponseWithHTTP2<Schema$Mesh>>
7208
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6433
7209
  let params = (paramsOrCallback ||
6434
7210
  {}) as Params$Resource$Projects$Locations$Meshes$Get;
6435
7211
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6482,11 +7258,11 @@ export namespace networkservices_v1beta1 {
6482
7258
  list(
6483
7259
  params: Params$Resource$Projects$Locations$Meshes$List,
6484
7260
  options: StreamMethodOptions
6485
- ): GaxiosPromise<Readable>;
7261
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6486
7262
  list(
6487
7263
  params?: Params$Resource$Projects$Locations$Meshes$List,
6488
7264
  options?: MethodOptions
6489
- ): GaxiosPromise<Schema$ListMeshesResponse>;
7265
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListMeshesResponse>>;
6490
7266
  list(
6491
7267
  params: Params$Resource$Projects$Locations$Meshes$List,
6492
7268
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6517,8 +7293,8 @@ export namespace networkservices_v1beta1 {
6517
7293
  | BodyResponseCallback<Readable>
6518
7294
  ):
6519
7295
  | void
6520
- | GaxiosPromise<Schema$ListMeshesResponse>
6521
- | GaxiosPromise<Readable> {
7296
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListMeshesResponse>>
7297
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6522
7298
  let params = (paramsOrCallback ||
6523
7299
  {}) as Params$Resource$Projects$Locations$Meshes$List;
6524
7300
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6574,11 +7350,11 @@ export namespace networkservices_v1beta1 {
6574
7350
  patch(
6575
7351
  params: Params$Resource$Projects$Locations$Meshes$Patch,
6576
7352
  options: StreamMethodOptions
6577
- ): GaxiosPromise<Readable>;
7353
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6578
7354
  patch(
6579
7355
  params?: Params$Resource$Projects$Locations$Meshes$Patch,
6580
7356
  options?: MethodOptions
6581
- ): GaxiosPromise<Schema$Operation>;
7357
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6582
7358
  patch(
6583
7359
  params: Params$Resource$Projects$Locations$Meshes$Patch,
6584
7360
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6607,7 +7383,10 @@ export namespace networkservices_v1beta1 {
6607
7383
  callback?:
6608
7384
  | BodyResponseCallback<Schema$Operation>
6609
7385
  | BodyResponseCallback<Readable>
6610
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
7386
+ ):
7387
+ | void
7388
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
7389
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6611
7390
  let params = (paramsOrCallback ||
6612
7391
  {}) as Params$Resource$Projects$Locations$Meshes$Patch;
6613
7392
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6733,11 +7512,11 @@ export namespace networkservices_v1beta1 {
6733
7512
  get(
6734
7513
  params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get,
6735
7514
  options: StreamMethodOptions
6736
- ): GaxiosPromise<Readable>;
7515
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6737
7516
  get(
6738
7517
  params?: Params$Resource$Projects$Locations$Meshes$Routeviews$Get,
6739
7518
  options?: MethodOptions
6740
- ): GaxiosPromise<Schema$MeshRouteView>;
7519
+ ): Promise<GaxiosResponseWithHTTP2<Schema$MeshRouteView>>;
6741
7520
  get(
6742
7521
  params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get,
6743
7522
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6766,7 +7545,10 @@ export namespace networkservices_v1beta1 {
6766
7545
  callback?:
6767
7546
  | BodyResponseCallback<Schema$MeshRouteView>
6768
7547
  | BodyResponseCallback<Readable>
6769
- ): void | GaxiosPromise<Schema$MeshRouteView> | GaxiosPromise<Readable> {
7548
+ ):
7549
+ | void
7550
+ | Promise<GaxiosResponseWithHTTP2<Schema$MeshRouteView>>
7551
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6770
7552
  let params = (paramsOrCallback ||
6771
7553
  {}) as Params$Resource$Projects$Locations$Meshes$Routeviews$Get;
6772
7554
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6819,11 +7601,11 @@ export namespace networkservices_v1beta1 {
6819
7601
  list(
6820
7602
  params: Params$Resource$Projects$Locations$Meshes$Routeviews$List,
6821
7603
  options: StreamMethodOptions
6822
- ): GaxiosPromise<Readable>;
7604
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6823
7605
  list(
6824
7606
  params?: Params$Resource$Projects$Locations$Meshes$Routeviews$List,
6825
7607
  options?: MethodOptions
6826
- ): GaxiosPromise<Schema$ListMeshRouteViewsResponse>;
7608
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListMeshRouteViewsResponse>>;
6827
7609
  list(
6828
7610
  params: Params$Resource$Projects$Locations$Meshes$Routeviews$List,
6829
7611
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6858,8 +7640,8 @@ export namespace networkservices_v1beta1 {
6858
7640
  | BodyResponseCallback<Readable>
6859
7641
  ):
6860
7642
  | void
6861
- | GaxiosPromise<Schema$ListMeshRouteViewsResponse>
6862
- | GaxiosPromise<Readable> {
7643
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListMeshRouteViewsResponse>>
7644
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6863
7645
  let params = (paramsOrCallback ||
6864
7646
  {}) as Params$Resource$Projects$Locations$Meshes$Routeviews$List;
6865
7647
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -6946,11 +7728,11 @@ export namespace networkservices_v1beta1 {
6946
7728
  cancel(
6947
7729
  params: Params$Resource$Projects$Locations$Operations$Cancel,
6948
7730
  options: StreamMethodOptions
6949
- ): GaxiosPromise<Readable>;
7731
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6950
7732
  cancel(
6951
7733
  params?: Params$Resource$Projects$Locations$Operations$Cancel,
6952
7734
  options?: MethodOptions
6953
- ): GaxiosPromise<Schema$Empty>;
7735
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
6954
7736
  cancel(
6955
7737
  params: Params$Resource$Projects$Locations$Operations$Cancel,
6956
7738
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -6979,7 +7761,10 @@ export namespace networkservices_v1beta1 {
6979
7761
  callback?:
6980
7762
  | BodyResponseCallback<Schema$Empty>
6981
7763
  | BodyResponseCallback<Readable>
6982
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
7764
+ ):
7765
+ | void
7766
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
7767
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6983
7768
  let params = (paramsOrCallback ||
6984
7769
  {}) as Params$Resource$Projects$Locations$Operations$Cancel;
6985
7770
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7035,11 +7820,11 @@ export namespace networkservices_v1beta1 {
7035
7820
  delete(
7036
7821
  params: Params$Resource$Projects$Locations$Operations$Delete,
7037
7822
  options: StreamMethodOptions
7038
- ): GaxiosPromise<Readable>;
7823
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7039
7824
  delete(
7040
7825
  params?: Params$Resource$Projects$Locations$Operations$Delete,
7041
7826
  options?: MethodOptions
7042
- ): GaxiosPromise<Schema$Empty>;
7827
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
7043
7828
  delete(
7044
7829
  params: Params$Resource$Projects$Locations$Operations$Delete,
7045
7830
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7068,7 +7853,10 @@ export namespace networkservices_v1beta1 {
7068
7853
  callback?:
7069
7854
  | BodyResponseCallback<Schema$Empty>
7070
7855
  | BodyResponseCallback<Readable>
7071
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
7856
+ ):
7857
+ | void
7858
+ | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
7859
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7072
7860
  let params = (paramsOrCallback ||
7073
7861
  {}) as Params$Resource$Projects$Locations$Operations$Delete;
7074
7862
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7121,11 +7909,11 @@ export namespace networkservices_v1beta1 {
7121
7909
  get(
7122
7910
  params: Params$Resource$Projects$Locations$Operations$Get,
7123
7911
  options: StreamMethodOptions
7124
- ): GaxiosPromise<Readable>;
7912
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7125
7913
  get(
7126
7914
  params?: Params$Resource$Projects$Locations$Operations$Get,
7127
7915
  options?: MethodOptions
7128
- ): GaxiosPromise<Schema$Operation>;
7916
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
7129
7917
  get(
7130
7918
  params: Params$Resource$Projects$Locations$Operations$Get,
7131
7919
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7154,7 +7942,10 @@ export namespace networkservices_v1beta1 {
7154
7942
  callback?:
7155
7943
  | BodyResponseCallback<Schema$Operation>
7156
7944
  | BodyResponseCallback<Readable>
7157
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
7945
+ ):
7946
+ | void
7947
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
7948
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7158
7949
  let params = (paramsOrCallback ||
7159
7950
  {}) as Params$Resource$Projects$Locations$Operations$Get;
7160
7951
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7207,11 +7998,11 @@ export namespace networkservices_v1beta1 {
7207
7998
  list(
7208
7999
  params: Params$Resource$Projects$Locations$Operations$List,
7209
8000
  options: StreamMethodOptions
7210
- ): GaxiosPromise<Readable>;
8001
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7211
8002
  list(
7212
8003
  params?: Params$Resource$Projects$Locations$Operations$List,
7213
8004
  options?: MethodOptions
7214
- ): GaxiosPromise<Schema$ListOperationsResponse>;
8005
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
7215
8006
  list(
7216
8007
  params: Params$Resource$Projects$Locations$Operations$List,
7217
8008
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7244,8 +8035,8 @@ export namespace networkservices_v1beta1 {
7244
8035
  | BodyResponseCallback<Readable>
7245
8036
  ):
7246
8037
  | void
7247
- | GaxiosPromise<Schema$ListOperationsResponse>
7248
- | GaxiosPromise<Readable> {
8038
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>
8039
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7249
8040
  let params = (paramsOrCallback ||
7250
8041
  {}) as Params$Resource$Projects$Locations$Operations$List;
7251
8042
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7354,11 +8145,11 @@ export namespace networkservices_v1beta1 {
7354
8145
  create(
7355
8146
  params: Params$Resource$Projects$Locations$Servicebindings$Create,
7356
8147
  options: StreamMethodOptions
7357
- ): GaxiosPromise<Readable>;
8148
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7358
8149
  create(
7359
8150
  params?: Params$Resource$Projects$Locations$Servicebindings$Create,
7360
8151
  options?: MethodOptions
7361
- ): GaxiosPromise<Schema$Operation>;
8152
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
7362
8153
  create(
7363
8154
  params: Params$Resource$Projects$Locations$Servicebindings$Create,
7364
8155
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7387,7 +8178,10 @@ export namespace networkservices_v1beta1 {
7387
8178
  callback?:
7388
8179
  | BodyResponseCallback<Schema$Operation>
7389
8180
  | BodyResponseCallback<Readable>
7390
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
8181
+ ):
8182
+ | void
8183
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
8184
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7391
8185
  let params = (paramsOrCallback ||
7392
8186
  {}) as Params$Resource$Projects$Locations$Servicebindings$Create;
7393
8187
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7444,11 +8238,11 @@ export namespace networkservices_v1beta1 {
7444
8238
  delete(
7445
8239
  params: Params$Resource$Projects$Locations$Servicebindings$Delete,
7446
8240
  options: StreamMethodOptions
7447
- ): GaxiosPromise<Readable>;
8241
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7448
8242
  delete(
7449
8243
  params?: Params$Resource$Projects$Locations$Servicebindings$Delete,
7450
8244
  options?: MethodOptions
7451
- ): GaxiosPromise<Schema$Operation>;
8245
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
7452
8246
  delete(
7453
8247
  params: Params$Resource$Projects$Locations$Servicebindings$Delete,
7454
8248
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7477,7 +8271,10 @@ export namespace networkservices_v1beta1 {
7477
8271
  callback?:
7478
8272
  | BodyResponseCallback<Schema$Operation>
7479
8273
  | BodyResponseCallback<Readable>
7480
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
8274
+ ):
8275
+ | void
8276
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
8277
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7481
8278
  let params = (paramsOrCallback ||
7482
8279
  {}) as Params$Resource$Projects$Locations$Servicebindings$Delete;
7483
8280
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7531,11 +8328,11 @@ export namespace networkservices_v1beta1 {
7531
8328
  get(
7532
8329
  params: Params$Resource$Projects$Locations$Servicebindings$Get,
7533
8330
  options: StreamMethodOptions
7534
- ): GaxiosPromise<Readable>;
8331
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7535
8332
  get(
7536
8333
  params?: Params$Resource$Projects$Locations$Servicebindings$Get,
7537
8334
  options?: MethodOptions
7538
- ): GaxiosPromise<Schema$ServiceBinding>;
8335
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ServiceBinding>>;
7539
8336
  get(
7540
8337
  params: Params$Resource$Projects$Locations$Servicebindings$Get,
7541
8338
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7564,7 +8361,10 @@ export namespace networkservices_v1beta1 {
7564
8361
  callback?:
7565
8362
  | BodyResponseCallback<Schema$ServiceBinding>
7566
8363
  | BodyResponseCallback<Readable>
7567
- ): void | GaxiosPromise<Schema$ServiceBinding> | GaxiosPromise<Readable> {
8364
+ ):
8365
+ | void
8366
+ | Promise<GaxiosResponseWithHTTP2<Schema$ServiceBinding>>
8367
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7568
8368
  let params = (paramsOrCallback ||
7569
8369
  {}) as Params$Resource$Projects$Locations$Servicebindings$Get;
7570
8370
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7617,11 +8417,11 @@ export namespace networkservices_v1beta1 {
7617
8417
  list(
7618
8418
  params: Params$Resource$Projects$Locations$Servicebindings$List,
7619
8419
  options: StreamMethodOptions
7620
- ): GaxiosPromise<Readable>;
8420
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7621
8421
  list(
7622
8422
  params?: Params$Resource$Projects$Locations$Servicebindings$List,
7623
8423
  options?: MethodOptions
7624
- ): GaxiosPromise<Schema$ListServiceBindingsResponse>;
8424
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListServiceBindingsResponse>>;
7625
8425
  list(
7626
8426
  params: Params$Resource$Projects$Locations$Servicebindings$List,
7627
8427
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7656,8 +8456,8 @@ export namespace networkservices_v1beta1 {
7656
8456
  | BodyResponseCallback<Readable>
7657
8457
  ):
7658
8458
  | void
7659
- | GaxiosPromise<Schema$ListServiceBindingsResponse>
7660
- | GaxiosPromise<Readable> {
8459
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListServiceBindingsResponse>>
8460
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7661
8461
  let params = (paramsOrCallback ||
7662
8462
  {}) as Params$Resource$Projects$Locations$Servicebindings$List;
7663
8463
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7766,11 +8566,11 @@ export namespace networkservices_v1beta1 {
7766
8566
  create(
7767
8567
  params: Params$Resource$Projects$Locations$Servicelbpolicies$Create,
7768
8568
  options: StreamMethodOptions
7769
- ): GaxiosPromise<Readable>;
8569
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7770
8570
  create(
7771
8571
  params?: Params$Resource$Projects$Locations$Servicelbpolicies$Create,
7772
8572
  options?: MethodOptions
7773
- ): GaxiosPromise<Schema$Operation>;
8573
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
7774
8574
  create(
7775
8575
  params: Params$Resource$Projects$Locations$Servicelbpolicies$Create,
7776
8576
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7799,7 +8599,10 @@ export namespace networkservices_v1beta1 {
7799
8599
  callback?:
7800
8600
  | BodyResponseCallback<Schema$Operation>
7801
8601
  | BodyResponseCallback<Readable>
7802
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
8602
+ ):
8603
+ | void
8604
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
8605
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7803
8606
  let params = (paramsOrCallback ||
7804
8607
  {}) as Params$Resource$Projects$Locations$Servicelbpolicies$Create;
7805
8608
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7856,11 +8659,11 @@ export namespace networkservices_v1beta1 {
7856
8659
  delete(
7857
8660
  params: Params$Resource$Projects$Locations$Servicelbpolicies$Delete,
7858
8661
  options: StreamMethodOptions
7859
- ): GaxiosPromise<Readable>;
8662
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7860
8663
  delete(
7861
8664
  params?: Params$Resource$Projects$Locations$Servicelbpolicies$Delete,
7862
8665
  options?: MethodOptions
7863
- ): GaxiosPromise<Schema$Operation>;
8666
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
7864
8667
  delete(
7865
8668
  params: Params$Resource$Projects$Locations$Servicelbpolicies$Delete,
7866
8669
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7889,7 +8692,10 @@ export namespace networkservices_v1beta1 {
7889
8692
  callback?:
7890
8693
  | BodyResponseCallback<Schema$Operation>
7891
8694
  | BodyResponseCallback<Readable>
7892
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
8695
+ ):
8696
+ | void
8697
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
8698
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7893
8699
  let params = (paramsOrCallback ||
7894
8700
  {}) as Params$Resource$Projects$Locations$Servicelbpolicies$Delete;
7895
8701
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -7943,11 +8749,11 @@ export namespace networkservices_v1beta1 {
7943
8749
  get(
7944
8750
  params: Params$Resource$Projects$Locations$Servicelbpolicies$Get,
7945
8751
  options: StreamMethodOptions
7946
- ): GaxiosPromise<Readable>;
8752
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7947
8753
  get(
7948
8754
  params?: Params$Resource$Projects$Locations$Servicelbpolicies$Get,
7949
8755
  options?: MethodOptions
7950
- ): GaxiosPromise<Schema$ServiceLbPolicy>;
8756
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ServiceLbPolicy>>;
7951
8757
  get(
7952
8758
  params: Params$Resource$Projects$Locations$Servicelbpolicies$Get,
7953
8759
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -7976,7 +8782,10 @@ export namespace networkservices_v1beta1 {
7976
8782
  callback?:
7977
8783
  | BodyResponseCallback<Schema$ServiceLbPolicy>
7978
8784
  | BodyResponseCallback<Readable>
7979
- ): void | GaxiosPromise<Schema$ServiceLbPolicy> | GaxiosPromise<Readable> {
8785
+ ):
8786
+ | void
8787
+ | Promise<GaxiosResponseWithHTTP2<Schema$ServiceLbPolicy>>
8788
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7980
8789
  let params = (paramsOrCallback ||
7981
8790
  {}) as Params$Resource$Projects$Locations$Servicelbpolicies$Get;
7982
8791
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8029,11 +8838,11 @@ export namespace networkservices_v1beta1 {
8029
8838
  list(
8030
8839
  params: Params$Resource$Projects$Locations$Servicelbpolicies$List,
8031
8840
  options: StreamMethodOptions
8032
- ): GaxiosPromise<Readable>;
8841
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8033
8842
  list(
8034
8843
  params?: Params$Resource$Projects$Locations$Servicelbpolicies$List,
8035
8844
  options?: MethodOptions
8036
- ): GaxiosPromise<Schema$ListServiceLbPoliciesResponse>;
8845
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListServiceLbPoliciesResponse>>;
8037
8846
  list(
8038
8847
  params: Params$Resource$Projects$Locations$Servicelbpolicies$List,
8039
8848
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8068,8 +8877,8 @@ export namespace networkservices_v1beta1 {
8068
8877
  | BodyResponseCallback<Readable>
8069
8878
  ):
8070
8879
  | void
8071
- | GaxiosPromise<Schema$ListServiceLbPoliciesResponse>
8072
- | GaxiosPromise<Readable> {
8880
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListServiceLbPoliciesResponse>>
8881
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8073
8882
  let params = (paramsOrCallback ||
8074
8883
  {}) as Params$Resource$Projects$Locations$Servicelbpolicies$List;
8075
8884
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8128,11 +8937,11 @@ export namespace networkservices_v1beta1 {
8128
8937
  patch(
8129
8938
  params: Params$Resource$Projects$Locations$Servicelbpolicies$Patch,
8130
8939
  options: StreamMethodOptions
8131
- ): GaxiosPromise<Readable>;
8940
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8132
8941
  patch(
8133
8942
  params?: Params$Resource$Projects$Locations$Servicelbpolicies$Patch,
8134
8943
  options?: MethodOptions
8135
- ): GaxiosPromise<Schema$Operation>;
8944
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
8136
8945
  patch(
8137
8946
  params: Params$Resource$Projects$Locations$Servicelbpolicies$Patch,
8138
8947
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8161,7 +8970,10 @@ export namespace networkservices_v1beta1 {
8161
8970
  callback?:
8162
8971
  | BodyResponseCallback<Schema$Operation>
8163
8972
  | BodyResponseCallback<Readable>
8164
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
8973
+ ):
8974
+ | void
8975
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
8976
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8165
8977
  let params = (paramsOrCallback ||
8166
8978
  {}) as Params$Resource$Projects$Locations$Servicelbpolicies$Patch;
8167
8979
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8284,11 +9096,11 @@ export namespace networkservices_v1beta1 {
8284
9096
  create(
8285
9097
  params: Params$Resource$Projects$Locations$Tcproutes$Create,
8286
9098
  options: StreamMethodOptions
8287
- ): GaxiosPromise<Readable>;
9099
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8288
9100
  create(
8289
9101
  params?: Params$Resource$Projects$Locations$Tcproutes$Create,
8290
9102
  options?: MethodOptions
8291
- ): GaxiosPromise<Schema$Operation>;
9103
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
8292
9104
  create(
8293
9105
  params: Params$Resource$Projects$Locations$Tcproutes$Create,
8294
9106
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8317,7 +9129,10 @@ export namespace networkservices_v1beta1 {
8317
9129
  callback?:
8318
9130
  | BodyResponseCallback<Schema$Operation>
8319
9131
  | BodyResponseCallback<Readable>
8320
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
9132
+ ):
9133
+ | void
9134
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
9135
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8321
9136
  let params = (paramsOrCallback ||
8322
9137
  {}) as Params$Resource$Projects$Locations$Tcproutes$Create;
8323
9138
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8373,11 +9188,11 @@ export namespace networkservices_v1beta1 {
8373
9188
  delete(
8374
9189
  params: Params$Resource$Projects$Locations$Tcproutes$Delete,
8375
9190
  options: StreamMethodOptions
8376
- ): GaxiosPromise<Readable>;
9191
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8377
9192
  delete(
8378
9193
  params?: Params$Resource$Projects$Locations$Tcproutes$Delete,
8379
9194
  options?: MethodOptions
8380
- ): GaxiosPromise<Schema$Operation>;
9195
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
8381
9196
  delete(
8382
9197
  params: Params$Resource$Projects$Locations$Tcproutes$Delete,
8383
9198
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8406,7 +9221,10 @@ export namespace networkservices_v1beta1 {
8406
9221
  callback?:
8407
9222
  | BodyResponseCallback<Schema$Operation>
8408
9223
  | BodyResponseCallback<Readable>
8409
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
9224
+ ):
9225
+ | void
9226
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
9227
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8410
9228
  let params = (paramsOrCallback ||
8411
9229
  {}) as Params$Resource$Projects$Locations$Tcproutes$Delete;
8412
9230
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8459,11 +9277,11 @@ export namespace networkservices_v1beta1 {
8459
9277
  get(
8460
9278
  params: Params$Resource$Projects$Locations$Tcproutes$Get,
8461
9279
  options: StreamMethodOptions
8462
- ): GaxiosPromise<Readable>;
9280
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8463
9281
  get(
8464
9282
  params?: Params$Resource$Projects$Locations$Tcproutes$Get,
8465
9283
  options?: MethodOptions
8466
- ): GaxiosPromise<Schema$TcpRoute>;
9284
+ ): Promise<GaxiosResponseWithHTTP2<Schema$TcpRoute>>;
8467
9285
  get(
8468
9286
  params: Params$Resource$Projects$Locations$Tcproutes$Get,
8469
9287
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8492,7 +9310,10 @@ export namespace networkservices_v1beta1 {
8492
9310
  callback?:
8493
9311
  | BodyResponseCallback<Schema$TcpRoute>
8494
9312
  | BodyResponseCallback<Readable>
8495
- ): void | GaxiosPromise<Schema$TcpRoute> | GaxiosPromise<Readable> {
9313
+ ):
9314
+ | void
9315
+ | Promise<GaxiosResponseWithHTTP2<Schema$TcpRoute>>
9316
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8496
9317
  let params = (paramsOrCallback ||
8497
9318
  {}) as Params$Resource$Projects$Locations$Tcproutes$Get;
8498
9319
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8545,11 +9366,11 @@ export namespace networkservices_v1beta1 {
8545
9366
  list(
8546
9367
  params: Params$Resource$Projects$Locations$Tcproutes$List,
8547
9368
  options: StreamMethodOptions
8548
- ): GaxiosPromise<Readable>;
9369
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8549
9370
  list(
8550
9371
  params?: Params$Resource$Projects$Locations$Tcproutes$List,
8551
9372
  options?: MethodOptions
8552
- ): GaxiosPromise<Schema$ListTcpRoutesResponse>;
9373
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListTcpRoutesResponse>>;
8553
9374
  list(
8554
9375
  params: Params$Resource$Projects$Locations$Tcproutes$List,
8555
9376
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8582,8 +9403,8 @@ export namespace networkservices_v1beta1 {
8582
9403
  | BodyResponseCallback<Readable>
8583
9404
  ):
8584
9405
  | void
8585
- | GaxiosPromise<Schema$ListTcpRoutesResponse>
8586
- | GaxiosPromise<Readable> {
9406
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListTcpRoutesResponse>>
9407
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8587
9408
  let params = (paramsOrCallback ||
8588
9409
  {}) as Params$Resource$Projects$Locations$Tcproutes$List;
8589
9410
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8639,11 +9460,11 @@ export namespace networkservices_v1beta1 {
8639
9460
  patch(
8640
9461
  params: Params$Resource$Projects$Locations$Tcproutes$Patch,
8641
9462
  options: StreamMethodOptions
8642
- ): GaxiosPromise<Readable>;
9463
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8643
9464
  patch(
8644
9465
  params?: Params$Resource$Projects$Locations$Tcproutes$Patch,
8645
9466
  options?: MethodOptions
8646
- ): GaxiosPromise<Schema$Operation>;
9467
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
8647
9468
  patch(
8648
9469
  params: Params$Resource$Projects$Locations$Tcproutes$Patch,
8649
9470
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8672,7 +9493,10 @@ export namespace networkservices_v1beta1 {
8672
9493
  callback?:
8673
9494
  | BodyResponseCallback<Schema$Operation>
8674
9495
  | BodyResponseCallback<Readable>
8675
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
9496
+ ):
9497
+ | void
9498
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
9499
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8676
9500
  let params = (paramsOrCallback ||
8677
9501
  {}) as Params$Resource$Projects$Locations$Tcproutes$Patch;
8678
9502
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8759,6 +9583,10 @@ export namespace networkservices_v1beta1 {
8759
9583
  * Required. The project and location from which the TcpRoutes should be listed, specified in the format `projects/x/locations/global`.
8760
9584
  */
8761
9585
  parent?: string;
9586
+ /**
9587
+ * Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
9588
+ */
9589
+ returnPartialSuccess?: boolean;
8762
9590
  }
8763
9591
  export interface Params$Resource$Projects$Locations$Tcproutes$Patch
8764
9592
  extends StandardParameters {
@@ -8794,11 +9622,11 @@ export namespace networkservices_v1beta1 {
8794
9622
  create(
8795
9623
  params: Params$Resource$Projects$Locations$Tlsroutes$Create,
8796
9624
  options: StreamMethodOptions
8797
- ): GaxiosPromise<Readable>;
9625
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8798
9626
  create(
8799
9627
  params?: Params$Resource$Projects$Locations$Tlsroutes$Create,
8800
9628
  options?: MethodOptions
8801
- ): GaxiosPromise<Schema$Operation>;
9629
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
8802
9630
  create(
8803
9631
  params: Params$Resource$Projects$Locations$Tlsroutes$Create,
8804
9632
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8827,7 +9655,10 @@ export namespace networkservices_v1beta1 {
8827
9655
  callback?:
8828
9656
  | BodyResponseCallback<Schema$Operation>
8829
9657
  | BodyResponseCallback<Readable>
8830
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
9658
+ ):
9659
+ | void
9660
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
9661
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8831
9662
  let params = (paramsOrCallback ||
8832
9663
  {}) as Params$Resource$Projects$Locations$Tlsroutes$Create;
8833
9664
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8883,11 +9714,11 @@ export namespace networkservices_v1beta1 {
8883
9714
  delete(
8884
9715
  params: Params$Resource$Projects$Locations$Tlsroutes$Delete,
8885
9716
  options: StreamMethodOptions
8886
- ): GaxiosPromise<Readable>;
9717
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8887
9718
  delete(
8888
9719
  params?: Params$Resource$Projects$Locations$Tlsroutes$Delete,
8889
9720
  options?: MethodOptions
8890
- ): GaxiosPromise<Schema$Operation>;
9721
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
8891
9722
  delete(
8892
9723
  params: Params$Resource$Projects$Locations$Tlsroutes$Delete,
8893
9724
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -8916,7 +9747,10 @@ export namespace networkservices_v1beta1 {
8916
9747
  callback?:
8917
9748
  | BodyResponseCallback<Schema$Operation>
8918
9749
  | BodyResponseCallback<Readable>
8919
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
9750
+ ):
9751
+ | void
9752
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
9753
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
8920
9754
  let params = (paramsOrCallback ||
8921
9755
  {}) as Params$Resource$Projects$Locations$Tlsroutes$Delete;
8922
9756
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -8969,11 +9803,11 @@ export namespace networkservices_v1beta1 {
8969
9803
  get(
8970
9804
  params: Params$Resource$Projects$Locations$Tlsroutes$Get,
8971
9805
  options: StreamMethodOptions
8972
- ): GaxiosPromise<Readable>;
9806
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8973
9807
  get(
8974
9808
  params?: Params$Resource$Projects$Locations$Tlsroutes$Get,
8975
9809
  options?: MethodOptions
8976
- ): GaxiosPromise<Schema$TlsRoute>;
9810
+ ): Promise<GaxiosResponseWithHTTP2<Schema$TlsRoute>>;
8977
9811
  get(
8978
9812
  params: Params$Resource$Projects$Locations$Tlsroutes$Get,
8979
9813
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9002,7 +9836,10 @@ export namespace networkservices_v1beta1 {
9002
9836
  callback?:
9003
9837
  | BodyResponseCallback<Schema$TlsRoute>
9004
9838
  | BodyResponseCallback<Readable>
9005
- ): void | GaxiosPromise<Schema$TlsRoute> | GaxiosPromise<Readable> {
9839
+ ):
9840
+ | void
9841
+ | Promise<GaxiosResponseWithHTTP2<Schema$TlsRoute>>
9842
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9006
9843
  let params = (paramsOrCallback ||
9007
9844
  {}) as Params$Resource$Projects$Locations$Tlsroutes$Get;
9008
9845
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9055,11 +9892,11 @@ export namespace networkservices_v1beta1 {
9055
9892
  list(
9056
9893
  params: Params$Resource$Projects$Locations$Tlsroutes$List,
9057
9894
  options: StreamMethodOptions
9058
- ): GaxiosPromise<Readable>;
9895
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9059
9896
  list(
9060
9897
  params?: Params$Resource$Projects$Locations$Tlsroutes$List,
9061
9898
  options?: MethodOptions
9062
- ): GaxiosPromise<Schema$ListTlsRoutesResponse>;
9899
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListTlsRoutesResponse>>;
9063
9900
  list(
9064
9901
  params: Params$Resource$Projects$Locations$Tlsroutes$List,
9065
9902
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9092,8 +9929,8 @@ export namespace networkservices_v1beta1 {
9092
9929
  | BodyResponseCallback<Readable>
9093
9930
  ):
9094
9931
  | void
9095
- | GaxiosPromise<Schema$ListTlsRoutesResponse>
9096
- | GaxiosPromise<Readable> {
9932
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListTlsRoutesResponse>>
9933
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9097
9934
  let params = (paramsOrCallback ||
9098
9935
  {}) as Params$Resource$Projects$Locations$Tlsroutes$List;
9099
9936
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9149,11 +9986,11 @@ export namespace networkservices_v1beta1 {
9149
9986
  patch(
9150
9987
  params: Params$Resource$Projects$Locations$Tlsroutes$Patch,
9151
9988
  options: StreamMethodOptions
9152
- ): GaxiosPromise<Readable>;
9989
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9153
9990
  patch(
9154
9991
  params?: Params$Resource$Projects$Locations$Tlsroutes$Patch,
9155
9992
  options?: MethodOptions
9156
- ): GaxiosPromise<Schema$Operation>;
9993
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
9157
9994
  patch(
9158
9995
  params: Params$Resource$Projects$Locations$Tlsroutes$Patch,
9159
9996
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9182,7 +10019,10 @@ export namespace networkservices_v1beta1 {
9182
10019
  callback?:
9183
10020
  | BodyResponseCallback<Schema$Operation>
9184
10021
  | BodyResponseCallback<Readable>
9185
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
10022
+ ):
10023
+ | void
10024
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
10025
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9186
10026
  let params = (paramsOrCallback ||
9187
10027
  {}) as Params$Resource$Projects$Locations$Tlsroutes$Patch;
9188
10028
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9269,6 +10109,10 @@ export namespace networkservices_v1beta1 {
9269
10109
  * Required. The project and location from which the TlsRoutes should be listed, specified in the format `projects/x/locations/global`.
9270
10110
  */
9271
10111
  parent?: string;
10112
+ /**
10113
+ * Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
10114
+ */
10115
+ returnPartialSuccess?: boolean;
9272
10116
  }
9273
10117
  export interface Params$Resource$Projects$Locations$Tlsroutes$Patch
9274
10118
  extends StandardParameters {
@@ -9308,11 +10152,11 @@ export namespace networkservices_v1beta1 {
9308
10152
  create(
9309
10153
  params: Params$Resource$Projects$Locations$Wasmplugins$Create,
9310
10154
  options: StreamMethodOptions
9311
- ): GaxiosPromise<Readable>;
10155
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9312
10156
  create(
9313
10157
  params?: Params$Resource$Projects$Locations$Wasmplugins$Create,
9314
10158
  options?: MethodOptions
9315
- ): GaxiosPromise<Schema$Operation>;
10159
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
9316
10160
  create(
9317
10161
  params: Params$Resource$Projects$Locations$Wasmplugins$Create,
9318
10162
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9341,7 +10185,10 @@ export namespace networkservices_v1beta1 {
9341
10185
  callback?:
9342
10186
  | BodyResponseCallback<Schema$Operation>
9343
10187
  | BodyResponseCallback<Readable>
9344
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
10188
+ ):
10189
+ | void
10190
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
10191
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9345
10192
  let params = (paramsOrCallback ||
9346
10193
  {}) as Params$Resource$Projects$Locations$Wasmplugins$Create;
9347
10194
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9397,11 +10244,11 @@ export namespace networkservices_v1beta1 {
9397
10244
  delete(
9398
10245
  params: Params$Resource$Projects$Locations$Wasmplugins$Delete,
9399
10246
  options: StreamMethodOptions
9400
- ): GaxiosPromise<Readable>;
10247
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9401
10248
  delete(
9402
10249
  params?: Params$Resource$Projects$Locations$Wasmplugins$Delete,
9403
10250
  options?: MethodOptions
9404
- ): GaxiosPromise<Schema$Operation>;
10251
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
9405
10252
  delete(
9406
10253
  params: Params$Resource$Projects$Locations$Wasmplugins$Delete,
9407
10254
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9430,7 +10277,10 @@ export namespace networkservices_v1beta1 {
9430
10277
  callback?:
9431
10278
  | BodyResponseCallback<Schema$Operation>
9432
10279
  | BodyResponseCallback<Readable>
9433
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
10280
+ ):
10281
+ | void
10282
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
10283
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9434
10284
  let params = (paramsOrCallback ||
9435
10285
  {}) as Params$Resource$Projects$Locations$Wasmplugins$Delete;
9436
10286
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9483,11 +10333,11 @@ export namespace networkservices_v1beta1 {
9483
10333
  get(
9484
10334
  params: Params$Resource$Projects$Locations$Wasmplugins$Get,
9485
10335
  options: StreamMethodOptions
9486
- ): GaxiosPromise<Readable>;
10336
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9487
10337
  get(
9488
10338
  params?: Params$Resource$Projects$Locations$Wasmplugins$Get,
9489
10339
  options?: MethodOptions
9490
- ): GaxiosPromise<Schema$WasmPlugin>;
10340
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WasmPlugin>>;
9491
10341
  get(
9492
10342
  params: Params$Resource$Projects$Locations$Wasmplugins$Get,
9493
10343
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9516,7 +10366,10 @@ export namespace networkservices_v1beta1 {
9516
10366
  callback?:
9517
10367
  | BodyResponseCallback<Schema$WasmPlugin>
9518
10368
  | BodyResponseCallback<Readable>
9519
- ): void | GaxiosPromise<Schema$WasmPlugin> | GaxiosPromise<Readable> {
10369
+ ):
10370
+ | void
10371
+ | Promise<GaxiosResponseWithHTTP2<Schema$WasmPlugin>>
10372
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9520
10373
  let params = (paramsOrCallback ||
9521
10374
  {}) as Params$Resource$Projects$Locations$Wasmplugins$Get;
9522
10375
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9569,11 +10422,11 @@ export namespace networkservices_v1beta1 {
9569
10422
  list(
9570
10423
  params: Params$Resource$Projects$Locations$Wasmplugins$List,
9571
10424
  options: StreamMethodOptions
9572
- ): GaxiosPromise<Readable>;
10425
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9573
10426
  list(
9574
10427
  params?: Params$Resource$Projects$Locations$Wasmplugins$List,
9575
10428
  options?: MethodOptions
9576
- ): GaxiosPromise<Schema$ListWasmPluginsResponse>;
10429
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListWasmPluginsResponse>>;
9577
10430
  list(
9578
10431
  params: Params$Resource$Projects$Locations$Wasmplugins$List,
9579
10432
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9606,8 +10459,8 @@ export namespace networkservices_v1beta1 {
9606
10459
  | BodyResponseCallback<Readable>
9607
10460
  ):
9608
10461
  | void
9609
- | GaxiosPromise<Schema$ListWasmPluginsResponse>
9610
- | GaxiosPromise<Readable> {
10462
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListWasmPluginsResponse>>
10463
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9611
10464
  let params = (paramsOrCallback ||
9612
10465
  {}) as Params$Resource$Projects$Locations$Wasmplugins$List;
9613
10466
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9663,11 +10516,11 @@ export namespace networkservices_v1beta1 {
9663
10516
  patch(
9664
10517
  params: Params$Resource$Projects$Locations$Wasmplugins$Patch,
9665
10518
  options: StreamMethodOptions
9666
- ): GaxiosPromise<Readable>;
10519
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9667
10520
  patch(
9668
10521
  params?: Params$Resource$Projects$Locations$Wasmplugins$Patch,
9669
10522
  options?: MethodOptions
9670
- ): GaxiosPromise<Schema$Operation>;
10523
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
9671
10524
  patch(
9672
10525
  params: Params$Resource$Projects$Locations$Wasmplugins$Patch,
9673
10526
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9696,7 +10549,10 @@ export namespace networkservices_v1beta1 {
9696
10549
  callback?:
9697
10550
  | BodyResponseCallback<Schema$Operation>
9698
10551
  | BodyResponseCallback<Readable>
9699
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
10552
+ ):
10553
+ | void
10554
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
10555
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9700
10556
  let params = (paramsOrCallback ||
9701
10557
  {}) as Params$Resource$Projects$Locations$Wasmplugins$Patch;
9702
10558
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9822,11 +10678,11 @@ export namespace networkservices_v1beta1 {
9822
10678
  create(
9823
10679
  params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create,
9824
10680
  options: StreamMethodOptions
9825
- ): GaxiosPromise<Readable>;
10681
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9826
10682
  create(
9827
10683
  params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create,
9828
10684
  options?: MethodOptions
9829
- ): GaxiosPromise<Schema$Operation>;
10685
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
9830
10686
  create(
9831
10687
  params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create,
9832
10688
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9855,7 +10711,10 @@ export namespace networkservices_v1beta1 {
9855
10711
  callback?:
9856
10712
  | BodyResponseCallback<Schema$Operation>
9857
10713
  | BodyResponseCallback<Readable>
9858
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
10714
+ ):
10715
+ | void
10716
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
10717
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9859
10718
  let params = (paramsOrCallback ||
9860
10719
  {}) as Params$Resource$Projects$Locations$Wasmplugins$Versions$Create;
9861
10720
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9912,11 +10771,11 @@ export namespace networkservices_v1beta1 {
9912
10771
  delete(
9913
10772
  params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete,
9914
10773
  options: StreamMethodOptions
9915
- ): GaxiosPromise<Readable>;
10774
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9916
10775
  delete(
9917
10776
  params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete,
9918
10777
  options?: MethodOptions
9919
- ): GaxiosPromise<Schema$Operation>;
10778
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
9920
10779
  delete(
9921
10780
  params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete,
9922
10781
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -9945,7 +10804,10 @@ export namespace networkservices_v1beta1 {
9945
10804
  callback?:
9946
10805
  | BodyResponseCallback<Schema$Operation>
9947
10806
  | BodyResponseCallback<Readable>
9948
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
10807
+ ):
10808
+ | void
10809
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
10810
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9949
10811
  let params = (paramsOrCallback ||
9950
10812
  {}) as Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete;
9951
10813
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -9999,11 +10861,11 @@ export namespace networkservices_v1beta1 {
9999
10861
  get(
10000
10862
  params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get,
10001
10863
  options: StreamMethodOptions
10002
- ): GaxiosPromise<Readable>;
10864
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10003
10865
  get(
10004
10866
  params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get,
10005
10867
  options?: MethodOptions
10006
- ): GaxiosPromise<Schema$WasmPluginVersion>;
10868
+ ): Promise<GaxiosResponseWithHTTP2<Schema$WasmPluginVersion>>;
10007
10869
  get(
10008
10870
  params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get,
10009
10871
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10034,8 +10896,8 @@ export namespace networkservices_v1beta1 {
10034
10896
  | BodyResponseCallback<Readable>
10035
10897
  ):
10036
10898
  | void
10037
- | GaxiosPromise<Schema$WasmPluginVersion>
10038
- | GaxiosPromise<Readable> {
10899
+ | Promise<GaxiosResponseWithHTTP2<Schema$WasmPluginVersion>>
10900
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10039
10901
  let params = (paramsOrCallback ||
10040
10902
  {}) as Params$Resource$Projects$Locations$Wasmplugins$Versions$Get;
10041
10903
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -10089,11 +10951,11 @@ export namespace networkservices_v1beta1 {
10089
10951
  list(
10090
10952
  params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List,
10091
10953
  options: StreamMethodOptions
10092
- ): GaxiosPromise<Readable>;
10954
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10093
10955
  list(
10094
10956
  params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$List,
10095
10957
  options?: MethodOptions
10096
- ): GaxiosPromise<Schema$ListWasmPluginVersionsResponse>;
10958
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListWasmPluginVersionsResponse>>;
10097
10959
  list(
10098
10960
  params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List,
10099
10961
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -10128,8 +10990,8 @@ export namespace networkservices_v1beta1 {
10128
10990
  | BodyResponseCallback<Readable>
10129
10991
  ):
10130
10992
  | void
10131
- | GaxiosPromise<Schema$ListWasmPluginVersionsResponse>
10132
- | GaxiosPromise<Readable> {
10993
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListWasmPluginVersionsResponse>>
10994
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10133
10995
  let params = (paramsOrCallback ||
10134
10996
  {}) as Params$Resource$Projects$Locations$Wasmplugins$Versions$List;
10135
10997
  let options = (optionsOrCallback || {}) as MethodOptions;