@googleapis/networkservices 30.0.0 → 32.0.0

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/build/v1.d.ts CHANGED
@@ -250,7 +250,7 @@ export declare namespace networkservices_v1 {
250
250
  [key: string]: string;
251
251
  } | null;
252
252
  /**
253
- * Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/global/endpointPolicies/{endpoint_policy\}`.
253
+ * Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/x/endpointPolicies/{endpoint_policy\}`.
254
254
  */
255
255
  name?: string | null;
256
256
  /**
@@ -325,21 +325,33 @@ export declare namespace networkservices_v1 {
325
325
  */
326
326
  forwardHeaders?: string[] | null;
327
327
  /**
328
- * 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.
328
+ * 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. For `AuthzExtension` resources, the metadata is available under the namespace `com.google.authz_extension.`. For other types of extensions, 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.
329
329
  */
330
330
  metadata?: {
331
331
  [key: string]: any;
332
332
  } | null;
333
333
  /**
334
- * 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.
334
+ * Optional. 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. This field is required except for AuthzExtension.
335
335
  */
336
336
  name?: string | null;
337
+ /**
338
+ * Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported.
339
+ */
340
+ observabilityMode?: boolean | null;
341
+ /**
342
+ * 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.
343
+ */
344
+ requestBodySendMode?: string | null;
345
+ /**
346
+ * Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_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 `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`.
347
+ */
348
+ responseBodySendMode?: string | null;
337
349
  /**
338
350
  * 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`, the `LbRouteExtension`, and the `LbEdgeExtension` resources.
339
351
  */
340
352
  service?: string | null;
341
353
  /**
342
- * Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event.
354
+ * Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported.
343
355
  */
344
356
  supportedEvents?: string[] | null;
345
357
  /**
@@ -473,7 +485,7 @@ export declare namespace networkservices_v1 {
473
485
  */
474
486
  description?: string | null;
475
487
  /**
476
- * Optional. Gateways defines a list of gateways this GrpcRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: `projects/x/locations/global/gateways/`
488
+ * Optional. Gateways defines a list of gateways this GrpcRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: `projects/x/locations/x/gateways/`
477
489
  */
478
490
  gateways?: string[] | null;
479
491
  /**
@@ -487,11 +499,11 @@ export declare namespace networkservices_v1 {
487
499
  [key: string]: string;
488
500
  } | null;
489
501
  /**
490
- * Optional. Meshes defines a list of meshes this GrpcRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: `projects/x/locations/global/meshes/`
502
+ * Optional. Meshes defines a list of meshes this GrpcRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: `projects/x/locations/x/meshes/`
491
503
  */
492
504
  meshes?: string[] | null;
493
505
  /**
494
- * Identifier. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/global/grpcRoutes/`
506
+ * Identifier. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/x/grpcRoutes/`
495
507
  */
496
508
  name?: string | null;
497
509
  /**
@@ -687,7 +699,7 @@ export declare namespace networkservices_v1 {
687
699
  */
688
700
  description?: string | null;
689
701
  /**
690
- * Optional. Gateways defines a list of gateways this HttpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: `projects/x/locations/global/gateways/`
702
+ * Optional. Gateways defines a list of gateways this HttpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: `projects/x/locations/x/gateways/`
691
703
  */
692
704
  gateways?: string[] | null;
693
705
  /**
@@ -701,11 +713,11 @@ export declare namespace networkservices_v1 {
701
713
  [key: string]: string;
702
714
  } | null;
703
715
  /**
704
- * Optional. Meshes defines a list of meshes this HttpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: `projects/x/locations/global/meshes/` The attached Mesh should be of a type SIDECAR
716
+ * Optional. Meshes defines a list of meshes this HttpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: `projects/x/locations/x/meshes/` The attached Mesh should be of a type SIDECAR
705
717
  */
706
718
  meshes?: string[] | null;
707
719
  /**
708
- * Identifier. Name of the HttpRoute resource. It matches pattern `projects/x/locations/global/httpRoutes/http_route_name\>`.
720
+ * Identifier. Name of the HttpRoute resource. It matches pattern `projects/x/locations/x/httpRoutes/http_route_name\>`.
709
721
  */
710
722
  name?: string | null;
711
723
  /**
@@ -1111,6 +1123,45 @@ export declare namespace networkservices_v1 {
1111
1123
  */
1112
1124
  pathPrefixRewrite?: string | null;
1113
1125
  }
1126
+ /**
1127
+ * `LbEdgeExtension` is a resource that lets the extension service influence the selection of backend services and Cloud CDN cache keys by modifying request headers.
1128
+ */
1129
+ export interface Schema$LbEdgeExtension {
1130
+ /**
1131
+ * Output only. The timestamp when the resource was created.
1132
+ */
1133
+ createTime?: string | null;
1134
+ /**
1135
+ * Optional. A human-readable description of the resource.
1136
+ */
1137
+ description?: string | null;
1138
+ /**
1139
+ * 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.
1140
+ */
1141
+ extensionChains?: Schema$ExtensionChain[];
1142
+ /**
1143
+ * 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.
1144
+ */
1145
+ forwardingRules?: string[] | null;
1146
+ /**
1147
+ * 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.
1148
+ */
1149
+ labels?: {
1150
+ [key: string]: string;
1151
+ } | null;
1152
+ /**
1153
+ * Required. All forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `EXTERNAL_MANAGED`.
1154
+ */
1155
+ loadBalancingScheme?: string | null;
1156
+ /**
1157
+ * Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
1158
+ */
1159
+ name?: string | null;
1160
+ /**
1161
+ * Output only. The timestamp when the resource was updated.
1162
+ */
1163
+ updateTime?: string | null;
1164
+ }
1114
1165
  /**
1115
1166
  * `LbRouteExtension` is a resource that lets you control where traffic is routed to for a given request.
1116
1167
  */
@@ -1303,6 +1354,23 @@ export declare namespace networkservices_v1 {
1303
1354
  */
1304
1355
  unreachable?: string[] | null;
1305
1356
  }
1357
+ /**
1358
+ * Message for response to listing `LbEdgeExtension` resources.
1359
+ */
1360
+ export interface Schema$ListLbEdgeExtensionsResponse {
1361
+ /**
1362
+ * The list of `LbEdgeExtension` resources.
1363
+ */
1364
+ lbEdgeExtensions?: Schema$LbEdgeExtension[];
1365
+ /**
1366
+ * A token identifying a page of results that the server returns.
1367
+ */
1368
+ nextPageToken?: string | null;
1369
+ /**
1370
+ * Locations that could not be reached.
1371
+ */
1372
+ unreachable?: string[] | null;
1373
+ }
1306
1374
  /**
1307
1375
  * Message for response to listing `LbRouteExtension` resources.
1308
1376
  */
@@ -1396,6 +1464,10 @@ export declare namespace networkservices_v1 {
1396
1464
  * A list of operations that matches the specified filter in the request.
1397
1465
  */
1398
1466
  operations?: Schema$Operation[];
1467
+ /**
1468
+ * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
1469
+ */
1470
+ unreachable?: string[] | null;
1399
1471
  }
1400
1472
  /**
1401
1473
  * Response returned by the ListServiceBindings method.
@@ -1564,7 +1636,7 @@ export declare namespace networkservices_v1 {
1564
1636
  [key: string]: string;
1565
1637
  } | null;
1566
1638
  /**
1567
- * Identifier. Name of the Mesh resource. It matches pattern `projects/x/locations/global/meshes/`.
1639
+ * Identifier. Name of the Mesh resource. It matches pattern `projects/x/locations/x/meshes/`.
1568
1640
  */
1569
1641
  name?: string | null;
1570
1642
  /**
@@ -1844,7 +1916,7 @@ export declare namespace networkservices_v1 {
1844
1916
  */
1845
1917
  description?: string | null;
1846
1918
  /**
1847
- * Optional. Gateways defines a list of gateways this TcpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: `projects/x/locations/global/gateways/`
1919
+ * Optional. Gateways defines a list of gateways this TcpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: `projects/x/locations/x/gateways/`
1848
1920
  */
1849
1921
  gateways?: string[] | null;
1850
1922
  /**
@@ -1854,11 +1926,11 @@ export declare namespace networkservices_v1 {
1854
1926
  [key: string]: string;
1855
1927
  } | null;
1856
1928
  /**
1857
- * Optional. Meshes defines a list of meshes this TcpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: `projects/x/locations/global/meshes/` The attached Mesh should be of a type SIDECAR
1929
+ * Optional. Meshes defines a list of meshes this TcpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: `projects/x/locations/x/meshes/` The attached Mesh should be of a type SIDECAR
1858
1930
  */
1859
1931
  meshes?: string[] | null;
1860
1932
  /**
1861
- * Identifier. Name of the TcpRoute resource. It matches pattern `projects/x/locations/global/tcpRoutes/tcp_route_name\>`.
1933
+ * Identifier. Name of the TcpRoute resource. It matches pattern `projects/x/locations/x/tcpRoutes/tcp_route_name\>`.
1862
1934
  */
1863
1935
  name?: string | null;
1864
1936
  /**
@@ -1961,7 +2033,7 @@ export declare namespace networkservices_v1 {
1961
2033
  */
1962
2034
  description?: string | null;
1963
2035
  /**
1964
- * Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: `projects/x/locations/global/gateways/`
2036
+ * Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: `projects/x/locations/x/gateways/`
1965
2037
  */
1966
2038
  gateways?: string[] | null;
1967
2039
  /**
@@ -1971,11 +2043,11 @@ export declare namespace networkservices_v1 {
1971
2043
  [key: string]: string;
1972
2044
  } | null;
1973
2045
  /**
1974
- * Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: `projects/x/locations/global/meshes/` The attached Mesh should be of a type SIDECAR
2046
+ * Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: `projects/x/locations/x/meshes/` The attached Mesh should be of a type SIDECAR
1975
2047
  */
1976
2048
  meshes?: string[] | null;
1977
2049
  /**
1978
- * Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/global/tlsRoutes/tls_route_name\>`.
2050
+ * Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/x/tlsRoutes/tls_route_name\>`.
1979
2051
  */
1980
2052
  name?: string | null;
1981
2053
  /**
@@ -2228,6 +2300,7 @@ export declare namespace networkservices_v1 {
2228
2300
  gateways: Resource$Projects$Locations$Gateways;
2229
2301
  grpcRoutes: Resource$Projects$Locations$Grpcroutes;
2230
2302
  httpRoutes: Resource$Projects$Locations$Httproutes;
2303
+ lbEdgeExtensions: Resource$Projects$Locations$Lbedgeextensions;
2231
2304
  lbRouteExtensions: Resource$Projects$Locations$Lbrouteextensions;
2232
2305
  lbTrafficExtensions: Resource$Projects$Locations$Lbtrafficextensions;
2233
2306
  meshes: Resource$Projects$Locations$Meshes;
@@ -2333,7 +2406,7 @@ export declare namespace networkservices_v1 {
2333
2406
  *
2334
2407
  * // Do the magic
2335
2408
  * const res = await networkservices.projects.locations.list({
2336
- * // Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2409
+ * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
2337
2410
  * extraLocationTypes: 'placeholder-value',
2338
2411
  * // 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).
2339
2412
  * filter: 'placeholder-value',
@@ -2380,7 +2453,7 @@ export declare namespace networkservices_v1 {
2380
2453
  }
2381
2454
  export interface Params$Resource$Projects$Locations$List extends StandardParameters {
2382
2455
  /**
2383
- * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2456
+ * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
2384
2457
  */
2385
2458
  extraLocationTypes?: string[];
2386
2459
  /**
@@ -3639,7 +3712,7 @@ export declare namespace networkservices_v1 {
3639
3712
  * const res = await networkservices.projects.locations.endpointPolicies.create({
3640
3713
  * // Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".
3641
3714
  * endpointPolicyId: 'placeholder-value',
3642
- * // Required. The parent resource of the EndpointPolicy. Must be in the format `projects/x/locations/global`.
3715
+ * // Required. The parent resource of the EndpointPolicy. Must be in the format `projects/x/locations/x`.
3643
3716
  * parent: 'projects/my-project/locations/my-location',
3644
3717
  *
3645
3718
  * // Request body metadata
@@ -3721,7 +3794,7 @@ export declare namespace networkservices_v1 {
3721
3794
  *
3722
3795
  * // Do the magic
3723
3796
  * const res = await networkservices.projects.locations.endpointPolicies.delete({
3724
- * // Required. A name of the EndpointPolicy to delete. Must be in the format `projects/x/locations/global/endpointPolicies/x`.
3797
+ * // Required. A name of the EndpointPolicy to delete. Must be in the format `projects/x/locations/x/endpointPolicies/x`.
3725
3798
  * name: 'projects/my-project/locations/my-location/endpointPolicies/my-endpointPolicie',
3726
3799
  * });
3727
3800
  * console.log(res.data);
@@ -3785,7 +3858,7 @@ export declare namespace networkservices_v1 {
3785
3858
  *
3786
3859
  * // Do the magic
3787
3860
  * const res = await networkservices.projects.locations.endpointPolicies.get({
3788
- * // Required. A name of the EndpointPolicy to get. Must be in the format `projects/x/locations/global/endpointPolicies/x`.
3861
+ * // Required. A name of the EndpointPolicy to get. Must be in the format `projects/x/locations/x/endpointPolicies/x`.
3789
3862
  * name: 'projects/my-project/locations/my-location/endpointPolicies/my-endpointPolicie',
3790
3863
  * });
3791
3864
  * console.log(res.data);
@@ -3859,7 +3932,7 @@ export declare namespace networkservices_v1 {
3859
3932
  * pageSize: 'placeholder-value',
3860
3933
  * // The value returned by the last `ListEndpointPoliciesResponse` Indicates that this is a continuation of a prior `ListEndpointPolicies` call, and that the system should return the next page of data.
3861
3934
  * pageToken: 'placeholder-value',
3862
- * // Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/x/locations/global`.
3935
+ * // Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/x/locations/x`.
3863
3936
  * parent: 'projects/my-project/locations/my-location',
3864
3937
  * // 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.
3865
3938
  * returnPartialSuccess: 'placeholder-value',
@@ -3923,7 +3996,7 @@ export declare namespace networkservices_v1 {
3923
3996
  *
3924
3997
  * // Do the magic
3925
3998
  * const res = await networkservices.projects.locations.endpointPolicies.patch({
3926
- * // Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/global/endpointPolicies/{endpoint_policy\}`.
3999
+ * // Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/x/endpointPolicies/{endpoint_policy\}`.
3927
4000
  * name: 'projects/my-project/locations/my-location/endpointPolicies/my-endpointPolicie',
3928
4001
  * // Optional. Field mask is used to specify the fields to be overwritten in the EndpointPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
3929
4002
  * updateMask: 'placeholder-value',
@@ -3983,7 +4056,7 @@ export declare namespace networkservices_v1 {
3983
4056
  */
3984
4057
  endpointPolicyId?: string;
3985
4058
  /**
3986
- * Required. The parent resource of the EndpointPolicy. Must be in the format `projects/x/locations/global`.
4059
+ * Required. The parent resource of the EndpointPolicy. Must be in the format `projects/x/locations/x`.
3987
4060
  */
3988
4061
  parent?: string;
3989
4062
  /**
@@ -3993,13 +4066,13 @@ export declare namespace networkservices_v1 {
3993
4066
  }
3994
4067
  export interface Params$Resource$Projects$Locations$Endpointpolicies$Delete extends StandardParameters {
3995
4068
  /**
3996
- * Required. A name of the EndpointPolicy to delete. Must be in the format `projects/x/locations/global/endpointPolicies/x`.
4069
+ * Required. A name of the EndpointPolicy to delete. Must be in the format `projects/x/locations/x/endpointPolicies/x`.
3997
4070
  */
3998
4071
  name?: string;
3999
4072
  }
4000
4073
  export interface Params$Resource$Projects$Locations$Endpointpolicies$Get extends StandardParameters {
4001
4074
  /**
4002
- * Required. A name of the EndpointPolicy to get. Must be in the format `projects/x/locations/global/endpointPolicies/x`.
4075
+ * Required. A name of the EndpointPolicy to get. Must be in the format `projects/x/locations/x/endpointPolicies/x`.
4003
4076
  */
4004
4077
  name?: string;
4005
4078
  }
@@ -4013,7 +4086,7 @@ export declare namespace networkservices_v1 {
4013
4086
  */
4014
4087
  pageToken?: string;
4015
4088
  /**
4016
- * Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/x/locations/global`.
4089
+ * Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/x/locations/x`.
4017
4090
  */
4018
4091
  parent?: string;
4019
4092
  /**
@@ -4023,7 +4096,7 @@ export declare namespace networkservices_v1 {
4023
4096
  }
4024
4097
  export interface Params$Resource$Projects$Locations$Endpointpolicies$Patch extends StandardParameters {
4025
4098
  /**
4026
- * Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/global/endpointPolicies/{endpoint_policy\}`.
4099
+ * Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/x/endpointPolicies/{endpoint_policy\}`.
4027
4100
  */
4028
4101
  name?: string;
4029
4102
  /**
@@ -4675,7 +4748,7 @@ export declare namespace networkservices_v1 {
4675
4748
  * const res = await networkservices.projects.locations.grpcRoutes.create({
4676
4749
  * // Required. Short name of the GrpcRoute resource to be created.
4677
4750
  * grpcRouteId: 'placeholder-value',
4678
- * // Required. The parent resource of the GrpcRoute. Must be in the format `projects/x/locations/global`.
4751
+ * // Required. The parent resource of the GrpcRoute. Must be in the format `projects/x/locations/x`.
4679
4752
  * parent: 'projects/my-project/locations/my-location',
4680
4753
  *
4681
4754
  * // Request body metadata
@@ -4756,7 +4829,7 @@ export declare namespace networkservices_v1 {
4756
4829
  *
4757
4830
  * // Do the magic
4758
4831
  * const res = await networkservices.projects.locations.grpcRoutes.delete({
4759
- * // Required. A name of the GrpcRoute to delete. Must be in the format `projects/x/locations/global/grpcRoutes/x`.
4832
+ * // Required. A name of the GrpcRoute to delete. Must be in the format `projects/x/locations/x/grpcRoutes/x`.
4760
4833
  * name: 'projects/my-project/locations/my-location/grpcRoutes/my-grpcRoute',
4761
4834
  * });
4762
4835
  * console.log(res.data);
@@ -4820,7 +4893,7 @@ export declare namespace networkservices_v1 {
4820
4893
  *
4821
4894
  * // Do the magic
4822
4895
  * const res = await networkservices.projects.locations.grpcRoutes.get({
4823
- * // Required. A name of the GrpcRoute to get. Must be in the format `projects/x/locations/global/grpcRoutes/x`.
4896
+ * // Required. A name of the GrpcRoute to get. Must be in the format `projects/x/locations/x/grpcRoutes/x`.
4824
4897
  * name: 'projects/my-project/locations/my-location/grpcRoutes/my-grpcRoute',
4825
4898
  * });
4826
4899
  * console.log(res.data);
@@ -4893,7 +4966,7 @@ export declare namespace networkservices_v1 {
4893
4966
  * pageSize: 'placeholder-value',
4894
4967
  * // The value returned by the last `ListGrpcRoutesResponse` Indicates that this is a continuation of a prior `ListGrpcRoutes` call, and that the system should return the next page of data.
4895
4968
  * pageToken: 'placeholder-value',
4896
- * // Required. The project and location from which the GrpcRoutes should be listed, specified in the format `projects/x/locations/global`.
4969
+ * // Required. The project and location from which the GrpcRoutes should be listed, specified in the format `projects/x/locations/x`.
4897
4970
  * parent: 'projects/my-project/locations/my-location',
4898
4971
  * // 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.
4899
4972
  * returnPartialSuccess: 'placeholder-value',
@@ -4957,7 +5030,7 @@ export declare namespace networkservices_v1 {
4957
5030
  *
4958
5031
  * // Do the magic
4959
5032
  * const res = await networkservices.projects.locations.grpcRoutes.patch({
4960
- * // Identifier. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/global/grpcRoutes/`
5033
+ * // Identifier. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/x/grpcRoutes/`
4961
5034
  * name: 'projects/my-project/locations/my-location/grpcRoutes/my-grpcRoute',
4962
5035
  * // Optional. Field mask is used to specify the fields to be overwritten in the GrpcRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
4963
5036
  * updateMask: 'placeholder-value',
@@ -5016,7 +5089,7 @@ export declare namespace networkservices_v1 {
5016
5089
  */
5017
5090
  grpcRouteId?: string;
5018
5091
  /**
5019
- * Required. The parent resource of the GrpcRoute. Must be in the format `projects/x/locations/global`.
5092
+ * Required. The parent resource of the GrpcRoute. Must be in the format `projects/x/locations/x`.
5020
5093
  */
5021
5094
  parent?: string;
5022
5095
  /**
@@ -5026,13 +5099,13 @@ export declare namespace networkservices_v1 {
5026
5099
  }
5027
5100
  export interface Params$Resource$Projects$Locations$Grpcroutes$Delete extends StandardParameters {
5028
5101
  /**
5029
- * Required. A name of the GrpcRoute to delete. Must be in the format `projects/x/locations/global/grpcRoutes/x`.
5102
+ * Required. A name of the GrpcRoute to delete. Must be in the format `projects/x/locations/x/grpcRoutes/x`.
5030
5103
  */
5031
5104
  name?: string;
5032
5105
  }
5033
5106
  export interface Params$Resource$Projects$Locations$Grpcroutes$Get extends StandardParameters {
5034
5107
  /**
5035
- * Required. A name of the GrpcRoute to get. Must be in the format `projects/x/locations/global/grpcRoutes/x`.
5108
+ * Required. A name of the GrpcRoute to get. Must be in the format `projects/x/locations/x/grpcRoutes/x`.
5036
5109
  */
5037
5110
  name?: string;
5038
5111
  }
@@ -5046,7 +5119,7 @@ export declare namespace networkservices_v1 {
5046
5119
  */
5047
5120
  pageToken?: string;
5048
5121
  /**
5049
- * Required. The project and location from which the GrpcRoutes should be listed, specified in the format `projects/x/locations/global`.
5122
+ * Required. The project and location from which the GrpcRoutes should be listed, specified in the format `projects/x/locations/x`.
5050
5123
  */
5051
5124
  parent?: string;
5052
5125
  /**
@@ -5056,7 +5129,7 @@ export declare namespace networkservices_v1 {
5056
5129
  }
5057
5130
  export interface Params$Resource$Projects$Locations$Grpcroutes$Patch extends StandardParameters {
5058
5131
  /**
5059
- * Identifier. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/global/grpcRoutes/`
5132
+ * Identifier. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/x/grpcRoutes/`
5060
5133
  */
5061
5134
  name?: string;
5062
5135
  /**
@@ -5104,7 +5177,7 @@ export declare namespace networkservices_v1 {
5104
5177
  * const res = await networkservices.projects.locations.httpRoutes.create({
5105
5178
  * // Required. Short name of the HttpRoute resource to be created.
5106
5179
  * httpRouteId: 'placeholder-value',
5107
- * // Required. The parent resource of the HttpRoute. Must be in the format `projects/x/locations/global`.
5180
+ * // Required. The parent resource of the HttpRoute. Must be in the format `projects/x/locations/x`.
5108
5181
  * parent: 'projects/my-project/locations/my-location',
5109
5182
  *
5110
5183
  * // Request body metadata
@@ -5185,7 +5258,7 @@ export declare namespace networkservices_v1 {
5185
5258
  *
5186
5259
  * // Do the magic
5187
5260
  * const res = await networkservices.projects.locations.httpRoutes.delete({
5188
- * // Required. A name of the HttpRoute to delete. Must be in the format `projects/x/locations/global/httpRoutes/x`.
5261
+ * // Required. A name of the HttpRoute to delete. Must be in the format `projects/x/locations/x/httpRoutes/x`.
5189
5262
  * name: 'projects/my-project/locations/my-location/httpRoutes/my-httpRoute',
5190
5263
  * });
5191
5264
  * console.log(res.data);
@@ -5249,7 +5322,7 @@ export declare namespace networkservices_v1 {
5249
5322
  *
5250
5323
  * // Do the magic
5251
5324
  * const res = await networkservices.projects.locations.httpRoutes.get({
5252
- * // Required. A name of the HttpRoute to get. Must be in the format `projects/x/locations/global/httpRoutes/x`.
5325
+ * // Required. A name of the HttpRoute to get. Must be in the format `projects/x/locations/x/httpRoutes/x`.
5253
5326
  * name: 'projects/my-project/locations/my-location/httpRoutes/my-httpRoute',
5254
5327
  * });
5255
5328
  * console.log(res.data);
@@ -5322,7 +5395,7 @@ export declare namespace networkservices_v1 {
5322
5395
  * pageSize: 'placeholder-value',
5323
5396
  * // The value returned by the last `ListHttpRoutesResponse` Indicates that this is a continuation of a prior `ListHttpRoutes` call, and that the system should return the next page of data.
5324
5397
  * pageToken: 'placeholder-value',
5325
- * // Required. The project and location from which the HttpRoutes should be listed, specified in the format `projects/x/locations/global`.
5398
+ * // Required. The project and location from which the HttpRoutes should be listed, specified in the format `projects/x/locations/x`.
5326
5399
  * parent: 'projects/my-project/locations/my-location',
5327
5400
  * // 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.
5328
5401
  * returnPartialSuccess: 'placeholder-value',
@@ -5386,7 +5459,7 @@ export declare namespace networkservices_v1 {
5386
5459
  *
5387
5460
  * // Do the magic
5388
5461
  * const res = await networkservices.projects.locations.httpRoutes.patch({
5389
- * // Identifier. Name of the HttpRoute resource. It matches pattern `projects/x/locations/global/httpRoutes/http_route_name\>`.
5462
+ * // Identifier. Name of the HttpRoute resource. It matches pattern `projects/x/locations/x/httpRoutes/http_route_name\>`.
5390
5463
  * name: 'projects/my-project/locations/my-location/httpRoutes/my-httpRoute',
5391
5464
  * // Optional. Field mask is used to specify the fields to be overwritten in the HttpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
5392
5465
  * updateMask: 'placeholder-value',
@@ -5445,7 +5518,7 @@ export declare namespace networkservices_v1 {
5445
5518
  */
5446
5519
  httpRouteId?: string;
5447
5520
  /**
5448
- * Required. The parent resource of the HttpRoute. Must be in the format `projects/x/locations/global`.
5521
+ * Required. The parent resource of the HttpRoute. Must be in the format `projects/x/locations/x`.
5449
5522
  */
5450
5523
  parent?: string;
5451
5524
  /**
@@ -5455,13 +5528,13 @@ export declare namespace networkservices_v1 {
5455
5528
  }
5456
5529
  export interface Params$Resource$Projects$Locations$Httproutes$Delete extends StandardParameters {
5457
5530
  /**
5458
- * Required. A name of the HttpRoute to delete. Must be in the format `projects/x/locations/global/httpRoutes/x`.
5531
+ * Required. A name of the HttpRoute to delete. Must be in the format `projects/x/locations/x/httpRoutes/x`.
5459
5532
  */
5460
5533
  name?: string;
5461
5534
  }
5462
5535
  export interface Params$Resource$Projects$Locations$Httproutes$Get extends StandardParameters {
5463
5536
  /**
5464
- * Required. A name of the HttpRoute to get. Must be in the format `projects/x/locations/global/httpRoutes/x`.
5537
+ * Required. A name of the HttpRoute to get. Must be in the format `projects/x/locations/x/httpRoutes/x`.
5465
5538
  */
5466
5539
  name?: string;
5467
5540
  }
@@ -5475,7 +5548,7 @@ export declare namespace networkservices_v1 {
5475
5548
  */
5476
5549
  pageToken?: string;
5477
5550
  /**
5478
- * Required. The project and location from which the HttpRoutes should be listed, specified in the format `projects/x/locations/global`.
5551
+ * Required. The project and location from which the HttpRoutes should be listed, specified in the format `projects/x/locations/x`.
5479
5552
  */
5480
5553
  parent?: string;
5481
5554
  /**
@@ -5485,7 +5558,7 @@ export declare namespace networkservices_v1 {
5485
5558
  }
5486
5559
  export interface Params$Resource$Projects$Locations$Httproutes$Patch extends StandardParameters {
5487
5560
  /**
5488
- * Identifier. Name of the HttpRoute resource. It matches pattern `projects/x/locations/global/httpRoutes/http_route_name\>`.
5561
+ * Identifier. Name of the HttpRoute resource. It matches pattern `projects/x/locations/x/httpRoutes/http_route_name\>`.
5489
5562
  */
5490
5563
  name?: string;
5491
5564
  /**
@@ -5497,6 +5570,453 @@ export declare namespace networkservices_v1 {
5497
5570
  */
5498
5571
  requestBody?: Schema$HttpRoute;
5499
5572
  }
5573
+ export class Resource$Projects$Locations$Lbedgeextensions {
5574
+ context: APIRequestContext;
5575
+ constructor(context: APIRequestContext);
5576
+ /**
5577
+ * Creates a new `LbEdgeExtension` resource in a given project and location.
5578
+ * @example
5579
+ * ```js
5580
+ * // Before running the sample:
5581
+ * // - Enable the API at:
5582
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
5583
+ * // - Login into gcloud by running:
5584
+ * // ```sh
5585
+ * // $ gcloud auth application-default login
5586
+ * // ```
5587
+ * // - Install the npm module by running:
5588
+ * // ```sh
5589
+ * // $ npm install googleapis
5590
+ * // ```
5591
+ *
5592
+ * const {google} = require('googleapis');
5593
+ * const networkservices = google.networkservices('v1');
5594
+ *
5595
+ * async function main() {
5596
+ * const auth = new google.auth.GoogleAuth({
5597
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5598
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
5599
+ * });
5600
+ *
5601
+ * // Acquire an auth client, and bind it to all future calls
5602
+ * const authClient = await auth.getClient();
5603
+ * google.options({auth: authClient});
5604
+ *
5605
+ * // Do the magic
5606
+ * const res = await networkservices.projects.locations.lbEdgeExtensions.create({
5607
+ * // Required. User-provided ID of the `LbEdgeExtension` resource to be created.
5608
+ * lbEdgeExtensionId: 'placeholder-value',
5609
+ * // Required. The parent resource of the `LbEdgeExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
5610
+ * parent: 'projects/my-project/locations/my-location',
5611
+ * // 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).
5612
+ * requestId: 'placeholder-value',
5613
+ *
5614
+ * // Request body metadata
5615
+ * requestBody: {
5616
+ * // request body parameters
5617
+ * // {
5618
+ * // "createTime": "my_createTime",
5619
+ * // "description": "my_description",
5620
+ * // "extensionChains": [],
5621
+ * // "forwardingRules": [],
5622
+ * // "labels": {},
5623
+ * // "loadBalancingScheme": "my_loadBalancingScheme",
5624
+ * // "name": "my_name",
5625
+ * // "updateTime": "my_updateTime"
5626
+ * // }
5627
+ * },
5628
+ * });
5629
+ * console.log(res.data);
5630
+ *
5631
+ * // Example response
5632
+ * // {
5633
+ * // "done": false,
5634
+ * // "error": {},
5635
+ * // "metadata": {},
5636
+ * // "name": "my_name",
5637
+ * // "response": {}
5638
+ * // }
5639
+ * }
5640
+ *
5641
+ * main().catch(e => {
5642
+ * console.error(e);
5643
+ * throw e;
5644
+ * });
5645
+ *
5646
+ * ```
5647
+ *
5648
+ * @param params - Parameters for request
5649
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5650
+ * @param callback - Optional callback that handles the response.
5651
+ * @returns A promise if used with async/await, or void if used with a callback.
5652
+ */
5653
+ create(params: Params$Resource$Projects$Locations$Lbedgeextensions$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5654
+ create(params?: Params$Resource$Projects$Locations$Lbedgeextensions$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5655
+ create(params: Params$Resource$Projects$Locations$Lbedgeextensions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5656
+ create(params: Params$Resource$Projects$Locations$Lbedgeextensions$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5657
+ create(params: Params$Resource$Projects$Locations$Lbedgeextensions$Create, callback: BodyResponseCallback<Schema$Operation>): void;
5658
+ create(callback: BodyResponseCallback<Schema$Operation>): void;
5659
+ /**
5660
+ * Deletes the specified `LbEdgeExtension` resource.
5661
+ * @example
5662
+ * ```js
5663
+ * // Before running the sample:
5664
+ * // - Enable the API at:
5665
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
5666
+ * // - Login into gcloud by running:
5667
+ * // ```sh
5668
+ * // $ gcloud auth application-default login
5669
+ * // ```
5670
+ * // - Install the npm module by running:
5671
+ * // ```sh
5672
+ * // $ npm install googleapis
5673
+ * // ```
5674
+ *
5675
+ * const {google} = require('googleapis');
5676
+ * const networkservices = google.networkservices('v1');
5677
+ *
5678
+ * async function main() {
5679
+ * const auth = new google.auth.GoogleAuth({
5680
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5681
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
5682
+ * });
5683
+ *
5684
+ * // Acquire an auth client, and bind it to all future calls
5685
+ * const authClient = await auth.getClient();
5686
+ * google.options({auth: authClient});
5687
+ *
5688
+ * // Do the magic
5689
+ * const res = await networkservices.projects.locations.lbEdgeExtensions.delete({
5690
+ * // Required. The name of the `LbEdgeExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
5691
+ * name: 'projects/my-project/locations/my-location/lbEdgeExtensions/my-lbEdgeExtension',
5692
+ * // 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).
5693
+ * requestId: 'placeholder-value',
5694
+ * });
5695
+ * console.log(res.data);
5696
+ *
5697
+ * // Example response
5698
+ * // {
5699
+ * // "done": false,
5700
+ * // "error": {},
5701
+ * // "metadata": {},
5702
+ * // "name": "my_name",
5703
+ * // "response": {}
5704
+ * // }
5705
+ * }
5706
+ *
5707
+ * main().catch(e => {
5708
+ * console.error(e);
5709
+ * throw e;
5710
+ * });
5711
+ *
5712
+ * ```
5713
+ *
5714
+ * @param params - Parameters for request
5715
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5716
+ * @param callback - Optional callback that handles the response.
5717
+ * @returns A promise if used with async/await, or void if used with a callback.
5718
+ */
5719
+ delete(params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5720
+ delete(params?: Params$Resource$Projects$Locations$Lbedgeextensions$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5721
+ delete(params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5722
+ delete(params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5723
+ delete(params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
5724
+ delete(callback: BodyResponseCallback<Schema$Operation>): void;
5725
+ /**
5726
+ * Gets details of the specified `LbEdgeExtension` resource.
5727
+ * @example
5728
+ * ```js
5729
+ * // Before running the sample:
5730
+ * // - Enable the API at:
5731
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
5732
+ * // - Login into gcloud by running:
5733
+ * // ```sh
5734
+ * // $ gcloud auth application-default login
5735
+ * // ```
5736
+ * // - Install the npm module by running:
5737
+ * // ```sh
5738
+ * // $ npm install googleapis
5739
+ * // ```
5740
+ *
5741
+ * const {google} = require('googleapis');
5742
+ * const networkservices = google.networkservices('v1');
5743
+ *
5744
+ * async function main() {
5745
+ * const auth = new google.auth.GoogleAuth({
5746
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5747
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
5748
+ * });
5749
+ *
5750
+ * // Acquire an auth client, and bind it to all future calls
5751
+ * const authClient = await auth.getClient();
5752
+ * google.options({auth: authClient});
5753
+ *
5754
+ * // Do the magic
5755
+ * const res = await networkservices.projects.locations.lbEdgeExtensions.get({
5756
+ * // Required. A name of the `LbEdgeExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
5757
+ * name: 'projects/my-project/locations/my-location/lbEdgeExtensions/my-lbEdgeExtension',
5758
+ * });
5759
+ * console.log(res.data);
5760
+ *
5761
+ * // Example response
5762
+ * // {
5763
+ * // "createTime": "my_createTime",
5764
+ * // "description": "my_description",
5765
+ * // "extensionChains": [],
5766
+ * // "forwardingRules": [],
5767
+ * // "labels": {},
5768
+ * // "loadBalancingScheme": "my_loadBalancingScheme",
5769
+ * // "name": "my_name",
5770
+ * // "updateTime": "my_updateTime"
5771
+ * // }
5772
+ * }
5773
+ *
5774
+ * main().catch(e => {
5775
+ * console.error(e);
5776
+ * throw e;
5777
+ * });
5778
+ *
5779
+ * ```
5780
+ *
5781
+ * @param params - Parameters for request
5782
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5783
+ * @param callback - Optional callback that handles the response.
5784
+ * @returns A promise if used with async/await, or void if used with a callback.
5785
+ */
5786
+ get(params: Params$Resource$Projects$Locations$Lbedgeextensions$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5787
+ get(params?: Params$Resource$Projects$Locations$Lbedgeextensions$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LbEdgeExtension>>;
5788
+ get(params: Params$Resource$Projects$Locations$Lbedgeextensions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5789
+ get(params: Params$Resource$Projects$Locations$Lbedgeextensions$Get, options: MethodOptions | BodyResponseCallback<Schema$LbEdgeExtension>, callback: BodyResponseCallback<Schema$LbEdgeExtension>): void;
5790
+ get(params: Params$Resource$Projects$Locations$Lbedgeextensions$Get, callback: BodyResponseCallback<Schema$LbEdgeExtension>): void;
5791
+ get(callback: BodyResponseCallback<Schema$LbEdgeExtension>): void;
5792
+ /**
5793
+ * Lists `LbEdgeExtension` resources in a given project and location.
5794
+ * @example
5795
+ * ```js
5796
+ * // Before running the sample:
5797
+ * // - Enable the API at:
5798
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
5799
+ * // - Login into gcloud by running:
5800
+ * // ```sh
5801
+ * // $ gcloud auth application-default login
5802
+ * // ```
5803
+ * // - Install the npm module by running:
5804
+ * // ```sh
5805
+ * // $ npm install googleapis
5806
+ * // ```
5807
+ *
5808
+ * const {google} = require('googleapis');
5809
+ * const networkservices = google.networkservices('v1');
5810
+ *
5811
+ * async function main() {
5812
+ * const auth = new google.auth.GoogleAuth({
5813
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5814
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
5815
+ * });
5816
+ *
5817
+ * // Acquire an auth client, and bind it to all future calls
5818
+ * const authClient = await auth.getClient();
5819
+ * google.options({auth: authClient});
5820
+ *
5821
+ * // Do the magic
5822
+ * const res = await networkservices.projects.locations.lbEdgeExtensions.list({
5823
+ * // Optional. Filtering results.
5824
+ * filter: 'placeholder-value',
5825
+ * // Optional. Hint about how to order the results.
5826
+ * orderBy: 'placeholder-value',
5827
+ * // Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
5828
+ * pageSize: 'placeholder-value',
5829
+ * // Optional. A token identifying a page of results that the server returns.
5830
+ * pageToken: 'placeholder-value',
5831
+ * // Required. The project and location from which the `LbEdgeExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
5832
+ * parent: 'projects/my-project/locations/my-location',
5833
+ * });
5834
+ * console.log(res.data);
5835
+ *
5836
+ * // Example response
5837
+ * // {
5838
+ * // "lbEdgeExtensions": [],
5839
+ * // "nextPageToken": "my_nextPageToken",
5840
+ * // "unreachable": []
5841
+ * // }
5842
+ * }
5843
+ *
5844
+ * main().catch(e => {
5845
+ * console.error(e);
5846
+ * throw e;
5847
+ * });
5848
+ *
5849
+ * ```
5850
+ *
5851
+ * @param params - Parameters for request
5852
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5853
+ * @param callback - Optional callback that handles the response.
5854
+ * @returns A promise if used with async/await, or void if used with a callback.
5855
+ */
5856
+ list(params: Params$Resource$Projects$Locations$Lbedgeextensions$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5857
+ list(params?: Params$Resource$Projects$Locations$Lbedgeextensions$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListLbEdgeExtensionsResponse>>;
5858
+ list(params: Params$Resource$Projects$Locations$Lbedgeextensions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5859
+ list(params: Params$Resource$Projects$Locations$Lbedgeextensions$List, options: MethodOptions | BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>, callback: BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>): void;
5860
+ list(params: Params$Resource$Projects$Locations$Lbedgeextensions$List, callback: BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>): void;
5861
+ list(callback: BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>): void;
5862
+ /**
5863
+ * Updates the parameters of the specified `LbEdgeExtension` resource.
5864
+ * @example
5865
+ * ```js
5866
+ * // Before running the sample:
5867
+ * // - Enable the API at:
5868
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
5869
+ * // - Login into gcloud by running:
5870
+ * // ```sh
5871
+ * // $ gcloud auth application-default login
5872
+ * // ```
5873
+ * // - Install the npm module by running:
5874
+ * // ```sh
5875
+ * // $ npm install googleapis
5876
+ * // ```
5877
+ *
5878
+ * const {google} = require('googleapis');
5879
+ * const networkservices = google.networkservices('v1');
5880
+ *
5881
+ * async function main() {
5882
+ * const auth = new google.auth.GoogleAuth({
5883
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5884
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
5885
+ * });
5886
+ *
5887
+ * // Acquire an auth client, and bind it to all future calls
5888
+ * const authClient = await auth.getClient();
5889
+ * google.options({auth: authClient});
5890
+ *
5891
+ * // Do the magic
5892
+ * const res = await networkservices.projects.locations.lbEdgeExtensions.patch({
5893
+ * // Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
5894
+ * name: 'projects/my-project/locations/my-location/lbEdgeExtensions/my-lbEdgeExtension',
5895
+ * // 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).
5896
+ * requestId: 'placeholder-value',
5897
+ * // 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.
5898
+ * updateMask: 'placeholder-value',
5899
+ *
5900
+ * // Request body metadata
5901
+ * requestBody: {
5902
+ * // request body parameters
5903
+ * // {
5904
+ * // "createTime": "my_createTime",
5905
+ * // "description": "my_description",
5906
+ * // "extensionChains": [],
5907
+ * // "forwardingRules": [],
5908
+ * // "labels": {},
5909
+ * // "loadBalancingScheme": "my_loadBalancingScheme",
5910
+ * // "name": "my_name",
5911
+ * // "updateTime": "my_updateTime"
5912
+ * // }
5913
+ * },
5914
+ * });
5915
+ * console.log(res.data);
5916
+ *
5917
+ * // Example response
5918
+ * // {
5919
+ * // "done": false,
5920
+ * // "error": {},
5921
+ * // "metadata": {},
5922
+ * // "name": "my_name",
5923
+ * // "response": {}
5924
+ * // }
5925
+ * }
5926
+ *
5927
+ * main().catch(e => {
5928
+ * console.error(e);
5929
+ * throw e;
5930
+ * });
5931
+ *
5932
+ * ```
5933
+ *
5934
+ * @param params - Parameters for request
5935
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5936
+ * @param callback - Optional callback that handles the response.
5937
+ * @returns A promise if used with async/await, or void if used with a callback.
5938
+ */
5939
+ patch(params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5940
+ patch(params?: Params$Resource$Projects$Locations$Lbedgeextensions$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5941
+ patch(params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5942
+ patch(params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5943
+ patch(params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
5944
+ patch(callback: BodyResponseCallback<Schema$Operation>): void;
5945
+ }
5946
+ export interface Params$Resource$Projects$Locations$Lbedgeextensions$Create extends StandardParameters {
5947
+ /**
5948
+ * Required. User-provided ID of the `LbEdgeExtension` resource to be created.
5949
+ */
5950
+ lbEdgeExtensionId?: string;
5951
+ /**
5952
+ * Required. The parent resource of the `LbEdgeExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
5953
+ */
5954
+ parent?: string;
5955
+ /**
5956
+ * 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).
5957
+ */
5958
+ requestId?: string;
5959
+ /**
5960
+ * Request body metadata
5961
+ */
5962
+ requestBody?: Schema$LbEdgeExtension;
5963
+ }
5964
+ export interface Params$Resource$Projects$Locations$Lbedgeextensions$Delete extends StandardParameters {
5965
+ /**
5966
+ * Required. The name of the `LbEdgeExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
5967
+ */
5968
+ name?: string;
5969
+ /**
5970
+ * 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).
5971
+ */
5972
+ requestId?: string;
5973
+ }
5974
+ export interface Params$Resource$Projects$Locations$Lbedgeextensions$Get extends StandardParameters {
5975
+ /**
5976
+ * Required. A name of the `LbEdgeExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
5977
+ */
5978
+ name?: string;
5979
+ }
5980
+ export interface Params$Resource$Projects$Locations$Lbedgeextensions$List extends StandardParameters {
5981
+ /**
5982
+ * Optional. Filtering results.
5983
+ */
5984
+ filter?: string;
5985
+ /**
5986
+ * Optional. Hint about how to order the results.
5987
+ */
5988
+ orderBy?: string;
5989
+ /**
5990
+ * Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
5991
+ */
5992
+ pageSize?: number;
5993
+ /**
5994
+ * Optional. A token identifying a page of results that the server returns.
5995
+ */
5996
+ pageToken?: string;
5997
+ /**
5998
+ * Required. The project and location from which the `LbEdgeExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
5999
+ */
6000
+ parent?: string;
6001
+ }
6002
+ export interface Params$Resource$Projects$Locations$Lbedgeextensions$Patch extends StandardParameters {
6003
+ /**
6004
+ * Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
6005
+ */
6006
+ name?: string;
6007
+ /**
6008
+ * 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).
6009
+ */
6010
+ requestId?: string;
6011
+ /**
6012
+ * 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.
6013
+ */
6014
+ updateMask?: string;
6015
+ /**
6016
+ * Request body metadata
6017
+ */
6018
+ requestBody?: Schema$LbEdgeExtension;
6019
+ }
5500
6020
  export class Resource$Projects$Locations$Lbrouteextensions {
5501
6021
  context: APIRequestContext;
5502
6022
  constructor(context: APIRequestContext);
@@ -6443,7 +6963,7 @@ export declare namespace networkservices_v1 {
6443
6963
  * const res = await networkservices.projects.locations.meshes.create({
6444
6964
  * // Required. Short name of the Mesh resource to be created.
6445
6965
  * meshId: 'placeholder-value',
6446
- * // Required. The parent resource of the Mesh. Must be in the format `projects/x/locations/global`.
6966
+ * // Required. The parent resource of the Mesh. Must be in the format `projects/x/locations/x`.
6447
6967
  * parent: 'projects/my-project/locations/my-location',
6448
6968
  *
6449
6969
  * // Request body metadata
@@ -6522,7 +7042,7 @@ export declare namespace networkservices_v1 {
6522
7042
  *
6523
7043
  * // Do the magic
6524
7044
  * const res = await networkservices.projects.locations.meshes.delete({
6525
- * // Required. A name of the Mesh to delete. Must be in the format `projects/x/locations/global/meshes/x`.
7045
+ * // Required. A name of the Mesh to delete. Must be in the format `projects/x/locations/x/meshes/x`.
6526
7046
  * name: 'projects/my-project/locations/my-location/meshes/my-meshe',
6527
7047
  * });
6528
7048
  * console.log(res.data);
@@ -6586,7 +7106,7 @@ export declare namespace networkservices_v1 {
6586
7106
  *
6587
7107
  * // Do the magic
6588
7108
  * const res = await networkservices.projects.locations.meshes.get({
6589
- * // Required. A name of the Mesh to get. Must be in the format `projects/x/locations/global/meshes/x`.
7109
+ * // Required. A name of the Mesh to get. Must be in the format `projects/x/locations/x/meshes/x`.
6590
7110
  * name: 'projects/my-project/locations/my-location/meshes/my-meshe',
6591
7111
  * });
6592
7112
  * console.log(res.data);
@@ -6657,7 +7177,7 @@ export declare namespace networkservices_v1 {
6657
7177
  * pageSize: 'placeholder-value',
6658
7178
  * // The value returned by the last `ListMeshesResponse` Indicates that this is a continuation of a prior `ListMeshes` call, and that the system should return the next page of data.
6659
7179
  * pageToken: 'placeholder-value',
6660
- * // Required. The project and location from which the Meshes should be listed, specified in the format `projects/x/locations/global`.
7180
+ * // Required. The project and location from which the Meshes should be listed, specified in the format `projects/x/locations/x`.
6661
7181
  * parent: 'projects/my-project/locations/my-location',
6662
7182
  * // 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.
6663
7183
  * returnPartialSuccess: 'placeholder-value',
@@ -6721,7 +7241,7 @@ export declare namespace networkservices_v1 {
6721
7241
  *
6722
7242
  * // Do the magic
6723
7243
  * const res = await networkservices.projects.locations.meshes.patch({
6724
- * // Identifier. Name of the Mesh resource. It matches pattern `projects/x/locations/global/meshes/`.
7244
+ * // Identifier. Name of the Mesh resource. It matches pattern `projects/x/locations/x/meshes/`.
6725
7245
  * name: 'projects/my-project/locations/my-location/meshes/my-meshe',
6726
7246
  * // Optional. Field mask is used to specify the fields to be overwritten in the Mesh resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
6727
7247
  * updateMask: 'placeholder-value',
@@ -6778,7 +7298,7 @@ export declare namespace networkservices_v1 {
6778
7298
  */
6779
7299
  meshId?: string;
6780
7300
  /**
6781
- * Required. The parent resource of the Mesh. Must be in the format `projects/x/locations/global`.
7301
+ * Required. The parent resource of the Mesh. Must be in the format `projects/x/locations/x`.
6782
7302
  */
6783
7303
  parent?: string;
6784
7304
  /**
@@ -6788,13 +7308,13 @@ export declare namespace networkservices_v1 {
6788
7308
  }
6789
7309
  export interface Params$Resource$Projects$Locations$Meshes$Delete extends StandardParameters {
6790
7310
  /**
6791
- * Required. A name of the Mesh to delete. Must be in the format `projects/x/locations/global/meshes/x`.
7311
+ * Required. A name of the Mesh to delete. Must be in the format `projects/x/locations/x/meshes/x`.
6792
7312
  */
6793
7313
  name?: string;
6794
7314
  }
6795
7315
  export interface Params$Resource$Projects$Locations$Meshes$Get extends StandardParameters {
6796
7316
  /**
6797
- * Required. A name of the Mesh to get. Must be in the format `projects/x/locations/global/meshes/x`.
7317
+ * Required. A name of the Mesh to get. Must be in the format `projects/x/locations/x/meshes/x`.
6798
7318
  */
6799
7319
  name?: string;
6800
7320
  }
@@ -6808,7 +7328,7 @@ export declare namespace networkservices_v1 {
6808
7328
  */
6809
7329
  pageToken?: string;
6810
7330
  /**
6811
- * Required. The project and location from which the Meshes should be listed, specified in the format `projects/x/locations/global`.
7331
+ * Required. The project and location from which the Meshes should be listed, specified in the format `projects/x/locations/x`.
6812
7332
  */
6813
7333
  parent?: string;
6814
7334
  /**
@@ -6818,7 +7338,7 @@ export declare namespace networkservices_v1 {
6818
7338
  }
6819
7339
  export interface Params$Resource$Projects$Locations$Meshes$Patch extends StandardParameters {
6820
7340
  /**
6821
- * Identifier. Name of the Mesh resource. It matches pattern `projects/x/locations/global/meshes/`.
7341
+ * Identifier. Name of the Mesh resource. It matches pattern `projects/x/locations/x/meshes/`.
6822
7342
  */
6823
7343
  name?: string;
6824
7344
  /**
@@ -7212,13 +7732,16 @@ export declare namespace networkservices_v1 {
7212
7732
  * pageSize: 'placeholder-value',
7213
7733
  * // The standard list page token.
7214
7734
  * pageToken: 'placeholder-value',
7735
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
7736
+ * returnPartialSuccess: 'placeholder-value',
7215
7737
  * });
7216
7738
  * console.log(res.data);
7217
7739
  *
7218
7740
  * // Example response
7219
7741
  * // {
7220
7742
  * // "nextPageToken": "my_nextPageToken",
7221
- * // "operations": []
7743
+ * // "operations": [],
7744
+ * // "unreachable": []
7222
7745
  * // }
7223
7746
  * }
7224
7747
  *
@@ -7280,6 +7803,10 @@ export declare namespace networkservices_v1 {
7280
7803
  * The standard list page token.
7281
7804
  */
7282
7805
  pageToken?: string;
7806
+ /**
7807
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
7808
+ */
7809
+ returnPartialSuccess?: boolean;
7283
7810
  }
7284
7811
  export class Resource$Projects$Locations$Servicebindings {
7285
7812
  context: APIRequestContext;
@@ -8153,7 +8680,7 @@ export declare namespace networkservices_v1 {
8153
8680
  *
8154
8681
  * // Do the magic
8155
8682
  * const res = await networkservices.projects.locations.tcpRoutes.create({
8156
- * // Required. The parent resource of the TcpRoute. Must be in the format `projects/x/locations/global`.
8683
+ * // Required. The parent resource of the TcpRoute. Must be in the format `projects/x/locations/x`.
8157
8684
  * parent: 'projects/my-project/locations/my-location',
8158
8685
  * // Required. Short name of the TcpRoute resource to be created.
8159
8686
  * tcpRouteId: 'placeholder-value',
@@ -8235,7 +8762,7 @@ export declare namespace networkservices_v1 {
8235
8762
  *
8236
8763
  * // Do the magic
8237
8764
  * const res = await networkservices.projects.locations.tcpRoutes.delete({
8238
- * // Required. A name of the TcpRoute to delete. Must be in the format `projects/x/locations/global/tcpRoutes/x`.
8765
+ * // Required. A name of the TcpRoute to delete. Must be in the format `projects/x/locations/x/tcpRoutes/x`.
8239
8766
  * name: 'projects/my-project/locations/my-location/tcpRoutes/my-tcpRoute',
8240
8767
  * });
8241
8768
  * console.log(res.data);
@@ -8299,7 +8826,7 @@ export declare namespace networkservices_v1 {
8299
8826
  *
8300
8827
  * // Do the magic
8301
8828
  * const res = await networkservices.projects.locations.tcpRoutes.get({
8302
- * // Required. A name of the TcpRoute to get. Must be in the format `projects/x/locations/global/tcpRoutes/x`.
8829
+ * // Required. A name of the TcpRoute to get. Must be in the format `projects/x/locations/x/tcpRoutes/x`.
8303
8830
  * name: 'projects/my-project/locations/my-location/tcpRoutes/my-tcpRoute',
8304
8831
  * });
8305
8832
  * console.log(res.data);
@@ -8371,7 +8898,7 @@ export declare namespace networkservices_v1 {
8371
8898
  * pageSize: 'placeholder-value',
8372
8899
  * // The value returned by the last `ListTcpRoutesResponse` Indicates that this is a continuation of a prior `ListTcpRoutes` call, and that the system should return the next page of data.
8373
8900
  * pageToken: 'placeholder-value',
8374
- * // Required. The project and location from which the TcpRoutes should be listed, specified in the format `projects/x/locations/global`.
8901
+ * // Required. The project and location from which the TcpRoutes should be listed, specified in the format `projects/x/locations/x`.
8375
8902
  * parent: 'projects/my-project/locations/my-location',
8376
8903
  * // 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.
8377
8904
  * returnPartialSuccess: 'placeholder-value',
@@ -8435,7 +8962,7 @@ export declare namespace networkservices_v1 {
8435
8962
  *
8436
8963
  * // Do the magic
8437
8964
  * const res = await networkservices.projects.locations.tcpRoutes.patch({
8438
- * // Identifier. Name of the TcpRoute resource. It matches pattern `projects/x/locations/global/tcpRoutes/tcp_route_name\>`.
8965
+ * // Identifier. Name of the TcpRoute resource. It matches pattern `projects/x/locations/x/tcpRoutes/tcp_route_name\>`.
8439
8966
  * name: 'projects/my-project/locations/my-location/tcpRoutes/my-tcpRoute',
8440
8967
  * // Optional. Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
8441
8968
  * updateMask: 'placeholder-value',
@@ -8489,7 +9016,7 @@ export declare namespace networkservices_v1 {
8489
9016
  }
8490
9017
  export interface Params$Resource$Projects$Locations$Tcproutes$Create extends StandardParameters {
8491
9018
  /**
8492
- * Required. The parent resource of the TcpRoute. Must be in the format `projects/x/locations/global`.
9019
+ * Required. The parent resource of the TcpRoute. Must be in the format `projects/x/locations/x`.
8493
9020
  */
8494
9021
  parent?: string;
8495
9022
  /**
@@ -8503,13 +9030,13 @@ export declare namespace networkservices_v1 {
8503
9030
  }
8504
9031
  export interface Params$Resource$Projects$Locations$Tcproutes$Delete extends StandardParameters {
8505
9032
  /**
8506
- * Required. A name of the TcpRoute to delete. Must be in the format `projects/x/locations/global/tcpRoutes/x`.
9033
+ * Required. A name of the TcpRoute to delete. Must be in the format `projects/x/locations/x/tcpRoutes/x`.
8507
9034
  */
8508
9035
  name?: string;
8509
9036
  }
8510
9037
  export interface Params$Resource$Projects$Locations$Tcproutes$Get extends StandardParameters {
8511
9038
  /**
8512
- * Required. A name of the TcpRoute to get. Must be in the format `projects/x/locations/global/tcpRoutes/x`.
9039
+ * Required. A name of the TcpRoute to get. Must be in the format `projects/x/locations/x/tcpRoutes/x`.
8513
9040
  */
8514
9041
  name?: string;
8515
9042
  }
@@ -8523,7 +9050,7 @@ export declare namespace networkservices_v1 {
8523
9050
  */
8524
9051
  pageToken?: string;
8525
9052
  /**
8526
- * Required. The project and location from which the TcpRoutes should be listed, specified in the format `projects/x/locations/global`.
9053
+ * Required. The project and location from which the TcpRoutes should be listed, specified in the format `projects/x/locations/x`.
8527
9054
  */
8528
9055
  parent?: string;
8529
9056
  /**
@@ -8533,7 +9060,7 @@ export declare namespace networkservices_v1 {
8533
9060
  }
8534
9061
  export interface Params$Resource$Projects$Locations$Tcproutes$Patch extends StandardParameters {
8535
9062
  /**
8536
- * Identifier. Name of the TcpRoute resource. It matches pattern `projects/x/locations/global/tcpRoutes/tcp_route_name\>`.
9063
+ * Identifier. Name of the TcpRoute resource. It matches pattern `projects/x/locations/x/tcpRoutes/tcp_route_name\>`.
8537
9064
  */
8538
9065
  name?: string;
8539
9066
  /**
@@ -8579,7 +9106,7 @@ export declare namespace networkservices_v1 {
8579
9106
  *
8580
9107
  * // Do the magic
8581
9108
  * const res = await networkservices.projects.locations.tlsRoutes.create({
8582
- * // Required. The parent resource of the TlsRoute. Must be in the format `projects/x/locations/global`.
9109
+ * // Required. The parent resource of the TlsRoute. Must be in the format `projects/x/locations/x`.
8583
9110
  * parent: 'projects/my-project/locations/my-location',
8584
9111
  * // Required. Short name of the TlsRoute resource to be created.
8585
9112
  * tlsRouteId: 'placeholder-value',
@@ -8661,7 +9188,7 @@ export declare namespace networkservices_v1 {
8661
9188
  *
8662
9189
  * // Do the magic
8663
9190
  * const res = await networkservices.projects.locations.tlsRoutes.delete({
8664
- * // Required. A name of the TlsRoute to delete. Must be in the format `projects/x/locations/global/tlsRoutes/x`.
9191
+ * // Required. A name of the TlsRoute to delete. Must be in the format `projects/x/locations/x/tlsRoutes/x`.
8665
9192
  * name: 'projects/my-project/locations/my-location/tlsRoutes/my-tlsRoute',
8666
9193
  * });
8667
9194
  * console.log(res.data);
@@ -8725,7 +9252,7 @@ export declare namespace networkservices_v1 {
8725
9252
  *
8726
9253
  * // Do the magic
8727
9254
  * const res = await networkservices.projects.locations.tlsRoutes.get({
8728
- * // Required. A name of the TlsRoute to get. Must be in the format `projects/x/locations/global/tlsRoutes/x`.
9255
+ * // Required. A name of the TlsRoute to get. Must be in the format `projects/x/locations/x/tlsRoutes/x`.
8729
9256
  * name: 'projects/my-project/locations/my-location/tlsRoutes/my-tlsRoute',
8730
9257
  * });
8731
9258
  * console.log(res.data);
@@ -8797,7 +9324,7 @@ export declare namespace networkservices_v1 {
8797
9324
  * pageSize: 'placeholder-value',
8798
9325
  * // The value returned by the last `ListTlsRoutesResponse` Indicates that this is a continuation of a prior `ListTlsRoutes` call, and that the system should return the next page of data.
8799
9326
  * pageToken: 'placeholder-value',
8800
- * // Required. The project and location from which the TlsRoutes should be listed, specified in the format `projects/x/locations/global`.
9327
+ * // Required. The project and location from which the TlsRoutes should be listed, specified in the format `projects/x/locations/x`.
8801
9328
  * parent: 'projects/my-project/locations/my-location',
8802
9329
  * // 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.
8803
9330
  * returnPartialSuccess: 'placeholder-value',
@@ -8861,7 +9388,7 @@ export declare namespace networkservices_v1 {
8861
9388
  *
8862
9389
  * // Do the magic
8863
9390
  * const res = await networkservices.projects.locations.tlsRoutes.patch({
8864
- * // Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/global/tlsRoutes/tls_route_name\>`.
9391
+ * // Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/x/tlsRoutes/tls_route_name\>`.
8865
9392
  * name: 'projects/my-project/locations/my-location/tlsRoutes/my-tlsRoute',
8866
9393
  * // Optional. Field mask is used to specify the fields to be overwritten in the TlsRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
8867
9394
  * updateMask: 'placeholder-value',
@@ -8915,7 +9442,7 @@ export declare namespace networkservices_v1 {
8915
9442
  }
8916
9443
  export interface Params$Resource$Projects$Locations$Tlsroutes$Create extends StandardParameters {
8917
9444
  /**
8918
- * Required. The parent resource of the TlsRoute. Must be in the format `projects/x/locations/global`.
9445
+ * Required. The parent resource of the TlsRoute. Must be in the format `projects/x/locations/x`.
8919
9446
  */
8920
9447
  parent?: string;
8921
9448
  /**
@@ -8929,13 +9456,13 @@ export declare namespace networkservices_v1 {
8929
9456
  }
8930
9457
  export interface Params$Resource$Projects$Locations$Tlsroutes$Delete extends StandardParameters {
8931
9458
  /**
8932
- * Required. A name of the TlsRoute to delete. Must be in the format `projects/x/locations/global/tlsRoutes/x`.
9459
+ * Required. A name of the TlsRoute to delete. Must be in the format `projects/x/locations/x/tlsRoutes/x`.
8933
9460
  */
8934
9461
  name?: string;
8935
9462
  }
8936
9463
  export interface Params$Resource$Projects$Locations$Tlsroutes$Get extends StandardParameters {
8937
9464
  /**
8938
- * Required. A name of the TlsRoute to get. Must be in the format `projects/x/locations/global/tlsRoutes/x`.
9465
+ * Required. A name of the TlsRoute to get. Must be in the format `projects/x/locations/x/tlsRoutes/x`.
8939
9466
  */
8940
9467
  name?: string;
8941
9468
  }
@@ -8949,7 +9476,7 @@ export declare namespace networkservices_v1 {
8949
9476
  */
8950
9477
  pageToken?: string;
8951
9478
  /**
8952
- * Required. The project and location from which the TlsRoutes should be listed, specified in the format `projects/x/locations/global`.
9479
+ * Required. The project and location from which the TlsRoutes should be listed, specified in the format `projects/x/locations/x`.
8953
9480
  */
8954
9481
  parent?: string;
8955
9482
  /**
@@ -8959,7 +9486,7 @@ export declare namespace networkservices_v1 {
8959
9486
  }
8960
9487
  export interface Params$Resource$Projects$Locations$Tlsroutes$Patch extends StandardParameters {
8961
9488
  /**
8962
- * Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/global/tlsRoutes/tls_route_name\>`.
9489
+ * Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/x/tlsRoutes/tls_route_name\>`.
8963
9490
  */
8964
9491
  name?: string;
8965
9492
  /**