@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/v1.ts CHANGED
@@ -296,7 +296,7 @@ export namespace networkservices_v1 {
296
296
  */
297
297
  labels?: {[key: string]: string} | null;
298
298
  /**
299
- * Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/global/endpointPolicies/{endpoint_policy\}`.
299
+ * Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/x/endpointPolicies/{endpoint_policy\}`.
300
300
  */
301
301
  name?: string | null;
302
302
  /**
@@ -371,19 +371,31 @@ export namespace networkservices_v1 {
371
371
  */
372
372
  forwardHeaders?: string[] | null;
373
373
  /**
374
- * 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.
374
+ * 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.
375
375
  */
376
376
  metadata?: {[key: string]: any} | null;
377
377
  /**
378
- * 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.
378
+ * 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.
379
379
  */
380
380
  name?: string | null;
381
+ /**
382
+ * 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.
383
+ */
384
+ observabilityMode?: boolean | null;
385
+ /**
386
+ * 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.
387
+ */
388
+ requestBodySendMode?: string | null;
389
+ /**
390
+ * 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`.
391
+ */
392
+ responseBodySendMode?: string | null;
381
393
  /**
382
394
  * 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.
383
395
  */
384
396
  service?: string | null;
385
397
  /**
386
- * 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.
398
+ * 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.
387
399
  */
388
400
  supportedEvents?: string[] | null;
389
401
  /**
@@ -515,7 +527,7 @@ export namespace networkservices_v1 {
515
527
  */
516
528
  description?: string | null;
517
529
  /**
518
- * 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/`
530
+ * 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/`
519
531
  */
520
532
  gateways?: string[] | null;
521
533
  /**
@@ -527,11 +539,11 @@ export namespace networkservices_v1 {
527
539
  */
528
540
  labels?: {[key: string]: string} | null;
529
541
  /**
530
- * 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/`
542
+ * 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/`
531
543
  */
532
544
  meshes?: string[] | null;
533
545
  /**
534
- * Identifier. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/global/grpcRoutes/`
546
+ * Identifier. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/x/grpcRoutes/`
535
547
  */
536
548
  name?: string | null;
537
549
  /**
@@ -727,7 +739,7 @@ export namespace networkservices_v1 {
727
739
  */
728
740
  description?: string | null;
729
741
  /**
730
- * 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/`
742
+ * 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/`
731
743
  */
732
744
  gateways?: string[] | null;
733
745
  /**
@@ -739,11 +751,11 @@ export namespace networkservices_v1 {
739
751
  */
740
752
  labels?: {[key: string]: string} | null;
741
753
  /**
742
- * 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
754
+ * 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
743
755
  */
744
756
  meshes?: string[] | null;
745
757
  /**
746
- * Identifier. Name of the HttpRoute resource. It matches pattern `projects/x/locations/global/httpRoutes/http_route_name\>`.
758
+ * Identifier. Name of the HttpRoute resource. It matches pattern `projects/x/locations/x/httpRoutes/http_route_name\>`.
747
759
  */
748
760
  name?: string | null;
749
761
  /**
@@ -1145,6 +1157,43 @@ export namespace networkservices_v1 {
1145
1157
  */
1146
1158
  pathPrefixRewrite?: string | null;
1147
1159
  }
1160
+ /**
1161
+ * `LbEdgeExtension` is a resource that lets the extension service influence the selection of backend services and Cloud CDN cache keys by modifying request headers.
1162
+ */
1163
+ export interface Schema$LbEdgeExtension {
1164
+ /**
1165
+ * Output only. The timestamp when the resource was created.
1166
+ */
1167
+ createTime?: string | null;
1168
+ /**
1169
+ * Optional. A human-readable description of the resource.
1170
+ */
1171
+ description?: string | null;
1172
+ /**
1173
+ * 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.
1174
+ */
1175
+ extensionChains?: Schema$ExtensionChain[];
1176
+ /**
1177
+ * 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.
1178
+ */
1179
+ forwardingRules?: string[] | null;
1180
+ /**
1181
+ * 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.
1182
+ */
1183
+ labels?: {[key: string]: string} | null;
1184
+ /**
1185
+ * Required. All forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `EXTERNAL_MANAGED`.
1186
+ */
1187
+ loadBalancingScheme?: string | null;
1188
+ /**
1189
+ * Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
1190
+ */
1191
+ name?: string | null;
1192
+ /**
1193
+ * Output only. The timestamp when the resource was updated.
1194
+ */
1195
+ updateTime?: string | null;
1196
+ }
1148
1197
  /**
1149
1198
  * `LbRouteExtension` is a resource that lets you control where traffic is routed to for a given request.
1150
1199
  */
@@ -1329,6 +1378,23 @@ export namespace networkservices_v1 {
1329
1378
  */
1330
1379
  unreachable?: string[] | null;
1331
1380
  }
1381
+ /**
1382
+ * Message for response to listing `LbEdgeExtension` resources.
1383
+ */
1384
+ export interface Schema$ListLbEdgeExtensionsResponse {
1385
+ /**
1386
+ * The list of `LbEdgeExtension` resources.
1387
+ */
1388
+ lbEdgeExtensions?: Schema$LbEdgeExtension[];
1389
+ /**
1390
+ * A token identifying a page of results that the server returns.
1391
+ */
1392
+ nextPageToken?: string | null;
1393
+ /**
1394
+ * Locations that could not be reached.
1395
+ */
1396
+ unreachable?: string[] | null;
1397
+ }
1332
1398
  /**
1333
1399
  * Message for response to listing `LbRouteExtension` resources.
1334
1400
  */
@@ -1422,6 +1488,10 @@ export namespace networkservices_v1 {
1422
1488
  * A list of operations that matches the specified filter in the request.
1423
1489
  */
1424
1490
  operations?: Schema$Operation[];
1491
+ /**
1492
+ * 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.
1493
+ */
1494
+ unreachable?: string[] | null;
1425
1495
  }
1426
1496
  /**
1427
1497
  * Response returned by the ListServiceBindings method.
@@ -1584,7 +1654,7 @@ export namespace networkservices_v1 {
1584
1654
  */
1585
1655
  labels?: {[key: string]: string} | null;
1586
1656
  /**
1587
- * Identifier. Name of the Mesh resource. It matches pattern `projects/x/locations/global/meshes/`.
1657
+ * Identifier. Name of the Mesh resource. It matches pattern `projects/x/locations/x/meshes/`.
1588
1658
  */
1589
1659
  name?: string | null;
1590
1660
  /**
@@ -1854,7 +1924,7 @@ export namespace networkservices_v1 {
1854
1924
  */
1855
1925
  description?: string | null;
1856
1926
  /**
1857
- * 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/`
1927
+ * 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/`
1858
1928
  */
1859
1929
  gateways?: string[] | null;
1860
1930
  /**
@@ -1862,11 +1932,11 @@ export namespace networkservices_v1 {
1862
1932
  */
1863
1933
  labels?: {[key: string]: string} | null;
1864
1934
  /**
1865
- * 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
1935
+ * 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
1866
1936
  */
1867
1937
  meshes?: string[] | null;
1868
1938
  /**
1869
- * Identifier. Name of the TcpRoute resource. It matches pattern `projects/x/locations/global/tcpRoutes/tcp_route_name\>`.
1939
+ * Identifier. Name of the TcpRoute resource. It matches pattern `projects/x/locations/x/tcpRoutes/tcp_route_name\>`.
1870
1940
  */
1871
1941
  name?: string | null;
1872
1942
  /**
@@ -1969,7 +2039,7 @@ export namespace networkservices_v1 {
1969
2039
  */
1970
2040
  description?: string | null;
1971
2041
  /**
1972
- * 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/`
2042
+ * 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/`
1973
2043
  */
1974
2044
  gateways?: string[] | null;
1975
2045
  /**
@@ -1977,11 +2047,11 @@ export namespace networkservices_v1 {
1977
2047
  */
1978
2048
  labels?: {[key: string]: string} | null;
1979
2049
  /**
1980
- * 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
2050
+ * 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
1981
2051
  */
1982
2052
  meshes?: string[] | null;
1983
2053
  /**
1984
- * Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/global/tlsRoutes/tls_route_name\>`.
2054
+ * Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/x/tlsRoutes/tls_route_name\>`.
1985
2055
  */
1986
2056
  name?: string | null;
1987
2057
  /**
@@ -2231,6 +2301,7 @@ export namespace networkservices_v1 {
2231
2301
  gateways: Resource$Projects$Locations$Gateways;
2232
2302
  grpcRoutes: Resource$Projects$Locations$Grpcroutes;
2233
2303
  httpRoutes: Resource$Projects$Locations$Httproutes;
2304
+ lbEdgeExtensions: Resource$Projects$Locations$Lbedgeextensions;
2234
2305
  lbRouteExtensions: Resource$Projects$Locations$Lbrouteextensions;
2235
2306
  lbTrafficExtensions: Resource$Projects$Locations$Lbtrafficextensions;
2236
2307
  meshes: Resource$Projects$Locations$Meshes;
@@ -2263,6 +2334,9 @@ export namespace networkservices_v1 {
2263
2334
  this.httpRoutes = new Resource$Projects$Locations$Httproutes(
2264
2335
  this.context
2265
2336
  );
2337
+ this.lbEdgeExtensions = new Resource$Projects$Locations$Lbedgeextensions(
2338
+ this.context
2339
+ );
2266
2340
  this.lbRouteExtensions =
2267
2341
  new Resource$Projects$Locations$Lbrouteextensions(this.context);
2268
2342
  this.lbTrafficExtensions =
@@ -2453,7 +2527,7 @@ export namespace networkservices_v1 {
2453
2527
  *
2454
2528
  * // Do the magic
2455
2529
  * const res = await networkservices.projects.locations.list({
2456
- * // Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2530
+ * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
2457
2531
  * extraLocationTypes: 'placeholder-value',
2458
2532
  * // 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).
2459
2533
  * filter: 'placeholder-value',
@@ -2582,7 +2656,7 @@ export namespace networkservices_v1 {
2582
2656
  export interface Params$Resource$Projects$Locations$List
2583
2657
  extends StandardParameters {
2584
2658
  /**
2585
- * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2659
+ * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
2586
2660
  */
2587
2661
  extraLocationTypes?: string[];
2588
2662
  /**
@@ -4993,7 +5067,7 @@ export namespace networkservices_v1 {
4993
5067
  * const res = await networkservices.projects.locations.endpointPolicies.create({
4994
5068
  * // Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".
4995
5069
  * endpointPolicyId: 'placeholder-value',
4996
- * // Required. The parent resource of the EndpointPolicy. Must be in the format `projects/x/locations/global`.
5070
+ * // Required. The parent resource of the EndpointPolicy. Must be in the format `projects/x/locations/x`.
4997
5071
  * parent: 'projects/my-project/locations/my-location',
4998
5072
  *
4999
5073
  * // Request body metadata
@@ -5154,7 +5228,7 @@ export namespace networkservices_v1 {
5154
5228
  *
5155
5229
  * // Do the magic
5156
5230
  * const res = await networkservices.projects.locations.endpointPolicies.delete({
5157
- * // Required. A name of the EndpointPolicy to delete. Must be in the format `projects/x/locations/global/endpointPolicies/x`.
5231
+ * // Required. A name of the EndpointPolicy to delete. Must be in the format `projects/x/locations/x/endpointPolicies/x`.
5158
5232
  * name: 'projects/my-project/locations/my-location/endpointPolicies/my-endpointPolicie',
5159
5233
  * });
5160
5234
  * console.log(res.data);
@@ -5294,7 +5368,7 @@ export namespace networkservices_v1 {
5294
5368
  *
5295
5369
  * // Do the magic
5296
5370
  * const res = await networkservices.projects.locations.endpointPolicies.get({
5297
- * // Required. A name of the EndpointPolicy to get. Must be in the format `projects/x/locations/global/endpointPolicies/x`.
5371
+ * // Required. A name of the EndpointPolicy to get. Must be in the format `projects/x/locations/x/endpointPolicies/x`.
5298
5372
  * name: 'projects/my-project/locations/my-location/endpointPolicies/my-endpointPolicie',
5299
5373
  * });
5300
5374
  * console.log(res.data);
@@ -5443,7 +5517,7 @@ export namespace networkservices_v1 {
5443
5517
  * pageSize: 'placeholder-value',
5444
5518
  * // 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.
5445
5519
  * pageToken: 'placeholder-value',
5446
- * // Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/x/locations/global`.
5520
+ * // Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/x/locations/x`.
5447
5521
  * parent: 'projects/my-project/locations/my-location',
5448
5522
  * // 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.
5449
5523
  * returnPartialSuccess: 'placeholder-value',
@@ -5591,7 +5665,7 @@ export namespace networkservices_v1 {
5591
5665
  *
5592
5666
  * // Do the magic
5593
5667
  * const res = await networkservices.projects.locations.endpointPolicies.patch({
5594
- * // Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/global/endpointPolicies/{endpoint_policy\}`.
5668
+ * // Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/x/endpointPolicies/{endpoint_policy\}`.
5595
5669
  * name: 'projects/my-project/locations/my-location/endpointPolicies/my-endpointPolicie',
5596
5670
  * // 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.
5597
5671
  * updateMask: 'placeholder-value',
@@ -5728,7 +5802,7 @@ export namespace networkservices_v1 {
5728
5802
  */
5729
5803
  endpointPolicyId?: string;
5730
5804
  /**
5731
- * Required. The parent resource of the EndpointPolicy. Must be in the format `projects/x/locations/global`.
5805
+ * Required. The parent resource of the EndpointPolicy. Must be in the format `projects/x/locations/x`.
5732
5806
  */
5733
5807
  parent?: string;
5734
5808
 
@@ -5740,14 +5814,14 @@ export namespace networkservices_v1 {
5740
5814
  export interface Params$Resource$Projects$Locations$Endpointpolicies$Delete
5741
5815
  extends StandardParameters {
5742
5816
  /**
5743
- * Required. A name of the EndpointPolicy to delete. Must be in the format `projects/x/locations/global/endpointPolicies/x`.
5817
+ * Required. A name of the EndpointPolicy to delete. Must be in the format `projects/x/locations/x/endpointPolicies/x`.
5744
5818
  */
5745
5819
  name?: string;
5746
5820
  }
5747
5821
  export interface Params$Resource$Projects$Locations$Endpointpolicies$Get
5748
5822
  extends StandardParameters {
5749
5823
  /**
5750
- * Required. A name of the EndpointPolicy to get. Must be in the format `projects/x/locations/global/endpointPolicies/x`.
5824
+ * Required. A name of the EndpointPolicy to get. Must be in the format `projects/x/locations/x/endpointPolicies/x`.
5751
5825
  */
5752
5826
  name?: string;
5753
5827
  }
@@ -5762,7 +5836,7 @@ export namespace networkservices_v1 {
5762
5836
  */
5763
5837
  pageToken?: string;
5764
5838
  /**
5765
- * Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/x/locations/global`.
5839
+ * Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/x/locations/x`.
5766
5840
  */
5767
5841
  parent?: string;
5768
5842
  /**
@@ -5773,7 +5847,7 @@ export namespace networkservices_v1 {
5773
5847
  export interface Params$Resource$Projects$Locations$Endpointpolicies$Patch
5774
5848
  extends StandardParameters {
5775
5849
  /**
5776
- * Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/global/endpointPolicies/{endpoint_policy\}`.
5850
+ * Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/x/endpointPolicies/{endpoint_policy\}`.
5777
5851
  */
5778
5852
  name?: string;
5779
5853
  /**
@@ -6994,7 +7068,7 @@ export namespace networkservices_v1 {
6994
7068
  * const res = await networkservices.projects.locations.grpcRoutes.create({
6995
7069
  * // Required. Short name of the GrpcRoute resource to be created.
6996
7070
  * grpcRouteId: 'placeholder-value',
6997
- * // Required. The parent resource of the GrpcRoute. Must be in the format `projects/x/locations/global`.
7071
+ * // Required. The parent resource of the GrpcRoute. Must be in the format `projects/x/locations/x`.
6998
7072
  * parent: 'projects/my-project/locations/my-location',
6999
7073
  *
7000
7074
  * // Request body metadata
@@ -7153,7 +7227,7 @@ export namespace networkservices_v1 {
7153
7227
  *
7154
7228
  * // Do the magic
7155
7229
  * const res = await networkservices.projects.locations.grpcRoutes.delete({
7156
- * // Required. A name of the GrpcRoute to delete. Must be in the format `projects/x/locations/global/grpcRoutes/x`.
7230
+ * // Required. A name of the GrpcRoute to delete. Must be in the format `projects/x/locations/x/grpcRoutes/x`.
7157
7231
  * name: 'projects/my-project/locations/my-location/grpcRoutes/my-grpcRoute',
7158
7232
  * });
7159
7233
  * console.log(res.data);
@@ -7292,7 +7366,7 @@ export namespace networkservices_v1 {
7292
7366
  *
7293
7367
  * // Do the magic
7294
7368
  * const res = await networkservices.projects.locations.grpcRoutes.get({
7295
- * // Required. A name of the GrpcRoute to get. Must be in the format `projects/x/locations/global/grpcRoutes/x`.
7369
+ * // Required. A name of the GrpcRoute to get. Must be in the format `projects/x/locations/x/grpcRoutes/x`.
7296
7370
  * name: 'projects/my-project/locations/my-location/grpcRoutes/my-grpcRoute',
7297
7371
  * });
7298
7372
  * console.log(res.data);
@@ -7440,7 +7514,7 @@ export namespace networkservices_v1 {
7440
7514
  * pageSize: 'placeholder-value',
7441
7515
  * // 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.
7442
7516
  * pageToken: 'placeholder-value',
7443
- * // Required. The project and location from which the GrpcRoutes should be listed, specified in the format `projects/x/locations/global`.
7517
+ * // Required. The project and location from which the GrpcRoutes should be listed, specified in the format `projects/x/locations/x`.
7444
7518
  * parent: 'projects/my-project/locations/my-location',
7445
7519
  * // 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.
7446
7520
  * returnPartialSuccess: 'placeholder-value',
@@ -7584,7 +7658,7 @@ export namespace networkservices_v1 {
7584
7658
  *
7585
7659
  * // Do the magic
7586
7660
  * const res = await networkservices.projects.locations.grpcRoutes.patch({
7587
- * // Identifier. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/global/grpcRoutes/`
7661
+ * // Identifier. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/x/grpcRoutes/`
7588
7662
  * name: 'projects/my-project/locations/my-location/grpcRoutes/my-grpcRoute',
7589
7663
  * // 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.
7590
7664
  * updateMask: 'placeholder-value',
@@ -7719,7 +7793,7 @@ export namespace networkservices_v1 {
7719
7793
  */
7720
7794
  grpcRouteId?: string;
7721
7795
  /**
7722
- * Required. The parent resource of the GrpcRoute. Must be in the format `projects/x/locations/global`.
7796
+ * Required. The parent resource of the GrpcRoute. Must be in the format `projects/x/locations/x`.
7723
7797
  */
7724
7798
  parent?: string;
7725
7799
 
@@ -7731,14 +7805,14 @@ export namespace networkservices_v1 {
7731
7805
  export interface Params$Resource$Projects$Locations$Grpcroutes$Delete
7732
7806
  extends StandardParameters {
7733
7807
  /**
7734
- * Required. A name of the GrpcRoute to delete. Must be in the format `projects/x/locations/global/grpcRoutes/x`.
7808
+ * Required. A name of the GrpcRoute to delete. Must be in the format `projects/x/locations/x/grpcRoutes/x`.
7735
7809
  */
7736
7810
  name?: string;
7737
7811
  }
7738
7812
  export interface Params$Resource$Projects$Locations$Grpcroutes$Get
7739
7813
  extends StandardParameters {
7740
7814
  /**
7741
- * Required. A name of the GrpcRoute to get. Must be in the format `projects/x/locations/global/grpcRoutes/x`.
7815
+ * Required. A name of the GrpcRoute to get. Must be in the format `projects/x/locations/x/grpcRoutes/x`.
7742
7816
  */
7743
7817
  name?: string;
7744
7818
  }
@@ -7753,7 +7827,7 @@ export namespace networkservices_v1 {
7753
7827
  */
7754
7828
  pageToken?: string;
7755
7829
  /**
7756
- * Required. The project and location from which the GrpcRoutes should be listed, specified in the format `projects/x/locations/global`.
7830
+ * Required. The project and location from which the GrpcRoutes should be listed, specified in the format `projects/x/locations/x`.
7757
7831
  */
7758
7832
  parent?: string;
7759
7833
  /**
@@ -7764,7 +7838,7 @@ export namespace networkservices_v1 {
7764
7838
  export interface Params$Resource$Projects$Locations$Grpcroutes$Patch
7765
7839
  extends StandardParameters {
7766
7840
  /**
7767
- * Identifier. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/global/grpcRoutes/`
7841
+ * Identifier. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/x/grpcRoutes/`
7768
7842
  */
7769
7843
  name?: string;
7770
7844
  /**
@@ -7817,7 +7891,7 @@ export namespace networkservices_v1 {
7817
7891
  * const res = await networkservices.projects.locations.httpRoutes.create({
7818
7892
  * // Required. Short name of the HttpRoute resource to be created.
7819
7893
  * httpRouteId: 'placeholder-value',
7820
- * // Required. The parent resource of the HttpRoute. Must be in the format `projects/x/locations/global`.
7894
+ * // Required. The parent resource of the HttpRoute. Must be in the format `projects/x/locations/x`.
7821
7895
  * parent: 'projects/my-project/locations/my-location',
7822
7896
  *
7823
7897
  * // Request body metadata
@@ -7976,7 +8050,7 @@ export namespace networkservices_v1 {
7976
8050
  *
7977
8051
  * // Do the magic
7978
8052
  * const res = await networkservices.projects.locations.httpRoutes.delete({
7979
- * // Required. A name of the HttpRoute to delete. Must be in the format `projects/x/locations/global/httpRoutes/x`.
8053
+ * // Required. A name of the HttpRoute to delete. Must be in the format `projects/x/locations/x/httpRoutes/x`.
7980
8054
  * name: 'projects/my-project/locations/my-location/httpRoutes/my-httpRoute',
7981
8055
  * });
7982
8056
  * console.log(res.data);
@@ -8115,7 +8189,7 @@ export namespace networkservices_v1 {
8115
8189
  *
8116
8190
  * // Do the magic
8117
8191
  * const res = await networkservices.projects.locations.httpRoutes.get({
8118
- * // Required. A name of the HttpRoute to get. Must be in the format `projects/x/locations/global/httpRoutes/x`.
8192
+ * // Required. A name of the HttpRoute to get. Must be in the format `projects/x/locations/x/httpRoutes/x`.
8119
8193
  * name: 'projects/my-project/locations/my-location/httpRoutes/my-httpRoute',
8120
8194
  * });
8121
8195
  * console.log(res.data);
@@ -8263,7 +8337,7 @@ export namespace networkservices_v1 {
8263
8337
  * pageSize: 'placeholder-value',
8264
8338
  * // 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.
8265
8339
  * pageToken: 'placeholder-value',
8266
- * // Required. The project and location from which the HttpRoutes should be listed, specified in the format `projects/x/locations/global`.
8340
+ * // Required. The project and location from which the HttpRoutes should be listed, specified in the format `projects/x/locations/x`.
8267
8341
  * parent: 'projects/my-project/locations/my-location',
8268
8342
  * // 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.
8269
8343
  * returnPartialSuccess: 'placeholder-value',
@@ -8407,7 +8481,7 @@ export namespace networkservices_v1 {
8407
8481
  *
8408
8482
  * // Do the magic
8409
8483
  * const res = await networkservices.projects.locations.httpRoutes.patch({
8410
- * // Identifier. Name of the HttpRoute resource. It matches pattern `projects/x/locations/global/httpRoutes/http_route_name\>`.
8484
+ * // Identifier. Name of the HttpRoute resource. It matches pattern `projects/x/locations/x/httpRoutes/http_route_name\>`.
8411
8485
  * name: 'projects/my-project/locations/my-location/httpRoutes/my-httpRoute',
8412
8486
  * // 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.
8413
8487
  * updateMask: 'placeholder-value',
@@ -8542,7 +8616,7 @@ export namespace networkservices_v1 {
8542
8616
  */
8543
8617
  httpRouteId?: string;
8544
8618
  /**
8545
- * Required. The parent resource of the HttpRoute. Must be in the format `projects/x/locations/global`.
8619
+ * Required. The parent resource of the HttpRoute. Must be in the format `projects/x/locations/x`.
8546
8620
  */
8547
8621
  parent?: string;
8548
8622
 
@@ -8554,14 +8628,14 @@ export namespace networkservices_v1 {
8554
8628
  export interface Params$Resource$Projects$Locations$Httproutes$Delete
8555
8629
  extends StandardParameters {
8556
8630
  /**
8557
- * Required. A name of the HttpRoute to delete. Must be in the format `projects/x/locations/global/httpRoutes/x`.
8631
+ * Required. A name of the HttpRoute to delete. Must be in the format `projects/x/locations/x/httpRoutes/x`.
8558
8632
  */
8559
8633
  name?: string;
8560
8634
  }
8561
8635
  export interface Params$Resource$Projects$Locations$Httproutes$Get
8562
8636
  extends StandardParameters {
8563
8637
  /**
8564
- * Required. A name of the HttpRoute to get. Must be in the format `projects/x/locations/global/httpRoutes/x`.
8638
+ * Required. A name of the HttpRoute to get. Must be in the format `projects/x/locations/x/httpRoutes/x`.
8565
8639
  */
8566
8640
  name?: string;
8567
8641
  }
@@ -8576,7 +8650,7 @@ export namespace networkservices_v1 {
8576
8650
  */
8577
8651
  pageToken?: string;
8578
8652
  /**
8579
- * Required. The project and location from which the HttpRoutes should be listed, specified in the format `projects/x/locations/global`.
8653
+ * Required. The project and location from which the HttpRoutes should be listed, specified in the format `projects/x/locations/x`.
8580
8654
  */
8581
8655
  parent?: string;
8582
8656
  /**
@@ -8587,7 +8661,7 @@ export namespace networkservices_v1 {
8587
8661
  export interface Params$Resource$Projects$Locations$Httproutes$Patch
8588
8662
  extends StandardParameters {
8589
8663
  /**
8590
- * Identifier. Name of the HttpRoute resource. It matches pattern `projects/x/locations/global/httpRoutes/http_route_name\>`.
8664
+ * Identifier. Name of the HttpRoute resource. It matches pattern `projects/x/locations/x/httpRoutes/http_route_name\>`.
8591
8665
  */
8592
8666
  name?: string;
8593
8667
  /**
@@ -8601,14 +8675,14 @@ export namespace networkservices_v1 {
8601
8675
  requestBody?: Schema$HttpRoute;
8602
8676
  }
8603
8677
 
8604
- export class Resource$Projects$Locations$Lbrouteextensions {
8678
+ export class Resource$Projects$Locations$Lbedgeextensions {
8605
8679
  context: APIRequestContext;
8606
8680
  constructor(context: APIRequestContext) {
8607
8681
  this.context = context;
8608
8682
  }
8609
8683
 
8610
8684
  /**
8611
- * Creates a new `LbRouteExtension` resource in a given project and location.
8685
+ * Creates a new `LbEdgeExtension` resource in a given project and location.
8612
8686
  * @example
8613
8687
  * ```js
8614
8688
  * // Before running the sample:
@@ -8637,32 +8711,29 @@ export namespace networkservices_v1 {
8637
8711
  * google.options({auth: authClient});
8638
8712
  *
8639
8713
  * // Do the magic
8640
- * const res = await networkservices.projects.locations.lbRouteExtensions.create(
8641
- * {
8642
- * // Required. User-provided ID of the `LbRouteExtension` resource to be created.
8643
- * lbRouteExtensionId: 'placeholder-value',
8644
- * // Required. The parent resource of the `LbRouteExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
8645
- * parent: 'projects/my-project/locations/my-location',
8646
- * // 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).
8647
- * requestId: 'placeholder-value',
8714
+ * const res = await networkservices.projects.locations.lbEdgeExtensions.create({
8715
+ * // Required. User-provided ID of the `LbEdgeExtension` resource to be created.
8716
+ * lbEdgeExtensionId: 'placeholder-value',
8717
+ * // Required. The parent resource of the `LbEdgeExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
8718
+ * parent: 'projects/my-project/locations/my-location',
8719
+ * // 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).
8720
+ * requestId: 'placeholder-value',
8648
8721
  *
8649
- * // Request body metadata
8650
- * requestBody: {
8651
- * // request body parameters
8652
- * // {
8653
- * // "createTime": "my_createTime",
8654
- * // "description": "my_description",
8655
- * // "extensionChains": [],
8656
- * // "forwardingRules": [],
8657
- * // "labels": {},
8658
- * // "loadBalancingScheme": "my_loadBalancingScheme",
8659
- * // "metadata": {},
8660
- * // "name": "my_name",
8661
- * // "updateTime": "my_updateTime"
8662
- * // }
8663
- * },
8722
+ * // Request body metadata
8723
+ * requestBody: {
8724
+ * // request body parameters
8725
+ * // {
8726
+ * // "createTime": "my_createTime",
8727
+ * // "description": "my_description",
8728
+ * // "extensionChains": [],
8729
+ * // "forwardingRules": [],
8730
+ * // "labels": {},
8731
+ * // "loadBalancingScheme": "my_loadBalancingScheme",
8732
+ * // "name": "my_name",
8733
+ * // "updateTime": "my_updateTime"
8734
+ * // }
8664
8735
  * },
8665
- * );
8736
+ * });
8666
8737
  * console.log(res.data);
8667
8738
  *
8668
8739
  * // Example response
@@ -8688,31 +8759,31 @@ export namespace networkservices_v1 {
8688
8759
  * @returns A promise if used with async/await, or void if used with a callback.
8689
8760
  */
8690
8761
  create(
8691
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
8762
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Create,
8692
8763
  options: StreamMethodOptions
8693
8764
  ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8694
8765
  create(
8695
- params?: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
8766
+ params?: Params$Resource$Projects$Locations$Lbedgeextensions$Create,
8696
8767
  options?: MethodOptions
8697
8768
  ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
8698
8769
  create(
8699
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
8770
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Create,
8700
8771
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
8701
8772
  callback: BodyResponseCallback<Readable>
8702
8773
  ): void;
8703
8774
  create(
8704
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
8775
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Create,
8705
8776
  options: MethodOptions | BodyResponseCallback<Schema$Operation>,
8706
8777
  callback: BodyResponseCallback<Schema$Operation>
8707
8778
  ): void;
8708
8779
  create(
8709
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
8780
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Create,
8710
8781
  callback: BodyResponseCallback<Schema$Operation>
8711
8782
  ): void;
8712
8783
  create(callback: BodyResponseCallback<Schema$Operation>): void;
8713
8784
  create(
8714
8785
  paramsOrCallback?:
8715
- | Params$Resource$Projects$Locations$Lbrouteextensions$Create
8786
+ | Params$Resource$Projects$Locations$Lbedgeextensions$Create
8716
8787
  | BodyResponseCallback<Schema$Operation>
8717
8788
  | BodyResponseCallback<Readable>,
8718
8789
  optionsOrCallback?:
@@ -8728,13 +8799,13 @@ export namespace networkservices_v1 {
8728
8799
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
8729
8800
  | Promise<GaxiosResponseWithHTTP2<Readable>> {
8730
8801
  let params = (paramsOrCallback ||
8731
- {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Create;
8802
+ {}) as Params$Resource$Projects$Locations$Lbedgeextensions$Create;
8732
8803
  let options = (optionsOrCallback || {}) as MethodOptions;
8733
8804
 
8734
8805
  if (typeof paramsOrCallback === 'function') {
8735
8806
  callback = paramsOrCallback;
8736
8807
  params =
8737
- {} as Params$Resource$Projects$Locations$Lbrouteextensions$Create;
8808
+ {} as Params$Resource$Projects$Locations$Lbedgeextensions$Create;
8738
8809
  options = {};
8739
8810
  }
8740
8811
 
@@ -8748,7 +8819,7 @@ export namespace networkservices_v1 {
8748
8819
  const parameters = {
8749
8820
  options: Object.assign(
8750
8821
  {
8751
- url: (rootUrl + '/v1/{+parent}/lbRouteExtensions').replace(
8822
+ url: (rootUrl + '/v1/{+parent}/lbEdgeExtensions').replace(
8752
8823
  /([^:]\/)\/+/g,
8753
8824
  '$1'
8754
8825
  ),
@@ -8773,7 +8844,7 @@ export namespace networkservices_v1 {
8773
8844
  }
8774
8845
 
8775
8846
  /**
8776
- * Deletes the specified `LbRouteExtension` resource.
8847
+ * Deletes the specified `LbEdgeExtension` resource.
8777
8848
  * @example
8778
8849
  * ```js
8779
8850
  * // Before running the sample:
@@ -8802,14 +8873,12 @@ export namespace networkservices_v1 {
8802
8873
  * google.options({auth: authClient});
8803
8874
  *
8804
8875
  * // Do the magic
8805
- * const res = await networkservices.projects.locations.lbRouteExtensions.delete(
8806
- * {
8807
- * // Required. The name of the `LbRouteExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
8808
- * name: 'projects/my-project/locations/my-location/lbRouteExtensions/my-lbRouteExtension',
8809
- * // 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).
8810
- * requestId: 'placeholder-value',
8811
- * },
8812
- * );
8876
+ * const res = await networkservices.projects.locations.lbEdgeExtensions.delete({
8877
+ * // Required. The name of the `LbEdgeExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
8878
+ * name: 'projects/my-project/locations/my-location/lbEdgeExtensions/my-lbEdgeExtension',
8879
+ * // 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).
8880
+ * requestId: 'placeholder-value',
8881
+ * });
8813
8882
  * console.log(res.data);
8814
8883
  *
8815
8884
  * // Example response
@@ -8835,31 +8904,31 @@ export namespace networkservices_v1 {
8835
8904
  * @returns A promise if used with async/await, or void if used with a callback.
8836
8905
  */
8837
8906
  delete(
8838
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
8907
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete,
8839
8908
  options: StreamMethodOptions
8840
8909
  ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8841
8910
  delete(
8842
- params?: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
8911
+ params?: Params$Resource$Projects$Locations$Lbedgeextensions$Delete,
8843
8912
  options?: MethodOptions
8844
8913
  ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
8845
8914
  delete(
8846
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
8915
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete,
8847
8916
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
8848
8917
  callback: BodyResponseCallback<Readable>
8849
8918
  ): void;
8850
8919
  delete(
8851
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
8920
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete,
8852
8921
  options: MethodOptions | BodyResponseCallback<Schema$Operation>,
8853
8922
  callback: BodyResponseCallback<Schema$Operation>
8854
8923
  ): void;
8855
8924
  delete(
8856
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
8925
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete,
8857
8926
  callback: BodyResponseCallback<Schema$Operation>
8858
8927
  ): void;
8859
8928
  delete(callback: BodyResponseCallback<Schema$Operation>): void;
8860
8929
  delete(
8861
8930
  paramsOrCallback?:
8862
- | Params$Resource$Projects$Locations$Lbrouteextensions$Delete
8931
+ | Params$Resource$Projects$Locations$Lbedgeextensions$Delete
8863
8932
  | BodyResponseCallback<Schema$Operation>
8864
8933
  | BodyResponseCallback<Readable>,
8865
8934
  optionsOrCallback?:
@@ -8875,13 +8944,13 @@ export namespace networkservices_v1 {
8875
8944
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
8876
8945
  | Promise<GaxiosResponseWithHTTP2<Readable>> {
8877
8946
  let params = (paramsOrCallback ||
8878
- {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Delete;
8947
+ {}) as Params$Resource$Projects$Locations$Lbedgeextensions$Delete;
8879
8948
  let options = (optionsOrCallback || {}) as MethodOptions;
8880
8949
 
8881
8950
  if (typeof paramsOrCallback === 'function') {
8882
8951
  callback = paramsOrCallback;
8883
8952
  params =
8884
- {} as Params$Resource$Projects$Locations$Lbrouteextensions$Delete;
8953
+ {} as Params$Resource$Projects$Locations$Lbedgeextensions$Delete;
8885
8954
  options = {};
8886
8955
  }
8887
8956
 
@@ -8917,7 +8986,7 @@ export namespace networkservices_v1 {
8917
8986
  }
8918
8987
 
8919
8988
  /**
8920
- * Gets details of the specified `LbRouteExtension` resource.
8989
+ * Gets details of the specified `LbEdgeExtension` resource.
8921
8990
  * @example
8922
8991
  * ```js
8923
8992
  * // Before running the sample:
@@ -8946,9 +9015,9 @@ export namespace networkservices_v1 {
8946
9015
  * google.options({auth: authClient});
8947
9016
  *
8948
9017
  * // Do the magic
8949
- * const res = await networkservices.projects.locations.lbRouteExtensions.get({
8950
- * // Required. A name of the `LbRouteExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
8951
- * name: 'projects/my-project/locations/my-location/lbRouteExtensions/my-lbRouteExtension',
9018
+ * const res = await networkservices.projects.locations.lbEdgeExtensions.get({
9019
+ * // Required. A name of the `LbEdgeExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
9020
+ * name: 'projects/my-project/locations/my-location/lbEdgeExtensions/my-lbEdgeExtension',
8952
9021
  * });
8953
9022
  * console.log(res.data);
8954
9023
  *
@@ -8960,7 +9029,6 @@ export namespace networkservices_v1 {
8960
9029
  * // "forwardingRules": [],
8961
9030
  * // "labels": {},
8962
9031
  * // "loadBalancingScheme": "my_loadBalancingScheme",
8963
- * // "metadata": {},
8964
9032
  * // "name": "my_name",
8965
9033
  * // "updateTime": "my_updateTime"
8966
9034
  * // }
@@ -8979,52 +9047,52 @@ export namespace networkservices_v1 {
8979
9047
  * @returns A promise if used with async/await, or void if used with a callback.
8980
9048
  */
8981
9049
  get(
8982
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
9050
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Get,
8983
9051
  options: StreamMethodOptions
8984
9052
  ): Promise<GaxiosResponseWithHTTP2<Readable>>;
8985
9053
  get(
8986
- params?: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
9054
+ params?: Params$Resource$Projects$Locations$Lbedgeextensions$Get,
8987
9055
  options?: MethodOptions
8988
- ): Promise<GaxiosResponseWithHTTP2<Schema$LbRouteExtension>>;
9056
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LbEdgeExtension>>;
8989
9057
  get(
8990
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
9058
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Get,
8991
9059
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
8992
9060
  callback: BodyResponseCallback<Readable>
8993
9061
  ): void;
8994
9062
  get(
8995
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
8996
- options: MethodOptions | BodyResponseCallback<Schema$LbRouteExtension>,
8997
- callback: BodyResponseCallback<Schema$LbRouteExtension>
9063
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Get,
9064
+ options: MethodOptions | BodyResponseCallback<Schema$LbEdgeExtension>,
9065
+ callback: BodyResponseCallback<Schema$LbEdgeExtension>
8998
9066
  ): void;
8999
9067
  get(
9000
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
9001
- callback: BodyResponseCallback<Schema$LbRouteExtension>
9068
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Get,
9069
+ callback: BodyResponseCallback<Schema$LbEdgeExtension>
9002
9070
  ): void;
9003
- get(callback: BodyResponseCallback<Schema$LbRouteExtension>): void;
9071
+ get(callback: BodyResponseCallback<Schema$LbEdgeExtension>): void;
9004
9072
  get(
9005
9073
  paramsOrCallback?:
9006
- | Params$Resource$Projects$Locations$Lbrouteextensions$Get
9007
- | BodyResponseCallback<Schema$LbRouteExtension>
9074
+ | Params$Resource$Projects$Locations$Lbedgeextensions$Get
9075
+ | BodyResponseCallback<Schema$LbEdgeExtension>
9008
9076
  | BodyResponseCallback<Readable>,
9009
9077
  optionsOrCallback?:
9010
9078
  | MethodOptions
9011
9079
  | StreamMethodOptions
9012
- | BodyResponseCallback<Schema$LbRouteExtension>
9080
+ | BodyResponseCallback<Schema$LbEdgeExtension>
9013
9081
  | BodyResponseCallback<Readable>,
9014
9082
  callback?:
9015
- | BodyResponseCallback<Schema$LbRouteExtension>
9083
+ | BodyResponseCallback<Schema$LbEdgeExtension>
9016
9084
  | BodyResponseCallback<Readable>
9017
9085
  ):
9018
9086
  | void
9019
- | Promise<GaxiosResponseWithHTTP2<Schema$LbRouteExtension>>
9087
+ | Promise<GaxiosResponseWithHTTP2<Schema$LbEdgeExtension>>
9020
9088
  | Promise<GaxiosResponseWithHTTP2<Readable>> {
9021
9089
  let params = (paramsOrCallback ||
9022
- {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Get;
9090
+ {}) as Params$Resource$Projects$Locations$Lbedgeextensions$Get;
9023
9091
  let options = (optionsOrCallback || {}) as MethodOptions;
9024
9092
 
9025
9093
  if (typeof paramsOrCallback === 'function') {
9026
9094
  callback = paramsOrCallback;
9027
- params = {} as Params$Resource$Projects$Locations$Lbrouteextensions$Get;
9095
+ params = {} as Params$Resource$Projects$Locations$Lbedgeextensions$Get;
9028
9096
  options = {};
9029
9097
  }
9030
9098
 
@@ -9050,17 +9118,17 @@ export namespace networkservices_v1 {
9050
9118
  context: this.context,
9051
9119
  };
9052
9120
  if (callback) {
9053
- createAPIRequest<Schema$LbRouteExtension>(
9121
+ createAPIRequest<Schema$LbEdgeExtension>(
9054
9122
  parameters,
9055
9123
  callback as BodyResponseCallback<unknown>
9056
9124
  );
9057
9125
  } else {
9058
- return createAPIRequest<Schema$LbRouteExtension>(parameters);
9126
+ return createAPIRequest<Schema$LbEdgeExtension>(parameters);
9059
9127
  }
9060
9128
  }
9061
9129
 
9062
9130
  /**
9063
- * Lists `LbRouteExtension` resources in a given project and location.
9131
+ * Lists `LbEdgeExtension` resources in a given project and location.
9064
9132
  * @example
9065
9133
  * ```js
9066
9134
  * // Before running the sample:
@@ -9089,7 +9157,7 @@ export namespace networkservices_v1 {
9089
9157
  * google.options({auth: authClient});
9090
9158
  *
9091
9159
  * // Do the magic
9092
- * const res = await networkservices.projects.locations.lbRouteExtensions.list({
9160
+ * const res = await networkservices.projects.locations.lbEdgeExtensions.list({
9093
9161
  * // Optional. Filtering results.
9094
9162
  * filter: 'placeholder-value',
9095
9163
  * // Optional. Hint about how to order the results.
@@ -9098,14 +9166,14 @@ export namespace networkservices_v1 {
9098
9166
  * pageSize: 'placeholder-value',
9099
9167
  * // Optional. A token identifying a page of results that the server returns.
9100
9168
  * pageToken: 'placeholder-value',
9101
- * // Required. The project and location from which the `LbRouteExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
9169
+ * // Required. The project and location from which the `LbEdgeExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
9102
9170
  * parent: 'projects/my-project/locations/my-location',
9103
9171
  * });
9104
9172
  * console.log(res.data);
9105
9173
  *
9106
9174
  * // Example response
9107
9175
  * // {
9108
- * // "lbRouteExtensions": [],
9176
+ * // "lbEdgeExtensions": [],
9109
9177
  * // "nextPageToken": "my_nextPageToken",
9110
9178
  * // "unreachable": []
9111
9179
  * // }
@@ -9124,57 +9192,56 @@ export namespace networkservices_v1 {
9124
9192
  * @returns A promise if used with async/await, or void if used with a callback.
9125
9193
  */
9126
9194
  list(
9127
- params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
9195
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$List,
9128
9196
  options: StreamMethodOptions
9129
9197
  ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9130
9198
  list(
9131
- params?: Params$Resource$Projects$Locations$Lbrouteextensions$List,
9199
+ params?: Params$Resource$Projects$Locations$Lbedgeextensions$List,
9132
9200
  options?: MethodOptions
9133
- ): Promise<GaxiosResponseWithHTTP2<Schema$ListLbRouteExtensionsResponse>>;
9201
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListLbEdgeExtensionsResponse>>;
9134
9202
  list(
9135
- params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
9203
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$List,
9136
9204
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
9137
9205
  callback: BodyResponseCallback<Readable>
9138
9206
  ): void;
9139
9207
  list(
9140
- params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
9208
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$List,
9141
9209
  options:
9142
9210
  | MethodOptions
9143
- | BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>,
9144
- callback: BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
9211
+ | BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>,
9212
+ callback: BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
9145
9213
  ): void;
9146
9214
  list(
9147
- params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
9148
- callback: BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
9215
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$List,
9216
+ callback: BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
9149
9217
  ): void;
9150
9218
  list(
9151
- callback: BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
9219
+ callback: BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
9152
9220
  ): void;
9153
9221
  list(
9154
9222
  paramsOrCallback?:
9155
- | Params$Resource$Projects$Locations$Lbrouteextensions$List
9156
- | BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
9223
+ | Params$Resource$Projects$Locations$Lbedgeextensions$List
9224
+ | BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
9157
9225
  | BodyResponseCallback<Readable>,
9158
9226
  optionsOrCallback?:
9159
9227
  | MethodOptions
9160
9228
  | StreamMethodOptions
9161
- | BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
9229
+ | BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
9162
9230
  | BodyResponseCallback<Readable>,
9163
9231
  callback?:
9164
- | BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
9232
+ | BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
9165
9233
  | BodyResponseCallback<Readable>
9166
9234
  ):
9167
9235
  | void
9168
- | Promise<GaxiosResponseWithHTTP2<Schema$ListLbRouteExtensionsResponse>>
9236
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListLbEdgeExtensionsResponse>>
9169
9237
  | Promise<GaxiosResponseWithHTTP2<Readable>> {
9170
9238
  let params = (paramsOrCallback ||
9171
- {}) as Params$Resource$Projects$Locations$Lbrouteextensions$List;
9239
+ {}) as Params$Resource$Projects$Locations$Lbedgeextensions$List;
9172
9240
  let options = (optionsOrCallback || {}) as MethodOptions;
9173
9241
 
9174
9242
  if (typeof paramsOrCallback === 'function') {
9175
9243
  callback = paramsOrCallback;
9176
- params =
9177
- {} as Params$Resource$Projects$Locations$Lbrouteextensions$List;
9244
+ params = {} as Params$Resource$Projects$Locations$Lbedgeextensions$List;
9178
9245
  options = {};
9179
9246
  }
9180
9247
 
@@ -9188,7 +9255,7 @@ export namespace networkservices_v1 {
9188
9255
  const parameters = {
9189
9256
  options: Object.assign(
9190
9257
  {
9191
- url: (rootUrl + '/v1/{+parent}/lbRouteExtensions').replace(
9258
+ url: (rootUrl + '/v1/{+parent}/lbEdgeExtensions').replace(
9192
9259
  /([^:]\/)\/+/g,
9193
9260
  '$1'
9194
9261
  ),
@@ -9203,19 +9270,19 @@ export namespace networkservices_v1 {
9203
9270
  context: this.context,
9204
9271
  };
9205
9272
  if (callback) {
9206
- createAPIRequest<Schema$ListLbRouteExtensionsResponse>(
9273
+ createAPIRequest<Schema$ListLbEdgeExtensionsResponse>(
9207
9274
  parameters,
9208
9275
  callback as BodyResponseCallback<unknown>
9209
9276
  );
9210
9277
  } else {
9211
- return createAPIRequest<Schema$ListLbRouteExtensionsResponse>(
9278
+ return createAPIRequest<Schema$ListLbEdgeExtensionsResponse>(
9212
9279
  parameters
9213
9280
  );
9214
9281
  }
9215
9282
  }
9216
9283
 
9217
9284
  /**
9218
- * Updates the parameters of the specified `LbRouteExtension` resource.
9285
+ * Updates the parameters of the specified `LbEdgeExtension` resource.
9219
9286
  * @example
9220
9287
  * ```js
9221
9288
  * // Before running the sample:
@@ -9244,12 +9311,12 @@ export namespace networkservices_v1 {
9244
9311
  * google.options({auth: authClient});
9245
9312
  *
9246
9313
  * // Do the magic
9247
- * const res = await networkservices.projects.locations.lbRouteExtensions.patch({
9248
- * // Required. Identifier. Name of the `LbRouteExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
9249
- * name: 'projects/my-project/locations/my-location/lbRouteExtensions/my-lbRouteExtension',
9314
+ * const res = await networkservices.projects.locations.lbEdgeExtensions.patch({
9315
+ * // Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
9316
+ * name: 'projects/my-project/locations/my-location/lbEdgeExtensions/my-lbEdgeExtension',
9250
9317
  * // 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).
9251
9318
  * requestId: 'placeholder-value',
9252
- * // 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.
9319
+ * // 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.
9253
9320
  * updateMask: 'placeholder-value',
9254
9321
  *
9255
9322
  * // Request body metadata
@@ -9262,7 +9329,6 @@ export namespace networkservices_v1 {
9262
9329
  * // "forwardingRules": [],
9263
9330
  * // "labels": {},
9264
9331
  * // "loadBalancingScheme": "my_loadBalancingScheme",
9265
- * // "metadata": {},
9266
9332
  * // "name": "my_name",
9267
9333
  * // "updateTime": "my_updateTime"
9268
9334
  * // }
@@ -9293,31 +9359,31 @@ export namespace networkservices_v1 {
9293
9359
  * @returns A promise if used with async/await, or void if used with a callback.
9294
9360
  */
9295
9361
  patch(
9296
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
9362
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch,
9297
9363
  options: StreamMethodOptions
9298
9364
  ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9299
9365
  patch(
9300
- params?: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
9366
+ params?: Params$Resource$Projects$Locations$Lbedgeextensions$Patch,
9301
9367
  options?: MethodOptions
9302
9368
  ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
9303
9369
  patch(
9304
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
9370
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch,
9305
9371
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
9306
9372
  callback: BodyResponseCallback<Readable>
9307
9373
  ): void;
9308
9374
  patch(
9309
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
9375
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch,
9310
9376
  options: MethodOptions | BodyResponseCallback<Schema$Operation>,
9311
9377
  callback: BodyResponseCallback<Schema$Operation>
9312
9378
  ): void;
9313
9379
  patch(
9314
- params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
9380
+ params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch,
9315
9381
  callback: BodyResponseCallback<Schema$Operation>
9316
9382
  ): void;
9317
9383
  patch(callback: BodyResponseCallback<Schema$Operation>): void;
9318
9384
  patch(
9319
9385
  paramsOrCallback?:
9320
- | Params$Resource$Projects$Locations$Lbrouteextensions$Patch
9386
+ | Params$Resource$Projects$Locations$Lbedgeextensions$Patch
9321
9387
  | BodyResponseCallback<Schema$Operation>
9322
9388
  | BodyResponseCallback<Readable>,
9323
9389
  optionsOrCallback?:
@@ -9333,13 +9399,13 @@ export namespace networkservices_v1 {
9333
9399
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
9334
9400
  | Promise<GaxiosResponseWithHTTP2<Readable>> {
9335
9401
  let params = (paramsOrCallback ||
9336
- {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Patch;
9402
+ {}) as Params$Resource$Projects$Locations$Lbedgeextensions$Patch;
9337
9403
  let options = (optionsOrCallback || {}) as MethodOptions;
9338
9404
 
9339
9405
  if (typeof paramsOrCallback === 'function') {
9340
9406
  callback = paramsOrCallback;
9341
9407
  params =
9342
- {} as Params$Resource$Projects$Locations$Lbrouteextensions$Patch;
9408
+ {} as Params$Resource$Projects$Locations$Lbedgeextensions$Patch;
9343
9409
  options = {};
9344
9410
  }
9345
9411
 
@@ -9375,14 +9441,14 @@ export namespace networkservices_v1 {
9375
9441
  }
9376
9442
  }
9377
9443
 
9378
- export interface Params$Resource$Projects$Locations$Lbrouteextensions$Create
9444
+ export interface Params$Resource$Projects$Locations$Lbedgeextensions$Create
9379
9445
  extends StandardParameters {
9380
9446
  /**
9381
- * Required. User-provided ID of the `LbRouteExtension` resource to be created.
9447
+ * Required. User-provided ID of the `LbEdgeExtension` resource to be created.
9382
9448
  */
9383
- lbRouteExtensionId?: string;
9449
+ lbEdgeExtensionId?: string;
9384
9450
  /**
9385
- * Required. The parent resource of the `LbRouteExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
9451
+ * Required. The parent resource of the `LbEdgeExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
9386
9452
  */
9387
9453
  parent?: string;
9388
9454
  /**
@@ -9393,12 +9459,12 @@ export namespace networkservices_v1 {
9393
9459
  /**
9394
9460
  * Request body metadata
9395
9461
  */
9396
- requestBody?: Schema$LbRouteExtension;
9462
+ requestBody?: Schema$LbEdgeExtension;
9397
9463
  }
9398
- export interface Params$Resource$Projects$Locations$Lbrouteextensions$Delete
9464
+ export interface Params$Resource$Projects$Locations$Lbedgeextensions$Delete
9399
9465
  extends StandardParameters {
9400
9466
  /**
9401
- * Required. The name of the `LbRouteExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
9467
+ * Required. The name of the `LbEdgeExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
9402
9468
  */
9403
9469
  name?: string;
9404
9470
  /**
@@ -9406,14 +9472,14 @@ export namespace networkservices_v1 {
9406
9472
  */
9407
9473
  requestId?: string;
9408
9474
  }
9409
- export interface Params$Resource$Projects$Locations$Lbrouteextensions$Get
9475
+ export interface Params$Resource$Projects$Locations$Lbedgeextensions$Get
9410
9476
  extends StandardParameters {
9411
9477
  /**
9412
- * Required. A name of the `LbRouteExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
9478
+ * Required. A name of the `LbEdgeExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
9413
9479
  */
9414
9480
  name?: string;
9415
9481
  }
9416
- export interface Params$Resource$Projects$Locations$Lbrouteextensions$List
9482
+ export interface Params$Resource$Projects$Locations$Lbedgeextensions$List
9417
9483
  extends StandardParameters {
9418
9484
  /**
9419
9485
  * Optional. Filtering results.
@@ -9432,14 +9498,14 @@ export namespace networkservices_v1 {
9432
9498
  */
9433
9499
  pageToken?: string;
9434
9500
  /**
9435
- * Required. The project and location from which the `LbRouteExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
9501
+ * Required. The project and location from which the `LbEdgeExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
9436
9502
  */
9437
9503
  parent?: string;
9438
9504
  }
9439
- export interface Params$Resource$Projects$Locations$Lbrouteextensions$Patch
9505
+ export interface Params$Resource$Projects$Locations$Lbedgeextensions$Patch
9440
9506
  extends StandardParameters {
9441
9507
  /**
9442
- * Required. Identifier. Name of the `LbRouteExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
9508
+ * Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
9443
9509
  */
9444
9510
  name?: string;
9445
9511
  /**
@@ -9447,24 +9513,24 @@ export namespace networkservices_v1 {
9447
9513
  */
9448
9514
  requestId?: string;
9449
9515
  /**
9450
- * 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.
9516
+ * 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.
9451
9517
  */
9452
9518
  updateMask?: string;
9453
9519
 
9454
9520
  /**
9455
9521
  * Request body metadata
9456
9522
  */
9457
- requestBody?: Schema$LbRouteExtension;
9523
+ requestBody?: Schema$LbEdgeExtension;
9458
9524
  }
9459
9525
 
9460
- export class Resource$Projects$Locations$Lbtrafficextensions {
9526
+ export class Resource$Projects$Locations$Lbrouteextensions {
9461
9527
  context: APIRequestContext;
9462
9528
  constructor(context: APIRequestContext) {
9463
9529
  this.context = context;
9464
9530
  }
9465
9531
 
9466
9532
  /**
9467
- * Creates a new `LbTrafficExtension` resource in a given project and location.
9533
+ * Creates a new `LbRouteExtension` resource in a given project and location.
9468
9534
  * @example
9469
9535
  * ```js
9470
9536
  * // Before running the sample:
@@ -9493,11 +9559,11 @@ export namespace networkservices_v1 {
9493
9559
  * google.options({auth: authClient});
9494
9560
  *
9495
9561
  * // Do the magic
9496
- * const res =
9497
- * await networkservices.projects.locations.lbTrafficExtensions.create({
9498
- * // Required. User-provided ID of the `LbTrafficExtension` resource to be created.
9499
- * lbTrafficExtensionId: 'placeholder-value',
9500
- * // Required. The parent resource of the `LbTrafficExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
9562
+ * const res = await networkservices.projects.locations.lbRouteExtensions.create(
9563
+ * {
9564
+ * // Required. User-provided ID of the `LbRouteExtension` resource to be created.
9565
+ * lbRouteExtensionId: 'placeholder-value',
9566
+ * // Required. The parent resource of the `LbRouteExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
9501
9567
  * parent: 'projects/my-project/locations/my-location',
9502
9568
  * // 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).
9503
9569
  * requestId: 'placeholder-value',
@@ -9517,7 +9583,8 @@ export namespace networkservices_v1 {
9517
9583
  * // "updateTime": "my_updateTime"
9518
9584
  * // }
9519
9585
  * },
9520
- * });
9586
+ * },
9587
+ * );
9521
9588
  * console.log(res.data);
9522
9589
  *
9523
9590
  * // Example response
@@ -9543,31 +9610,31 @@ export namespace networkservices_v1 {
9543
9610
  * @returns A promise if used with async/await, or void if used with a callback.
9544
9611
  */
9545
9612
  create(
9546
- params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
9613
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
9547
9614
  options: StreamMethodOptions
9548
9615
  ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9549
9616
  create(
9550
- params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
9617
+ params?: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
9551
9618
  options?: MethodOptions
9552
9619
  ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
9553
9620
  create(
9554
- params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
9621
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
9555
9622
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
9556
9623
  callback: BodyResponseCallback<Readable>
9557
9624
  ): void;
9558
9625
  create(
9559
- params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
9626
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
9560
9627
  options: MethodOptions | BodyResponseCallback<Schema$Operation>,
9561
9628
  callback: BodyResponseCallback<Schema$Operation>
9562
9629
  ): void;
9563
9630
  create(
9564
- params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
9631
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
9565
9632
  callback: BodyResponseCallback<Schema$Operation>
9566
9633
  ): void;
9567
9634
  create(callback: BodyResponseCallback<Schema$Operation>): void;
9568
9635
  create(
9569
9636
  paramsOrCallback?:
9570
- | Params$Resource$Projects$Locations$Lbtrafficextensions$Create
9637
+ | Params$Resource$Projects$Locations$Lbrouteextensions$Create
9571
9638
  | BodyResponseCallback<Schema$Operation>
9572
9639
  | BodyResponseCallback<Readable>,
9573
9640
  optionsOrCallback?:
@@ -9583,13 +9650,13 @@ export namespace networkservices_v1 {
9583
9650
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
9584
9651
  | Promise<GaxiosResponseWithHTTP2<Readable>> {
9585
9652
  let params = (paramsOrCallback ||
9586
- {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Create;
9653
+ {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Create;
9587
9654
  let options = (optionsOrCallback || {}) as MethodOptions;
9588
9655
 
9589
9656
  if (typeof paramsOrCallback === 'function') {
9590
9657
  callback = paramsOrCallback;
9591
9658
  params =
9592
- {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Create;
9659
+ {} as Params$Resource$Projects$Locations$Lbrouteextensions$Create;
9593
9660
  options = {};
9594
9661
  }
9595
9662
 
@@ -9603,7 +9670,7 @@ export namespace networkservices_v1 {
9603
9670
  const parameters = {
9604
9671
  options: Object.assign(
9605
9672
  {
9606
- url: (rootUrl + '/v1/{+parent}/lbTrafficExtensions').replace(
9673
+ url: (rootUrl + '/v1/{+parent}/lbRouteExtensions').replace(
9607
9674
  /([^:]\/)\/+/g,
9608
9675
  '$1'
9609
9676
  ),
@@ -9628,7 +9695,7 @@ export namespace networkservices_v1 {
9628
9695
  }
9629
9696
 
9630
9697
  /**
9631
- * Deletes the specified `LbTrafficExtension` resource.
9698
+ * Deletes the specified `LbRouteExtension` resource.
9632
9699
  * @example
9633
9700
  * ```js
9634
9701
  * // Before running the sample:
@@ -9657,13 +9724,14 @@ export namespace networkservices_v1 {
9657
9724
  * google.options({auth: authClient});
9658
9725
  *
9659
9726
  * // Do the magic
9660
- * const res =
9661
- * await networkservices.projects.locations.lbTrafficExtensions.delete({
9662
- * // Required. The name of the `LbTrafficExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbTrafficExtensions/{lb_traffic_extension\}`.
9663
- * name: 'projects/my-project/locations/my-location/lbTrafficExtensions/my-lbTrafficExtension',
9727
+ * const res = await networkservices.projects.locations.lbRouteExtensions.delete(
9728
+ * {
9729
+ * // Required. The name of the `LbRouteExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
9730
+ * name: 'projects/my-project/locations/my-location/lbRouteExtensions/my-lbRouteExtension',
9664
9731
  * // 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).
9665
9732
  * requestId: 'placeholder-value',
9666
- * });
9733
+ * },
9734
+ * );
9667
9735
  * console.log(res.data);
9668
9736
  *
9669
9737
  * // Example response
@@ -9689,11 +9757,865 @@ export namespace networkservices_v1 {
9689
9757
  * @returns A promise if used with async/await, or void if used with a callback.
9690
9758
  */
9691
9759
  delete(
9692
- params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete,
9760
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
9693
9761
  options: StreamMethodOptions
9694
9762
  ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9695
9763
  delete(
9696
- params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete,
9764
+ params?: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
9765
+ options?: MethodOptions
9766
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
9767
+ delete(
9768
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
9769
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
9770
+ callback: BodyResponseCallback<Readable>
9771
+ ): void;
9772
+ delete(
9773
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
9774
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
9775
+ callback: BodyResponseCallback<Schema$Operation>
9776
+ ): void;
9777
+ delete(
9778
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
9779
+ callback: BodyResponseCallback<Schema$Operation>
9780
+ ): void;
9781
+ delete(callback: BodyResponseCallback<Schema$Operation>): void;
9782
+ delete(
9783
+ paramsOrCallback?:
9784
+ | Params$Resource$Projects$Locations$Lbrouteextensions$Delete
9785
+ | BodyResponseCallback<Schema$Operation>
9786
+ | BodyResponseCallback<Readable>,
9787
+ optionsOrCallback?:
9788
+ | MethodOptions
9789
+ | StreamMethodOptions
9790
+ | BodyResponseCallback<Schema$Operation>
9791
+ | BodyResponseCallback<Readable>,
9792
+ callback?:
9793
+ | BodyResponseCallback<Schema$Operation>
9794
+ | BodyResponseCallback<Readable>
9795
+ ):
9796
+ | void
9797
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
9798
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9799
+ let params = (paramsOrCallback ||
9800
+ {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Delete;
9801
+ let options = (optionsOrCallback || {}) as MethodOptions;
9802
+
9803
+ if (typeof paramsOrCallback === 'function') {
9804
+ callback = paramsOrCallback;
9805
+ params =
9806
+ {} as Params$Resource$Projects$Locations$Lbrouteextensions$Delete;
9807
+ options = {};
9808
+ }
9809
+
9810
+ if (typeof optionsOrCallback === 'function') {
9811
+ callback = optionsOrCallback;
9812
+ options = {};
9813
+ }
9814
+
9815
+ const rootUrl =
9816
+ options.rootUrl || 'https://networkservices.googleapis.com/';
9817
+ const parameters = {
9818
+ options: Object.assign(
9819
+ {
9820
+ url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
9821
+ method: 'DELETE',
9822
+ apiVersion: '',
9823
+ },
9824
+ options
9825
+ ),
9826
+ params,
9827
+ requiredParams: ['name'],
9828
+ pathParams: ['name'],
9829
+ context: this.context,
9830
+ };
9831
+ if (callback) {
9832
+ createAPIRequest<Schema$Operation>(
9833
+ parameters,
9834
+ callback as BodyResponseCallback<unknown>
9835
+ );
9836
+ } else {
9837
+ return createAPIRequest<Schema$Operation>(parameters);
9838
+ }
9839
+ }
9840
+
9841
+ /**
9842
+ * Gets details of the specified `LbRouteExtension` resource.
9843
+ * @example
9844
+ * ```js
9845
+ * // Before running the sample:
9846
+ * // - Enable the API at:
9847
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
9848
+ * // - Login into gcloud by running:
9849
+ * // ```sh
9850
+ * // $ gcloud auth application-default login
9851
+ * // ```
9852
+ * // - Install the npm module by running:
9853
+ * // ```sh
9854
+ * // $ npm install googleapis
9855
+ * // ```
9856
+ *
9857
+ * const {google} = require('googleapis');
9858
+ * const networkservices = google.networkservices('v1');
9859
+ *
9860
+ * async function main() {
9861
+ * const auth = new google.auth.GoogleAuth({
9862
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
9863
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
9864
+ * });
9865
+ *
9866
+ * // Acquire an auth client, and bind it to all future calls
9867
+ * const authClient = await auth.getClient();
9868
+ * google.options({auth: authClient});
9869
+ *
9870
+ * // Do the magic
9871
+ * const res = await networkservices.projects.locations.lbRouteExtensions.get({
9872
+ * // Required. A name of the `LbRouteExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
9873
+ * name: 'projects/my-project/locations/my-location/lbRouteExtensions/my-lbRouteExtension',
9874
+ * });
9875
+ * console.log(res.data);
9876
+ *
9877
+ * // Example response
9878
+ * // {
9879
+ * // "createTime": "my_createTime",
9880
+ * // "description": "my_description",
9881
+ * // "extensionChains": [],
9882
+ * // "forwardingRules": [],
9883
+ * // "labels": {},
9884
+ * // "loadBalancingScheme": "my_loadBalancingScheme",
9885
+ * // "metadata": {},
9886
+ * // "name": "my_name",
9887
+ * // "updateTime": "my_updateTime"
9888
+ * // }
9889
+ * }
9890
+ *
9891
+ * main().catch(e => {
9892
+ * console.error(e);
9893
+ * throw e;
9894
+ * });
9895
+ *
9896
+ * ```
9897
+ *
9898
+ * @param params - Parameters for request
9899
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9900
+ * @param callback - Optional callback that handles the response.
9901
+ * @returns A promise if used with async/await, or void if used with a callback.
9902
+ */
9903
+ get(
9904
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
9905
+ options: StreamMethodOptions
9906
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
9907
+ get(
9908
+ params?: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
9909
+ options?: MethodOptions
9910
+ ): Promise<GaxiosResponseWithHTTP2<Schema$LbRouteExtension>>;
9911
+ get(
9912
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
9913
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
9914
+ callback: BodyResponseCallback<Readable>
9915
+ ): void;
9916
+ get(
9917
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
9918
+ options: MethodOptions | BodyResponseCallback<Schema$LbRouteExtension>,
9919
+ callback: BodyResponseCallback<Schema$LbRouteExtension>
9920
+ ): void;
9921
+ get(
9922
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
9923
+ callback: BodyResponseCallback<Schema$LbRouteExtension>
9924
+ ): void;
9925
+ get(callback: BodyResponseCallback<Schema$LbRouteExtension>): void;
9926
+ get(
9927
+ paramsOrCallback?:
9928
+ | Params$Resource$Projects$Locations$Lbrouteextensions$Get
9929
+ | BodyResponseCallback<Schema$LbRouteExtension>
9930
+ | BodyResponseCallback<Readable>,
9931
+ optionsOrCallback?:
9932
+ | MethodOptions
9933
+ | StreamMethodOptions
9934
+ | BodyResponseCallback<Schema$LbRouteExtension>
9935
+ | BodyResponseCallback<Readable>,
9936
+ callback?:
9937
+ | BodyResponseCallback<Schema$LbRouteExtension>
9938
+ | BodyResponseCallback<Readable>
9939
+ ):
9940
+ | void
9941
+ | Promise<GaxiosResponseWithHTTP2<Schema$LbRouteExtension>>
9942
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
9943
+ let params = (paramsOrCallback ||
9944
+ {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Get;
9945
+ let options = (optionsOrCallback || {}) as MethodOptions;
9946
+
9947
+ if (typeof paramsOrCallback === 'function') {
9948
+ callback = paramsOrCallback;
9949
+ params = {} as Params$Resource$Projects$Locations$Lbrouteextensions$Get;
9950
+ options = {};
9951
+ }
9952
+
9953
+ if (typeof optionsOrCallback === 'function') {
9954
+ callback = optionsOrCallback;
9955
+ options = {};
9956
+ }
9957
+
9958
+ const rootUrl =
9959
+ options.rootUrl || 'https://networkservices.googleapis.com/';
9960
+ const parameters = {
9961
+ options: Object.assign(
9962
+ {
9963
+ url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
9964
+ method: 'GET',
9965
+ apiVersion: '',
9966
+ },
9967
+ options
9968
+ ),
9969
+ params,
9970
+ requiredParams: ['name'],
9971
+ pathParams: ['name'],
9972
+ context: this.context,
9973
+ };
9974
+ if (callback) {
9975
+ createAPIRequest<Schema$LbRouteExtension>(
9976
+ parameters,
9977
+ callback as BodyResponseCallback<unknown>
9978
+ );
9979
+ } else {
9980
+ return createAPIRequest<Schema$LbRouteExtension>(parameters);
9981
+ }
9982
+ }
9983
+
9984
+ /**
9985
+ * Lists `LbRouteExtension` resources in a given project and location.
9986
+ * @example
9987
+ * ```js
9988
+ * // Before running the sample:
9989
+ * // - Enable the API at:
9990
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
9991
+ * // - Login into gcloud by running:
9992
+ * // ```sh
9993
+ * // $ gcloud auth application-default login
9994
+ * // ```
9995
+ * // - Install the npm module by running:
9996
+ * // ```sh
9997
+ * // $ npm install googleapis
9998
+ * // ```
9999
+ *
10000
+ * const {google} = require('googleapis');
10001
+ * const networkservices = google.networkservices('v1');
10002
+ *
10003
+ * async function main() {
10004
+ * const auth = new google.auth.GoogleAuth({
10005
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
10006
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
10007
+ * });
10008
+ *
10009
+ * // Acquire an auth client, and bind it to all future calls
10010
+ * const authClient = await auth.getClient();
10011
+ * google.options({auth: authClient});
10012
+ *
10013
+ * // Do the magic
10014
+ * const res = await networkservices.projects.locations.lbRouteExtensions.list({
10015
+ * // Optional. Filtering results.
10016
+ * filter: 'placeholder-value',
10017
+ * // Optional. Hint about how to order the results.
10018
+ * orderBy: 'placeholder-value',
10019
+ * // Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
10020
+ * pageSize: 'placeholder-value',
10021
+ * // Optional. A token identifying a page of results that the server returns.
10022
+ * pageToken: 'placeholder-value',
10023
+ * // Required. The project and location from which the `LbRouteExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
10024
+ * parent: 'projects/my-project/locations/my-location',
10025
+ * });
10026
+ * console.log(res.data);
10027
+ *
10028
+ * // Example response
10029
+ * // {
10030
+ * // "lbRouteExtensions": [],
10031
+ * // "nextPageToken": "my_nextPageToken",
10032
+ * // "unreachable": []
10033
+ * // }
10034
+ * }
10035
+ *
10036
+ * main().catch(e => {
10037
+ * console.error(e);
10038
+ * throw e;
10039
+ * });
10040
+ *
10041
+ * ```
10042
+ *
10043
+ * @param params - Parameters for request
10044
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
10045
+ * @param callback - Optional callback that handles the response.
10046
+ * @returns A promise if used with async/await, or void if used with a callback.
10047
+ */
10048
+ list(
10049
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
10050
+ options: StreamMethodOptions
10051
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10052
+ list(
10053
+ params?: Params$Resource$Projects$Locations$Lbrouteextensions$List,
10054
+ options?: MethodOptions
10055
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListLbRouteExtensionsResponse>>;
10056
+ list(
10057
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
10058
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
10059
+ callback: BodyResponseCallback<Readable>
10060
+ ): void;
10061
+ list(
10062
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
10063
+ options:
10064
+ | MethodOptions
10065
+ | BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>,
10066
+ callback: BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
10067
+ ): void;
10068
+ list(
10069
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
10070
+ callback: BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
10071
+ ): void;
10072
+ list(
10073
+ callback: BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
10074
+ ): void;
10075
+ list(
10076
+ paramsOrCallback?:
10077
+ | Params$Resource$Projects$Locations$Lbrouteextensions$List
10078
+ | BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
10079
+ | BodyResponseCallback<Readable>,
10080
+ optionsOrCallback?:
10081
+ | MethodOptions
10082
+ | StreamMethodOptions
10083
+ | BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
10084
+ | BodyResponseCallback<Readable>,
10085
+ callback?:
10086
+ | BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
10087
+ | BodyResponseCallback<Readable>
10088
+ ):
10089
+ | void
10090
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListLbRouteExtensionsResponse>>
10091
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10092
+ let params = (paramsOrCallback ||
10093
+ {}) as Params$Resource$Projects$Locations$Lbrouteextensions$List;
10094
+ let options = (optionsOrCallback || {}) as MethodOptions;
10095
+
10096
+ if (typeof paramsOrCallback === 'function') {
10097
+ callback = paramsOrCallback;
10098
+ params =
10099
+ {} as Params$Resource$Projects$Locations$Lbrouteextensions$List;
10100
+ options = {};
10101
+ }
10102
+
10103
+ if (typeof optionsOrCallback === 'function') {
10104
+ callback = optionsOrCallback;
10105
+ options = {};
10106
+ }
10107
+
10108
+ const rootUrl =
10109
+ options.rootUrl || 'https://networkservices.googleapis.com/';
10110
+ const parameters = {
10111
+ options: Object.assign(
10112
+ {
10113
+ url: (rootUrl + '/v1/{+parent}/lbRouteExtensions').replace(
10114
+ /([^:]\/)\/+/g,
10115
+ '$1'
10116
+ ),
10117
+ method: 'GET',
10118
+ apiVersion: '',
10119
+ },
10120
+ options
10121
+ ),
10122
+ params,
10123
+ requiredParams: ['parent'],
10124
+ pathParams: ['parent'],
10125
+ context: this.context,
10126
+ };
10127
+ if (callback) {
10128
+ createAPIRequest<Schema$ListLbRouteExtensionsResponse>(
10129
+ parameters,
10130
+ callback as BodyResponseCallback<unknown>
10131
+ );
10132
+ } else {
10133
+ return createAPIRequest<Schema$ListLbRouteExtensionsResponse>(
10134
+ parameters
10135
+ );
10136
+ }
10137
+ }
10138
+
10139
+ /**
10140
+ * Updates the parameters of the specified `LbRouteExtension` resource.
10141
+ * @example
10142
+ * ```js
10143
+ * // Before running the sample:
10144
+ * // - Enable the API at:
10145
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
10146
+ * // - Login into gcloud by running:
10147
+ * // ```sh
10148
+ * // $ gcloud auth application-default login
10149
+ * // ```
10150
+ * // - Install the npm module by running:
10151
+ * // ```sh
10152
+ * // $ npm install googleapis
10153
+ * // ```
10154
+ *
10155
+ * const {google} = require('googleapis');
10156
+ * const networkservices = google.networkservices('v1');
10157
+ *
10158
+ * async function main() {
10159
+ * const auth = new google.auth.GoogleAuth({
10160
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
10161
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
10162
+ * });
10163
+ *
10164
+ * // Acquire an auth client, and bind it to all future calls
10165
+ * const authClient = await auth.getClient();
10166
+ * google.options({auth: authClient});
10167
+ *
10168
+ * // Do the magic
10169
+ * const res = await networkservices.projects.locations.lbRouteExtensions.patch({
10170
+ * // Required. Identifier. Name of the `LbRouteExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
10171
+ * name: 'projects/my-project/locations/my-location/lbRouteExtensions/my-lbRouteExtension',
10172
+ * // 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).
10173
+ * requestId: 'placeholder-value',
10174
+ * // 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.
10175
+ * updateMask: 'placeholder-value',
10176
+ *
10177
+ * // Request body metadata
10178
+ * requestBody: {
10179
+ * // request body parameters
10180
+ * // {
10181
+ * // "createTime": "my_createTime",
10182
+ * // "description": "my_description",
10183
+ * // "extensionChains": [],
10184
+ * // "forwardingRules": [],
10185
+ * // "labels": {},
10186
+ * // "loadBalancingScheme": "my_loadBalancingScheme",
10187
+ * // "metadata": {},
10188
+ * // "name": "my_name",
10189
+ * // "updateTime": "my_updateTime"
10190
+ * // }
10191
+ * },
10192
+ * });
10193
+ * console.log(res.data);
10194
+ *
10195
+ * // Example response
10196
+ * // {
10197
+ * // "done": false,
10198
+ * // "error": {},
10199
+ * // "metadata": {},
10200
+ * // "name": "my_name",
10201
+ * // "response": {}
10202
+ * // }
10203
+ * }
10204
+ *
10205
+ * main().catch(e => {
10206
+ * console.error(e);
10207
+ * throw e;
10208
+ * });
10209
+ *
10210
+ * ```
10211
+ *
10212
+ * @param params - Parameters for request
10213
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
10214
+ * @param callback - Optional callback that handles the response.
10215
+ * @returns A promise if used with async/await, or void if used with a callback.
10216
+ */
10217
+ patch(
10218
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
10219
+ options: StreamMethodOptions
10220
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10221
+ patch(
10222
+ params?: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
10223
+ options?: MethodOptions
10224
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
10225
+ patch(
10226
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
10227
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
10228
+ callback: BodyResponseCallback<Readable>
10229
+ ): void;
10230
+ patch(
10231
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
10232
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
10233
+ callback: BodyResponseCallback<Schema$Operation>
10234
+ ): void;
10235
+ patch(
10236
+ params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
10237
+ callback: BodyResponseCallback<Schema$Operation>
10238
+ ): void;
10239
+ patch(callback: BodyResponseCallback<Schema$Operation>): void;
10240
+ patch(
10241
+ paramsOrCallback?:
10242
+ | Params$Resource$Projects$Locations$Lbrouteextensions$Patch
10243
+ | BodyResponseCallback<Schema$Operation>
10244
+ | BodyResponseCallback<Readable>,
10245
+ optionsOrCallback?:
10246
+ | MethodOptions
10247
+ | StreamMethodOptions
10248
+ | BodyResponseCallback<Schema$Operation>
10249
+ | BodyResponseCallback<Readable>,
10250
+ callback?:
10251
+ | BodyResponseCallback<Schema$Operation>
10252
+ | BodyResponseCallback<Readable>
10253
+ ):
10254
+ | void
10255
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
10256
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10257
+ let params = (paramsOrCallback ||
10258
+ {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Patch;
10259
+ let options = (optionsOrCallback || {}) as MethodOptions;
10260
+
10261
+ if (typeof paramsOrCallback === 'function') {
10262
+ callback = paramsOrCallback;
10263
+ params =
10264
+ {} as Params$Resource$Projects$Locations$Lbrouteextensions$Patch;
10265
+ options = {};
10266
+ }
10267
+
10268
+ if (typeof optionsOrCallback === 'function') {
10269
+ callback = optionsOrCallback;
10270
+ options = {};
10271
+ }
10272
+
10273
+ const rootUrl =
10274
+ options.rootUrl || 'https://networkservices.googleapis.com/';
10275
+ const parameters = {
10276
+ options: Object.assign(
10277
+ {
10278
+ url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
10279
+ method: 'PATCH',
10280
+ apiVersion: '',
10281
+ },
10282
+ options
10283
+ ),
10284
+ params,
10285
+ requiredParams: ['name'],
10286
+ pathParams: ['name'],
10287
+ context: this.context,
10288
+ };
10289
+ if (callback) {
10290
+ createAPIRequest<Schema$Operation>(
10291
+ parameters,
10292
+ callback as BodyResponseCallback<unknown>
10293
+ );
10294
+ } else {
10295
+ return createAPIRequest<Schema$Operation>(parameters);
10296
+ }
10297
+ }
10298
+ }
10299
+
10300
+ export interface Params$Resource$Projects$Locations$Lbrouteextensions$Create
10301
+ extends StandardParameters {
10302
+ /**
10303
+ * Required. User-provided ID of the `LbRouteExtension` resource to be created.
10304
+ */
10305
+ lbRouteExtensionId?: string;
10306
+ /**
10307
+ * Required. The parent resource of the `LbRouteExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
10308
+ */
10309
+ parent?: string;
10310
+ /**
10311
+ * 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).
10312
+ */
10313
+ requestId?: string;
10314
+
10315
+ /**
10316
+ * Request body metadata
10317
+ */
10318
+ requestBody?: Schema$LbRouteExtension;
10319
+ }
10320
+ export interface Params$Resource$Projects$Locations$Lbrouteextensions$Delete
10321
+ extends StandardParameters {
10322
+ /**
10323
+ * Required. The name of the `LbRouteExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
10324
+ */
10325
+ name?: string;
10326
+ /**
10327
+ * 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).
10328
+ */
10329
+ requestId?: string;
10330
+ }
10331
+ export interface Params$Resource$Projects$Locations$Lbrouteextensions$Get
10332
+ extends StandardParameters {
10333
+ /**
10334
+ * Required. A name of the `LbRouteExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
10335
+ */
10336
+ name?: string;
10337
+ }
10338
+ export interface Params$Resource$Projects$Locations$Lbrouteextensions$List
10339
+ extends StandardParameters {
10340
+ /**
10341
+ * Optional. Filtering results.
10342
+ */
10343
+ filter?: string;
10344
+ /**
10345
+ * Optional. Hint about how to order the results.
10346
+ */
10347
+ orderBy?: string;
10348
+ /**
10349
+ * Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
10350
+ */
10351
+ pageSize?: number;
10352
+ /**
10353
+ * Optional. A token identifying a page of results that the server returns.
10354
+ */
10355
+ pageToken?: string;
10356
+ /**
10357
+ * Required. The project and location from which the `LbRouteExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
10358
+ */
10359
+ parent?: string;
10360
+ }
10361
+ export interface Params$Resource$Projects$Locations$Lbrouteextensions$Patch
10362
+ extends StandardParameters {
10363
+ /**
10364
+ * Required. Identifier. Name of the `LbRouteExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
10365
+ */
10366
+ name?: string;
10367
+ /**
10368
+ * 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).
10369
+ */
10370
+ requestId?: string;
10371
+ /**
10372
+ * 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.
10373
+ */
10374
+ updateMask?: string;
10375
+
10376
+ /**
10377
+ * Request body metadata
10378
+ */
10379
+ requestBody?: Schema$LbRouteExtension;
10380
+ }
10381
+
10382
+ export class Resource$Projects$Locations$Lbtrafficextensions {
10383
+ context: APIRequestContext;
10384
+ constructor(context: APIRequestContext) {
10385
+ this.context = context;
10386
+ }
10387
+
10388
+ /**
10389
+ * Creates a new `LbTrafficExtension` resource in a given project and location.
10390
+ * @example
10391
+ * ```js
10392
+ * // Before running the sample:
10393
+ * // - Enable the API at:
10394
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
10395
+ * // - Login into gcloud by running:
10396
+ * // ```sh
10397
+ * // $ gcloud auth application-default login
10398
+ * // ```
10399
+ * // - Install the npm module by running:
10400
+ * // ```sh
10401
+ * // $ npm install googleapis
10402
+ * // ```
10403
+ *
10404
+ * const {google} = require('googleapis');
10405
+ * const networkservices = google.networkservices('v1');
10406
+ *
10407
+ * async function main() {
10408
+ * const auth = new google.auth.GoogleAuth({
10409
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
10410
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
10411
+ * });
10412
+ *
10413
+ * // Acquire an auth client, and bind it to all future calls
10414
+ * const authClient = await auth.getClient();
10415
+ * google.options({auth: authClient});
10416
+ *
10417
+ * // Do the magic
10418
+ * const res =
10419
+ * await networkservices.projects.locations.lbTrafficExtensions.create({
10420
+ * // Required. User-provided ID of the `LbTrafficExtension` resource to be created.
10421
+ * lbTrafficExtensionId: 'placeholder-value',
10422
+ * // Required. The parent resource of the `LbTrafficExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
10423
+ * parent: 'projects/my-project/locations/my-location',
10424
+ * // 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).
10425
+ * requestId: 'placeholder-value',
10426
+ *
10427
+ * // Request body metadata
10428
+ * requestBody: {
10429
+ * // request body parameters
10430
+ * // {
10431
+ * // "createTime": "my_createTime",
10432
+ * // "description": "my_description",
10433
+ * // "extensionChains": [],
10434
+ * // "forwardingRules": [],
10435
+ * // "labels": {},
10436
+ * // "loadBalancingScheme": "my_loadBalancingScheme",
10437
+ * // "metadata": {},
10438
+ * // "name": "my_name",
10439
+ * // "updateTime": "my_updateTime"
10440
+ * // }
10441
+ * },
10442
+ * });
10443
+ * console.log(res.data);
10444
+ *
10445
+ * // Example response
10446
+ * // {
10447
+ * // "done": false,
10448
+ * // "error": {},
10449
+ * // "metadata": {},
10450
+ * // "name": "my_name",
10451
+ * // "response": {}
10452
+ * // }
10453
+ * }
10454
+ *
10455
+ * main().catch(e => {
10456
+ * console.error(e);
10457
+ * throw e;
10458
+ * });
10459
+ *
10460
+ * ```
10461
+ *
10462
+ * @param params - Parameters for request
10463
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
10464
+ * @param callback - Optional callback that handles the response.
10465
+ * @returns A promise if used with async/await, or void if used with a callback.
10466
+ */
10467
+ create(
10468
+ params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
10469
+ options: StreamMethodOptions
10470
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10471
+ create(
10472
+ params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
10473
+ options?: MethodOptions
10474
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
10475
+ create(
10476
+ params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
10477
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
10478
+ callback: BodyResponseCallback<Readable>
10479
+ ): void;
10480
+ create(
10481
+ params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
10482
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
10483
+ callback: BodyResponseCallback<Schema$Operation>
10484
+ ): void;
10485
+ create(
10486
+ params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
10487
+ callback: BodyResponseCallback<Schema$Operation>
10488
+ ): void;
10489
+ create(callback: BodyResponseCallback<Schema$Operation>): void;
10490
+ create(
10491
+ paramsOrCallback?:
10492
+ | Params$Resource$Projects$Locations$Lbtrafficextensions$Create
10493
+ | BodyResponseCallback<Schema$Operation>
10494
+ | BodyResponseCallback<Readable>,
10495
+ optionsOrCallback?:
10496
+ | MethodOptions
10497
+ | StreamMethodOptions
10498
+ | BodyResponseCallback<Schema$Operation>
10499
+ | BodyResponseCallback<Readable>,
10500
+ callback?:
10501
+ | BodyResponseCallback<Schema$Operation>
10502
+ | BodyResponseCallback<Readable>
10503
+ ):
10504
+ | void
10505
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
10506
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
10507
+ let params = (paramsOrCallback ||
10508
+ {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Create;
10509
+ let options = (optionsOrCallback || {}) as MethodOptions;
10510
+
10511
+ if (typeof paramsOrCallback === 'function') {
10512
+ callback = paramsOrCallback;
10513
+ params =
10514
+ {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Create;
10515
+ options = {};
10516
+ }
10517
+
10518
+ if (typeof optionsOrCallback === 'function') {
10519
+ callback = optionsOrCallback;
10520
+ options = {};
10521
+ }
10522
+
10523
+ const rootUrl =
10524
+ options.rootUrl || 'https://networkservices.googleapis.com/';
10525
+ const parameters = {
10526
+ options: Object.assign(
10527
+ {
10528
+ url: (rootUrl + '/v1/{+parent}/lbTrafficExtensions').replace(
10529
+ /([^:]\/)\/+/g,
10530
+ '$1'
10531
+ ),
10532
+ method: 'POST',
10533
+ apiVersion: '',
10534
+ },
10535
+ options
10536
+ ),
10537
+ params,
10538
+ requiredParams: ['parent'],
10539
+ pathParams: ['parent'],
10540
+ context: this.context,
10541
+ };
10542
+ if (callback) {
10543
+ createAPIRequest<Schema$Operation>(
10544
+ parameters,
10545
+ callback as BodyResponseCallback<unknown>
10546
+ );
10547
+ } else {
10548
+ return createAPIRequest<Schema$Operation>(parameters);
10549
+ }
10550
+ }
10551
+
10552
+ /**
10553
+ * Deletes the specified `LbTrafficExtension` resource.
10554
+ * @example
10555
+ * ```js
10556
+ * // Before running the sample:
10557
+ * // - Enable the API at:
10558
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
10559
+ * // - Login into gcloud by running:
10560
+ * // ```sh
10561
+ * // $ gcloud auth application-default login
10562
+ * // ```
10563
+ * // - Install the npm module by running:
10564
+ * // ```sh
10565
+ * // $ npm install googleapis
10566
+ * // ```
10567
+ *
10568
+ * const {google} = require('googleapis');
10569
+ * const networkservices = google.networkservices('v1');
10570
+ *
10571
+ * async function main() {
10572
+ * const auth = new google.auth.GoogleAuth({
10573
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
10574
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
10575
+ * });
10576
+ *
10577
+ * // Acquire an auth client, and bind it to all future calls
10578
+ * const authClient = await auth.getClient();
10579
+ * google.options({auth: authClient});
10580
+ *
10581
+ * // Do the magic
10582
+ * const res =
10583
+ * await networkservices.projects.locations.lbTrafficExtensions.delete({
10584
+ * // Required. The name of the `LbTrafficExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbTrafficExtensions/{lb_traffic_extension\}`.
10585
+ * name: 'projects/my-project/locations/my-location/lbTrafficExtensions/my-lbTrafficExtension',
10586
+ * // 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).
10587
+ * requestId: 'placeholder-value',
10588
+ * });
10589
+ * console.log(res.data);
10590
+ *
10591
+ * // Example response
10592
+ * // {
10593
+ * // "done": false,
10594
+ * // "error": {},
10595
+ * // "metadata": {},
10596
+ * // "name": "my_name",
10597
+ * // "response": {}
10598
+ * // }
10599
+ * }
10600
+ *
10601
+ * main().catch(e => {
10602
+ * console.error(e);
10603
+ * throw e;
10604
+ * });
10605
+ *
10606
+ * ```
10607
+ *
10608
+ * @param params - Parameters for request
10609
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
10610
+ * @param callback - Optional callback that handles the response.
10611
+ * @returns A promise if used with async/await, or void if used with a callback.
10612
+ */
10613
+ delete(
10614
+ params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete,
10615
+ options: StreamMethodOptions
10616
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
10617
+ delete(
10618
+ params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete,
9697
10619
  options?: MethodOptions
9698
10620
  ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
9699
10621
  delete(
@@ -10358,7 +11280,7 @@ export namespace networkservices_v1 {
10358
11280
  * const res = await networkservices.projects.locations.meshes.create({
10359
11281
  * // Required. Short name of the Mesh resource to be created.
10360
11282
  * meshId: 'placeholder-value',
10361
- * // Required. The parent resource of the Mesh. Must be in the format `projects/x/locations/global`.
11283
+ * // Required. The parent resource of the Mesh. Must be in the format `projects/x/locations/x`.
10362
11284
  * parent: 'projects/my-project/locations/my-location',
10363
11285
  *
10364
11286
  * // Request body metadata
@@ -10515,7 +11437,7 @@ export namespace networkservices_v1 {
10515
11437
  *
10516
11438
  * // Do the magic
10517
11439
  * const res = await networkservices.projects.locations.meshes.delete({
10518
- * // Required. A name of the Mesh to delete. Must be in the format `projects/x/locations/global/meshes/x`.
11440
+ * // Required. A name of the Mesh to delete. Must be in the format `projects/x/locations/x/meshes/x`.
10519
11441
  * name: 'projects/my-project/locations/my-location/meshes/my-meshe',
10520
11442
  * });
10521
11443
  * console.log(res.data);
@@ -10654,7 +11576,7 @@ export namespace networkservices_v1 {
10654
11576
  *
10655
11577
  * // Do the magic
10656
11578
  * const res = await networkservices.projects.locations.meshes.get({
10657
- * // Required. A name of the Mesh to get. Must be in the format `projects/x/locations/global/meshes/x`.
11579
+ * // Required. A name of the Mesh to get. Must be in the format `projects/x/locations/x/meshes/x`.
10658
11580
  * name: 'projects/my-project/locations/my-location/meshes/my-meshe',
10659
11581
  * });
10660
11582
  * console.log(res.data);
@@ -10800,7 +11722,7 @@ export namespace networkservices_v1 {
10800
11722
  * pageSize: 'placeholder-value',
10801
11723
  * // 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.
10802
11724
  * pageToken: 'placeholder-value',
10803
- * // Required. The project and location from which the Meshes should be listed, specified in the format `projects/x/locations/global`.
11725
+ * // Required. The project and location from which the Meshes should be listed, specified in the format `projects/x/locations/x`.
10804
11726
  * parent: 'projects/my-project/locations/my-location',
10805
11727
  * // 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.
10806
11728
  * returnPartialSuccess: 'placeholder-value',
@@ -10942,7 +11864,7 @@ export namespace networkservices_v1 {
10942
11864
  *
10943
11865
  * // Do the magic
10944
11866
  * const res = await networkservices.projects.locations.meshes.patch({
10945
- * // Identifier. Name of the Mesh resource. It matches pattern `projects/x/locations/global/meshes/`.
11867
+ * // Identifier. Name of the Mesh resource. It matches pattern `projects/x/locations/x/meshes/`.
10946
11868
  * name: 'projects/my-project/locations/my-location/meshes/my-meshe',
10947
11869
  * // 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.
10948
11870
  * updateMask: 'placeholder-value',
@@ -11075,7 +11997,7 @@ export namespace networkservices_v1 {
11075
11997
  */
11076
11998
  meshId?: string;
11077
11999
  /**
11078
- * Required. The parent resource of the Mesh. Must be in the format `projects/x/locations/global`.
12000
+ * Required. The parent resource of the Mesh. Must be in the format `projects/x/locations/x`.
11079
12001
  */
11080
12002
  parent?: string;
11081
12003
 
@@ -11087,14 +12009,14 @@ export namespace networkservices_v1 {
11087
12009
  export interface Params$Resource$Projects$Locations$Meshes$Delete
11088
12010
  extends StandardParameters {
11089
12011
  /**
11090
- * Required. A name of the Mesh to delete. Must be in the format `projects/x/locations/global/meshes/x`.
12012
+ * Required. A name of the Mesh to delete. Must be in the format `projects/x/locations/x/meshes/x`.
11091
12013
  */
11092
12014
  name?: string;
11093
12015
  }
11094
12016
  export interface Params$Resource$Projects$Locations$Meshes$Get
11095
12017
  extends StandardParameters {
11096
12018
  /**
11097
- * Required. A name of the Mesh to get. Must be in the format `projects/x/locations/global/meshes/x`.
12019
+ * Required. A name of the Mesh to get. Must be in the format `projects/x/locations/x/meshes/x`.
11098
12020
  */
11099
12021
  name?: string;
11100
12022
  }
@@ -11109,7 +12031,7 @@ export namespace networkservices_v1 {
11109
12031
  */
11110
12032
  pageToken?: string;
11111
12033
  /**
11112
- * Required. The project and location from which the Meshes should be listed, specified in the format `projects/x/locations/global`.
12034
+ * Required. The project and location from which the Meshes should be listed, specified in the format `projects/x/locations/x`.
11113
12035
  */
11114
12036
  parent?: string;
11115
12037
  /**
@@ -11120,7 +12042,7 @@ export namespace networkservices_v1 {
11120
12042
  export interface Params$Resource$Projects$Locations$Meshes$Patch
11121
12043
  extends StandardParameters {
11122
12044
  /**
11123
- * Identifier. Name of the Mesh resource. It matches pattern `projects/x/locations/global/meshes/`.
12045
+ * Identifier. Name of the Mesh resource. It matches pattern `projects/x/locations/x/meshes/`.
11124
12046
  */
11125
12047
  name?: string;
11126
12048
  /**
@@ -11908,13 +12830,16 @@ export namespace networkservices_v1 {
11908
12830
  * pageSize: 'placeholder-value',
11909
12831
  * // The standard list page token.
11910
12832
  * pageToken: 'placeholder-value',
12833
+ * // 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.
12834
+ * returnPartialSuccess: 'placeholder-value',
11911
12835
  * });
11912
12836
  * console.log(res.data);
11913
12837
  *
11914
12838
  * // Example response
11915
12839
  * // {
11916
12840
  * // "nextPageToken": "my_nextPageToken",
11917
- * // "operations": []
12841
+ * // "operations": [],
12842
+ * // "unreachable": []
11918
12843
  * // }
11919
12844
  * }
11920
12845
  *
@@ -12061,6 +12986,10 @@ export namespace networkservices_v1 {
12061
12986
  * The standard list page token.
12062
12987
  */
12063
12988
  pageToken?: string;
12989
+ /**
12990
+ * 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.
12991
+ */
12992
+ returnPartialSuccess?: boolean;
12064
12993
  }
12065
12994
 
12066
12995
  export class Resource$Projects$Locations$Servicebindings {
@@ -13738,7 +14667,7 @@ export namespace networkservices_v1 {
13738
14667
  *
13739
14668
  * // Do the magic
13740
14669
  * const res = await networkservices.projects.locations.tcpRoutes.create({
13741
- * // Required. The parent resource of the TcpRoute. Must be in the format `projects/x/locations/global`.
14670
+ * // Required. The parent resource of the TcpRoute. Must be in the format `projects/x/locations/x`.
13742
14671
  * parent: 'projects/my-project/locations/my-location',
13743
14672
  * // Required. Short name of the TcpRoute resource to be created.
13744
14673
  * tcpRouteId: 'placeholder-value',
@@ -13898,7 +14827,7 @@ export namespace networkservices_v1 {
13898
14827
  *
13899
14828
  * // Do the magic
13900
14829
  * const res = await networkservices.projects.locations.tcpRoutes.delete({
13901
- * // Required. A name of the TcpRoute to delete. Must be in the format `projects/x/locations/global/tcpRoutes/x`.
14830
+ * // Required. A name of the TcpRoute to delete. Must be in the format `projects/x/locations/x/tcpRoutes/x`.
13902
14831
  * name: 'projects/my-project/locations/my-location/tcpRoutes/my-tcpRoute',
13903
14832
  * });
13904
14833
  * console.log(res.data);
@@ -14037,7 +14966,7 @@ export namespace networkservices_v1 {
14037
14966
  *
14038
14967
  * // Do the magic
14039
14968
  * const res = await networkservices.projects.locations.tcpRoutes.get({
14040
- * // Required. A name of the TcpRoute to get. Must be in the format `projects/x/locations/global/tcpRoutes/x`.
14969
+ * // Required. A name of the TcpRoute to get. Must be in the format `projects/x/locations/x/tcpRoutes/x`.
14041
14970
  * name: 'projects/my-project/locations/my-location/tcpRoutes/my-tcpRoute',
14042
14971
  * });
14043
14972
  * console.log(res.data);
@@ -14184,7 +15113,7 @@ export namespace networkservices_v1 {
14184
15113
  * pageSize: 'placeholder-value',
14185
15114
  * // 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.
14186
15115
  * pageToken: 'placeholder-value',
14187
- * // Required. The project and location from which the TcpRoutes should be listed, specified in the format `projects/x/locations/global`.
15116
+ * // Required. The project and location from which the TcpRoutes should be listed, specified in the format `projects/x/locations/x`.
14188
15117
  * parent: 'projects/my-project/locations/my-location',
14189
15118
  * // 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.
14190
15119
  * returnPartialSuccess: 'placeholder-value',
@@ -14328,7 +15257,7 @@ export namespace networkservices_v1 {
14328
15257
  *
14329
15258
  * // Do the magic
14330
15259
  * const res = await networkservices.projects.locations.tcpRoutes.patch({
14331
- * // Identifier. Name of the TcpRoute resource. It matches pattern `projects/x/locations/global/tcpRoutes/tcp_route_name\>`.
15260
+ * // Identifier. Name of the TcpRoute resource. It matches pattern `projects/x/locations/x/tcpRoutes/tcp_route_name\>`.
14332
15261
  * name: 'projects/my-project/locations/my-location/tcpRoutes/my-tcpRoute',
14333
15262
  * // 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.
14334
15263
  * updateMask: 'placeholder-value',
@@ -14458,7 +15387,7 @@ export namespace networkservices_v1 {
14458
15387
  export interface Params$Resource$Projects$Locations$Tcproutes$Create
14459
15388
  extends StandardParameters {
14460
15389
  /**
14461
- * Required. The parent resource of the TcpRoute. Must be in the format `projects/x/locations/global`.
15390
+ * Required. The parent resource of the TcpRoute. Must be in the format `projects/x/locations/x`.
14462
15391
  */
14463
15392
  parent?: string;
14464
15393
  /**
@@ -14474,14 +15403,14 @@ export namespace networkservices_v1 {
14474
15403
  export interface Params$Resource$Projects$Locations$Tcproutes$Delete
14475
15404
  extends StandardParameters {
14476
15405
  /**
14477
- * Required. A name of the TcpRoute to delete. Must be in the format `projects/x/locations/global/tcpRoutes/x`.
15406
+ * Required. A name of the TcpRoute to delete. Must be in the format `projects/x/locations/x/tcpRoutes/x`.
14478
15407
  */
14479
15408
  name?: string;
14480
15409
  }
14481
15410
  export interface Params$Resource$Projects$Locations$Tcproutes$Get
14482
15411
  extends StandardParameters {
14483
15412
  /**
14484
- * Required. A name of the TcpRoute to get. Must be in the format `projects/x/locations/global/tcpRoutes/x`.
15413
+ * Required. A name of the TcpRoute to get. Must be in the format `projects/x/locations/x/tcpRoutes/x`.
14485
15414
  */
14486
15415
  name?: string;
14487
15416
  }
@@ -14496,7 +15425,7 @@ export namespace networkservices_v1 {
14496
15425
  */
14497
15426
  pageToken?: string;
14498
15427
  /**
14499
- * Required. The project and location from which the TcpRoutes should be listed, specified in the format `projects/x/locations/global`.
15428
+ * Required. The project and location from which the TcpRoutes should be listed, specified in the format `projects/x/locations/x`.
14500
15429
  */
14501
15430
  parent?: string;
14502
15431
  /**
@@ -14507,7 +15436,7 @@ export namespace networkservices_v1 {
14507
15436
  export interface Params$Resource$Projects$Locations$Tcproutes$Patch
14508
15437
  extends StandardParameters {
14509
15438
  /**
14510
- * Identifier. Name of the TcpRoute resource. It matches pattern `projects/x/locations/global/tcpRoutes/tcp_route_name\>`.
15439
+ * Identifier. Name of the TcpRoute resource. It matches pattern `projects/x/locations/x/tcpRoutes/tcp_route_name\>`.
14511
15440
  */
14512
15441
  name?: string;
14513
15442
  /**
@@ -14558,7 +15487,7 @@ export namespace networkservices_v1 {
14558
15487
  *
14559
15488
  * // Do the magic
14560
15489
  * const res = await networkservices.projects.locations.tlsRoutes.create({
14561
- * // Required. The parent resource of the TlsRoute. Must be in the format `projects/x/locations/global`.
15490
+ * // Required. The parent resource of the TlsRoute. Must be in the format `projects/x/locations/x`.
14562
15491
  * parent: 'projects/my-project/locations/my-location',
14563
15492
  * // Required. Short name of the TlsRoute resource to be created.
14564
15493
  * tlsRouteId: 'placeholder-value',
@@ -14718,7 +15647,7 @@ export namespace networkservices_v1 {
14718
15647
  *
14719
15648
  * // Do the magic
14720
15649
  * const res = await networkservices.projects.locations.tlsRoutes.delete({
14721
- * // Required. A name of the TlsRoute to delete. Must be in the format `projects/x/locations/global/tlsRoutes/x`.
15650
+ * // Required. A name of the TlsRoute to delete. Must be in the format `projects/x/locations/x/tlsRoutes/x`.
14722
15651
  * name: 'projects/my-project/locations/my-location/tlsRoutes/my-tlsRoute',
14723
15652
  * });
14724
15653
  * console.log(res.data);
@@ -14857,7 +15786,7 @@ export namespace networkservices_v1 {
14857
15786
  *
14858
15787
  * // Do the magic
14859
15788
  * const res = await networkservices.projects.locations.tlsRoutes.get({
14860
- * // Required. A name of the TlsRoute to get. Must be in the format `projects/x/locations/global/tlsRoutes/x`.
15789
+ * // Required. A name of the TlsRoute to get. Must be in the format `projects/x/locations/x/tlsRoutes/x`.
14861
15790
  * name: 'projects/my-project/locations/my-location/tlsRoutes/my-tlsRoute',
14862
15791
  * });
14863
15792
  * console.log(res.data);
@@ -15004,7 +15933,7 @@ export namespace networkservices_v1 {
15004
15933
  * pageSize: 'placeholder-value',
15005
15934
  * // 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.
15006
15935
  * pageToken: 'placeholder-value',
15007
- * // Required. The project and location from which the TlsRoutes should be listed, specified in the format `projects/x/locations/global`.
15936
+ * // Required. The project and location from which the TlsRoutes should be listed, specified in the format `projects/x/locations/x`.
15008
15937
  * parent: 'projects/my-project/locations/my-location',
15009
15938
  * // 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.
15010
15939
  * returnPartialSuccess: 'placeholder-value',
@@ -15148,7 +16077,7 @@ export namespace networkservices_v1 {
15148
16077
  *
15149
16078
  * // Do the magic
15150
16079
  * const res = await networkservices.projects.locations.tlsRoutes.patch({
15151
- * // Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/global/tlsRoutes/tls_route_name\>`.
16080
+ * // Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/x/tlsRoutes/tls_route_name\>`.
15152
16081
  * name: 'projects/my-project/locations/my-location/tlsRoutes/my-tlsRoute',
15153
16082
  * // 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.
15154
16083
  * updateMask: 'placeholder-value',
@@ -15278,7 +16207,7 @@ export namespace networkservices_v1 {
15278
16207
  export interface Params$Resource$Projects$Locations$Tlsroutes$Create
15279
16208
  extends StandardParameters {
15280
16209
  /**
15281
- * Required. The parent resource of the TlsRoute. Must be in the format `projects/x/locations/global`.
16210
+ * Required. The parent resource of the TlsRoute. Must be in the format `projects/x/locations/x`.
15282
16211
  */
15283
16212
  parent?: string;
15284
16213
  /**
@@ -15294,14 +16223,14 @@ export namespace networkservices_v1 {
15294
16223
  export interface Params$Resource$Projects$Locations$Tlsroutes$Delete
15295
16224
  extends StandardParameters {
15296
16225
  /**
15297
- * Required. A name of the TlsRoute to delete. Must be in the format `projects/x/locations/global/tlsRoutes/x`.
16226
+ * Required. A name of the TlsRoute to delete. Must be in the format `projects/x/locations/x/tlsRoutes/x`.
15298
16227
  */
15299
16228
  name?: string;
15300
16229
  }
15301
16230
  export interface Params$Resource$Projects$Locations$Tlsroutes$Get
15302
16231
  extends StandardParameters {
15303
16232
  /**
15304
- * Required. A name of the TlsRoute to get. Must be in the format `projects/x/locations/global/tlsRoutes/x`.
16233
+ * Required. A name of the TlsRoute to get. Must be in the format `projects/x/locations/x/tlsRoutes/x`.
15305
16234
  */
15306
16235
  name?: string;
15307
16236
  }
@@ -15316,7 +16245,7 @@ export namespace networkservices_v1 {
15316
16245
  */
15317
16246
  pageToken?: string;
15318
16247
  /**
15319
- * Required. The project and location from which the TlsRoutes should be listed, specified in the format `projects/x/locations/global`.
16248
+ * Required. The project and location from which the TlsRoutes should be listed, specified in the format `projects/x/locations/x`.
15320
16249
  */
15321
16250
  parent?: string;
15322
16251
  /**
@@ -15327,7 +16256,7 @@ export namespace networkservices_v1 {
15327
16256
  export interface Params$Resource$Projects$Locations$Tlsroutes$Patch
15328
16257
  extends StandardParameters {
15329
16258
  /**
15330
- * Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/global/tlsRoutes/tls_route_name\>`.
16259
+ * Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/x/tlsRoutes/tls_route_name\>`.
15331
16260
  */
15332
16261
  name?: string;
15333
16262
  /**