@googleapis/networkservices 25.0.0 → 26.1.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/CHANGELOG.md +22 -0
- package/build/v1.d.ts +64 -12
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +298 -12
- package/build/v1beta1.js +170 -0
- package/build/v1beta1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +64 -12
- package/v1beta1.ts +811 -135
package/v1beta1.ts
CHANGED
|
@@ -268,6 +268,10 @@ export namespace networkservices_v1beta1 {
|
|
|
268
268
|
* A single extension in the chain to execute for the matching request.
|
|
269
269
|
*/
|
|
270
270
|
export interface Schema$ExtensionChainExtension {
|
|
271
|
+
/**
|
|
272
|
+
* Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions. Setting it results in a validation error.
|
|
273
|
+
*/
|
|
274
|
+
allowDynamicForwarding?: boolean | null;
|
|
271
275
|
/**
|
|
272
276
|
* Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error.
|
|
273
277
|
*/
|
|
@@ -281,13 +285,21 @@ export namespace networkservices_v1beta1 {
|
|
|
281
285
|
*/
|
|
282
286
|
forwardHeaders?: string[] | null;
|
|
283
287
|
/**
|
|
284
|
-
* Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google....`. For example: `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are supported in the metadata: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name. This field
|
|
288
|
+
* Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google....`. For example: `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are supported in the metadata: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name. This field must not be set for plugin extensions. Setting it results in a validation error. You can set metadata at either the resource level or the extension level. The extension level metadata is recommended because you can pass a different set of metadata through each extension to the backend. This field is subject to following limitations: * The total size of the metadata must be less than 1KiB. * The total number of keys in the metadata must be less than 16. * The length of each key must be less than 64 characters. * The length of each value must be less than 1024 characters. * All values must be strings.
|
|
285
289
|
*/
|
|
286
290
|
metadata?: {[key: string]: any} | null;
|
|
287
291
|
/**
|
|
288
292
|
* Required. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
|
|
289
293
|
*/
|
|
290
294
|
name?: string | null;
|
|
295
|
+
/**
|
|
296
|
+
* Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources.
|
|
297
|
+
*/
|
|
298
|
+
requestBodySendMode?: string | null;
|
|
299
|
+
/**
|
|
300
|
+
* Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`.
|
|
301
|
+
*/
|
|
302
|
+
responseBodySendMode?: string | null;
|
|
291
303
|
/**
|
|
292
304
|
* Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project\}/regions/{region\}/backendServices/{backendService\}` or `https://www.googleapis.com/compute/v1/projects/{project\}/global/backendServices/{backendService\}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project\}/locations/{location\}/wasmPlugins/{plugin\}` or `//networkservices.googleapis.com/projects/{project\}/locations/{location\}/wasmPlugins/{wasmPlugin\}`. Plugin extensions are currently supported for the `LbTrafficExtension` and the `LbRouteExtension` resources.
|
|
293
305
|
*/
|
|
@@ -297,7 +309,7 @@ export namespace networkservices_v1beta1 {
|
|
|
297
309
|
*/
|
|
298
310
|
supportedEvents?: string[] | null;
|
|
299
311
|
/**
|
|
300
|
-
* Optional. Specifies the timeout for each individual message on the stream. The timeout must be between `10`-`
|
|
312
|
+
* Optional. Specifies the timeout for each individual message on the stream. The timeout must be between `10`-`10000` milliseconds. Required for callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error.
|
|
301
313
|
*/
|
|
302
314
|
timeout?: string | null;
|
|
303
315
|
}
|
|
@@ -620,7 +632,7 @@ export namespace networkservices_v1beta1 {
|
|
|
620
632
|
*/
|
|
621
633
|
export interface Schema$GrpcRouteStatefulSessionAffinityPolicy {
|
|
622
634
|
/**
|
|
623
|
-
* Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from
|
|
635
|
+
* Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 0 to 86400 seconds (24 hours) inclusive. Set this to 0s to use a session cookie and disable cookie expiration.
|
|
624
636
|
*/
|
|
625
637
|
cookieTtl?: string | null;
|
|
626
638
|
}
|
|
@@ -1038,7 +1050,7 @@ export namespace networkservices_v1beta1 {
|
|
|
1038
1050
|
*/
|
|
1039
1051
|
export interface Schema$HttpRouteStatefulSessionAffinityPolicy {
|
|
1040
1052
|
/**
|
|
1041
|
-
* Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from
|
|
1053
|
+
* Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 0 to 86400 seconds (24 hours) inclusive. Set this to 0s to use a session cookie and disable cookie expiration.
|
|
1042
1054
|
*/
|
|
1043
1055
|
cookieTtl?: string | null;
|
|
1044
1056
|
}
|
|
@@ -1055,6 +1067,43 @@ export namespace networkservices_v1beta1 {
|
|
|
1055
1067
|
*/
|
|
1056
1068
|
pathPrefixRewrite?: string | null;
|
|
1057
1069
|
}
|
|
1070
|
+
/**
|
|
1071
|
+
* `LbEdgeExtension` is a resource that lets the extension service influence the Backend Service selection or Cloud CDN cache keys by modifying the request headers.
|
|
1072
|
+
*/
|
|
1073
|
+
export interface Schema$LbEdgeExtension {
|
|
1074
|
+
/**
|
|
1075
|
+
* Output only. The timestamp when the resource was created.
|
|
1076
|
+
*/
|
|
1077
|
+
createTime?: string | null;
|
|
1078
|
+
/**
|
|
1079
|
+
* Optional. A human-readable description of the resource.
|
|
1080
|
+
*/
|
|
1081
|
+
description?: string | null;
|
|
1082
|
+
/**
|
|
1083
|
+
* Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
|
|
1084
|
+
*/
|
|
1085
|
+
extensionChains?: Schema$ExtensionChain[];
|
|
1086
|
+
/**
|
|
1087
|
+
* Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be associated with a forwarding rule.
|
|
1088
|
+
*/
|
|
1089
|
+
forwardingRules?: string[] | null;
|
|
1090
|
+
/**
|
|
1091
|
+
* Optional. Set of labels associated with the `LbEdgeExtension` resource. The format must comply with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google Cloud resources.
|
|
1092
|
+
*/
|
|
1093
|
+
labels?: {[key: string]: string} | null;
|
|
1094
|
+
/**
|
|
1095
|
+
* Required. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `EXTERNAL_MANAGED`. For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).
|
|
1096
|
+
*/
|
|
1097
|
+
loadBalancingScheme?: string | null;
|
|
1098
|
+
/**
|
|
1099
|
+
* Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
|
|
1100
|
+
*/
|
|
1101
|
+
name?: string | null;
|
|
1102
|
+
/**
|
|
1103
|
+
* Output only. The timestamp when the resource was updated.
|
|
1104
|
+
*/
|
|
1105
|
+
updateTime?: string | null;
|
|
1106
|
+
}
|
|
1058
1107
|
/**
|
|
1059
1108
|
* `LbRouteExtension` is a resource that lets you control where traffic is routed to for a given request.
|
|
1060
1109
|
*/
|
|
@@ -1072,7 +1121,7 @@ export namespace networkservices_v1beta1 {
|
|
|
1072
1121
|
*/
|
|
1073
1122
|
extensionChains?: Schema$ExtensionChain[];
|
|
1074
1123
|
/**
|
|
1075
|
-
* Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required.
|
|
1124
|
+
* Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one `LbRouteExtension` resource can be associated with a forwarding rule.
|
|
1076
1125
|
*/
|
|
1077
1126
|
forwardingRules?: string[] | null;
|
|
1078
1127
|
/**
|
|
@@ -1084,7 +1133,7 @@ export namespace networkservices_v1beta1 {
|
|
|
1084
1133
|
*/
|
|
1085
1134
|
loadBalancingScheme?: string | null;
|
|
1086
1135
|
/**
|
|
1087
|
-
* Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the
|
|
1136
|
+
* Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata applies to all extensions in all extensions chains in this resource. The metadata is available under the key `com.google.lb_route_extension.`. The following variables are supported in the metadata: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name. This field must not be set if at least one of the extension chains contains plugin extensions. Setting it results in a validation error. You can set metadata at either the resource level or the extension level. The extension level metadata is recommended because you can pass a different set of metadata through each extension to the backend.
|
|
1088
1137
|
*/
|
|
1089
1138
|
metadata?: {[key: string]: any} | null;
|
|
1090
1139
|
/**
|
|
@@ -1113,7 +1162,7 @@ export namespace networkservices_v1beta1 {
|
|
|
1113
1162
|
*/
|
|
1114
1163
|
extensionChains?: Schema$ExtensionChain[];
|
|
1115
1164
|
/**
|
|
1116
|
-
* Optional. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required.
|
|
1165
|
+
* Optional. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one `LbTrafficExtension` resource can be associated with a forwarding rule.
|
|
1117
1166
|
*/
|
|
1118
1167
|
forwardingRules?: string[] | null;
|
|
1119
1168
|
/**
|
|
@@ -1125,7 +1174,7 @@ export namespace networkservices_v1beta1 {
|
|
|
1125
1174
|
*/
|
|
1126
1175
|
loadBalancingScheme?: string | null;
|
|
1127
1176
|
/**
|
|
1128
|
-
* Optional. The metadata provided here is included
|
|
1177
|
+
* Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata applies to all extensions in all extensions chains in this resource. The metadata is available under the key `com.google.lb_traffic_extension.`. The following variables are supported in the metadata: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name. This field must not be set if at least one of the extension chains contains plugin extensions. Setting it results in a validation error. You can set metadata at either the resource level or the extension level. The extension level metadata is recommended because you can pass a different set of metadata through each extension to the backend.
|
|
1129
1178
|
*/
|
|
1130
1179
|
metadata?: {[key: string]: any} | null;
|
|
1131
1180
|
/**
|
|
@@ -1166,6 +1215,10 @@ export namespace networkservices_v1beta1 {
|
|
|
1166
1215
|
* If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
|
|
1167
1216
|
*/
|
|
1168
1217
|
nextPageToken?: string | null;
|
|
1218
|
+
/**
|
|
1219
|
+
* Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
|
|
1220
|
+
*/
|
|
1221
|
+
unreachable?: string[] | null;
|
|
1169
1222
|
}
|
|
1170
1223
|
/**
|
|
1171
1224
|
* Response returned by the ListGatewayRouteViews method.
|
|
@@ -1213,6 +1266,10 @@ export namespace networkservices_v1beta1 {
|
|
|
1213
1266
|
* If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
|
|
1214
1267
|
*/
|
|
1215
1268
|
nextPageToken?: string | null;
|
|
1269
|
+
/**
|
|
1270
|
+
* Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
|
|
1271
|
+
*/
|
|
1272
|
+
unreachable?: string[] | null;
|
|
1216
1273
|
}
|
|
1217
1274
|
/**
|
|
1218
1275
|
* Response returned by the ListHttpRoutes method.
|
|
@@ -1226,6 +1283,27 @@ export namespace networkservices_v1beta1 {
|
|
|
1226
1283
|
* If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
|
|
1227
1284
|
*/
|
|
1228
1285
|
nextPageToken?: string | null;
|
|
1286
|
+
/**
|
|
1287
|
+
* Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
|
|
1288
|
+
*/
|
|
1289
|
+
unreachable?: string[] | null;
|
|
1290
|
+
}
|
|
1291
|
+
/**
|
|
1292
|
+
* Message for response to listing `LbEdgeExtension` resources.
|
|
1293
|
+
*/
|
|
1294
|
+
export interface Schema$ListLbEdgeExtensionsResponse {
|
|
1295
|
+
/**
|
|
1296
|
+
* The list of `LbEdgeExtension` resources.
|
|
1297
|
+
*/
|
|
1298
|
+
lbEdgeExtensions?: Schema$LbEdgeExtension[];
|
|
1299
|
+
/**
|
|
1300
|
+
* A token identifying a page of results that the server returns.
|
|
1301
|
+
*/
|
|
1302
|
+
nextPageToken?: string | null;
|
|
1303
|
+
/**
|
|
1304
|
+
* Locations that could not be reached.
|
|
1305
|
+
*/
|
|
1306
|
+
unreachable?: string[] | null;
|
|
1229
1307
|
}
|
|
1230
1308
|
/**
|
|
1231
1309
|
* Message for response to listing `LbRouteExtension` resources.
|
|
@@ -1367,6 +1445,10 @@ export namespace networkservices_v1beta1 {
|
|
|
1367
1445
|
* List of TcpRoute resources.
|
|
1368
1446
|
*/
|
|
1369
1447
|
tcpRoutes?: Schema$TcpRoute[];
|
|
1448
|
+
/**
|
|
1449
|
+
* Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
|
|
1450
|
+
*/
|
|
1451
|
+
unreachable?: string[] | null;
|
|
1370
1452
|
}
|
|
1371
1453
|
/**
|
|
1372
1454
|
* Response returned by the ListTlsRoutes method.
|
|
@@ -1380,6 +1462,10 @@ export namespace networkservices_v1beta1 {
|
|
|
1380
1462
|
* List of TlsRoute resources.
|
|
1381
1463
|
*/
|
|
1382
1464
|
tlsRoutes?: Schema$TlsRoute[];
|
|
1465
|
+
/**
|
|
1466
|
+
* Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
|
|
1467
|
+
*/
|
|
1468
|
+
unreachable?: string[] | null;
|
|
1383
1469
|
}
|
|
1384
1470
|
/**
|
|
1385
1471
|
* Response returned by the `ListWasmPlugins` method.
|
|
@@ -1389,6 +1475,10 @@ export namespace networkservices_v1beta1 {
|
|
|
1389
1475
|
* If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
|
|
1390
1476
|
*/
|
|
1391
1477
|
nextPageToken?: string | null;
|
|
1478
|
+
/**
|
|
1479
|
+
* Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
|
|
1480
|
+
*/
|
|
1481
|
+
unreachable?: string[] | null;
|
|
1392
1482
|
/**
|
|
1393
1483
|
* List of `WasmPlugin` resources.
|
|
1394
1484
|
*/
|
|
@@ -1402,6 +1492,10 @@ export namespace networkservices_v1beta1 {
|
|
|
1402
1492
|
* If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
|
|
1403
1493
|
*/
|
|
1404
1494
|
nextPageToken?: string | null;
|
|
1495
|
+
/**
|
|
1496
|
+
* Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
|
|
1497
|
+
*/
|
|
1498
|
+
unreachable?: string[] | null;
|
|
1405
1499
|
/**
|
|
1406
1500
|
* List of `WasmPluginVersion` resources.
|
|
1407
1501
|
*/
|
|
@@ -1594,7 +1688,7 @@ export namespace networkservices_v1beta1 {
|
|
|
1594
1688
|
cryptoKeyName?: string | null;
|
|
1595
1689
|
}
|
|
1596
1690
|
/**
|
|
1597
|
-
* ServiceBinding can be used to: - Bind a Service Directory Service to be used in a BackendService resource. - Bind a Private Service Connect producer service to be used in consumer Cloud Service Mesh or Application Load Balancers.
|
|
1691
|
+
* ServiceBinding can be used to: - Bind a Service Directory Service to be used in a BackendService resource. This feature will be deprecated soon. - Bind a Private Service Connect producer service to be used in consumer Cloud Service Mesh or Application Load Balancers. - Bind a Cloud Run service to be used in consumer Cloud Service Mesh or Application Load Balancers.
|
|
1598
1692
|
*/
|
|
1599
1693
|
export interface Schema$ServiceBinding {
|
|
1600
1694
|
/**
|
|
@@ -1614,11 +1708,11 @@ export namespace networkservices_v1beta1 {
|
|
|
1614
1708
|
*/
|
|
1615
1709
|
name?: string | null;
|
|
1616
1710
|
/**
|
|
1617
|
-
* Optional. The full Service Directory Service name of the format `projects/x/locations/x/namespaces/x/services/x`. This field
|
|
1711
|
+
* Optional. The full Service Directory Service name of the format `projects/x/locations/x/namespaces/x/services/x`. This field is for Service Directory integration which will be deprecated soon.
|
|
1618
1712
|
*/
|
|
1619
1713
|
service?: string | null;
|
|
1620
1714
|
/**
|
|
1621
|
-
* Output only. The unique identifier of the Service Directory Service against which the ServiceBinding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format.
|
|
1715
|
+
* Output only. The unique identifier of the Service Directory Service against which the ServiceBinding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format. This field is for Service Directory integration which will be deprecated soon.
|
|
1622
1716
|
*/
|
|
1623
1717
|
serviceId?: string | null;
|
|
1624
1718
|
/**
|
|
@@ -1646,6 +1740,10 @@ export namespace networkservices_v1beta1 {
|
|
|
1646
1740
|
* Optional. Configuration related to health based failover.
|
|
1647
1741
|
*/
|
|
1648
1742
|
failoverConfig?: Schema$ServiceLbPolicyFailoverConfig;
|
|
1743
|
+
/**
|
|
1744
|
+
* Optional. Configuration to provide isolation support for the associated Backend Service.
|
|
1745
|
+
*/
|
|
1746
|
+
isolationConfig?: Schema$ServiceLbPolicyIsolationConfig;
|
|
1649
1747
|
/**
|
|
1650
1748
|
* Optional. Set of label tags associated with the ServiceLbPolicy resource.
|
|
1651
1749
|
*/
|
|
@@ -1681,6 +1779,19 @@ export namespace networkservices_v1beta1 {
|
|
|
1681
1779
|
*/
|
|
1682
1780
|
failoverHealthThreshold?: number | null;
|
|
1683
1781
|
}
|
|
1782
|
+
/**
|
|
1783
|
+
* Configuration to provide isolation support for the associated Backend Service.
|
|
1784
|
+
*/
|
|
1785
|
+
export interface Schema$ServiceLbPolicyIsolationConfig {
|
|
1786
|
+
/**
|
|
1787
|
+
* Optional. The isolation granularity of the load balancer.
|
|
1788
|
+
*/
|
|
1789
|
+
isolationGranularity?: string | null;
|
|
1790
|
+
/**
|
|
1791
|
+
* Optional. The isolation mode of the load balancer.
|
|
1792
|
+
*/
|
|
1793
|
+
isolationMode?: string | null;
|
|
1794
|
+
}
|
|
1684
1795
|
/**
|
|
1685
1796
|
* The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1686
1797
|
*/
|
|
@@ -1858,7 +1969,7 @@ export namespace networkservices_v1beta1 {
|
|
|
1858
1969
|
*/
|
|
1859
1970
|
serviceName?: string | null;
|
|
1860
1971
|
/**
|
|
1861
|
-
* Optional. Specifies the proportion of requests
|
|
1972
|
+
* Optional. Specifies the proportion of requests forwarded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
|
|
1862
1973
|
*/
|
|
1863
1974
|
weight?: number | null;
|
|
1864
1975
|
}
|
|
@@ -2067,6 +2178,7 @@ export namespace networkservices_v1beta1 {
|
|
|
2067
2178
|
gateways: Resource$Projects$Locations$Gateways;
|
|
2068
2179
|
grpcRoutes: Resource$Projects$Locations$Grpcroutes;
|
|
2069
2180
|
httpRoutes: Resource$Projects$Locations$Httproutes;
|
|
2181
|
+
lbEdgeExtensions: Resource$Projects$Locations$Lbedgeextensions;
|
|
2070
2182
|
lbRouteExtensions: Resource$Projects$Locations$Lbrouteextensions;
|
|
2071
2183
|
lbTrafficExtensions: Resource$Projects$Locations$Lbtrafficextensions;
|
|
2072
2184
|
meshes: Resource$Projects$Locations$Meshes;
|
|
@@ -2091,6 +2203,9 @@ export namespace networkservices_v1beta1 {
|
|
|
2091
2203
|
this.httpRoutes = new Resource$Projects$Locations$Httproutes(
|
|
2092
2204
|
this.context
|
|
2093
2205
|
);
|
|
2206
|
+
this.lbEdgeExtensions = new Resource$Projects$Locations$Lbedgeextensions(
|
|
2207
|
+
this.context
|
|
2208
|
+
);
|
|
2094
2209
|
this.lbRouteExtensions =
|
|
2095
2210
|
new Resource$Projects$Locations$Lbrouteextensions(this.context);
|
|
2096
2211
|
this.lbTrafficExtensions =
|
|
@@ -2301,6 +2416,10 @@ export namespace networkservices_v1beta1 {
|
|
|
2301
2416
|
}
|
|
2302
2417
|
export interface Params$Resource$Projects$Locations$List
|
|
2303
2418
|
extends StandardParameters {
|
|
2419
|
+
/**
|
|
2420
|
+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
|
|
2421
|
+
*/
|
|
2422
|
+
extraLocationTypes?: string[];
|
|
2304
2423
|
/**
|
|
2305
2424
|
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
|
|
2306
2425
|
*/
|
|
@@ -3352,6 +3471,10 @@ export namespace networkservices_v1beta1 {
|
|
|
3352
3471
|
* Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/x/locations/global`.
|
|
3353
3472
|
*/
|
|
3354
3473
|
parent?: string;
|
|
3474
|
+
/**
|
|
3475
|
+
* 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.
|
|
3476
|
+
*/
|
|
3477
|
+
returnPartialSuccess?: boolean;
|
|
3355
3478
|
}
|
|
3356
3479
|
export interface Params$Resource$Projects$Locations$Endpointpolicies$Patch
|
|
3357
3480
|
extends StandardParameters {
|
|
@@ -4592,6 +4715,10 @@ export namespace networkservices_v1beta1 {
|
|
|
4592
4715
|
* Required. The project and location from which the GrpcRoutes should be listed, specified in the format `projects/x/locations/global`.
|
|
4593
4716
|
*/
|
|
4594
4717
|
parent?: string;
|
|
4718
|
+
/**
|
|
4719
|
+
* 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.
|
|
4720
|
+
*/
|
|
4721
|
+
returnPartialSuccess?: boolean;
|
|
4595
4722
|
}
|
|
4596
4723
|
export interface Params$Resource$Projects$Locations$Grpcroutes$Patch
|
|
4597
4724
|
extends StandardParameters {
|
|
@@ -5102,6 +5229,10 @@ export namespace networkservices_v1beta1 {
|
|
|
5102
5229
|
* Required. The project and location from which the HttpRoutes should be listed, specified in the format `projects/x/locations/global`.
|
|
5103
5230
|
*/
|
|
5104
5231
|
parent?: string;
|
|
5232
|
+
/**
|
|
5233
|
+
* 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.
|
|
5234
|
+
*/
|
|
5235
|
+
returnPartialSuccess?: boolean;
|
|
5105
5236
|
}
|
|
5106
5237
|
export interface Params$Resource$Projects$Locations$Httproutes$Patch
|
|
5107
5238
|
extends StandardParameters {
|
|
@@ -5120,14 +5251,14 @@ export namespace networkservices_v1beta1 {
|
|
|
5120
5251
|
requestBody?: Schema$HttpRoute;
|
|
5121
5252
|
}
|
|
5122
5253
|
|
|
5123
|
-
export class Resource$Projects$Locations$
|
|
5254
|
+
export class Resource$Projects$Locations$Lbedgeextensions {
|
|
5124
5255
|
context: APIRequestContext;
|
|
5125
5256
|
constructor(context: APIRequestContext) {
|
|
5126
5257
|
this.context = context;
|
|
5127
5258
|
}
|
|
5128
5259
|
|
|
5129
5260
|
/**
|
|
5130
|
-
* Creates a new `
|
|
5261
|
+
* Creates a new `LbEdgeExtension` resource in a given project and location.
|
|
5131
5262
|
*
|
|
5132
5263
|
* @param params - Parameters for request
|
|
5133
5264
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5135,31 +5266,31 @@ export namespace networkservices_v1beta1 {
|
|
|
5135
5266
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5136
5267
|
*/
|
|
5137
5268
|
create(
|
|
5138
|
-
params: Params$Resource$Projects$Locations$
|
|
5269
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$Create,
|
|
5139
5270
|
options: StreamMethodOptions
|
|
5140
5271
|
): GaxiosPromise<Readable>;
|
|
5141
5272
|
create(
|
|
5142
|
-
params?: Params$Resource$Projects$Locations$
|
|
5273
|
+
params?: Params$Resource$Projects$Locations$Lbedgeextensions$Create,
|
|
5143
5274
|
options?: MethodOptions
|
|
5144
5275
|
): GaxiosPromise<Schema$Operation>;
|
|
5145
5276
|
create(
|
|
5146
|
-
params: Params$Resource$Projects$Locations$
|
|
5277
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$Create,
|
|
5147
5278
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
5148
5279
|
callback: BodyResponseCallback<Readable>
|
|
5149
5280
|
): void;
|
|
5150
5281
|
create(
|
|
5151
|
-
params: Params$Resource$Projects$Locations$
|
|
5282
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$Create,
|
|
5152
5283
|
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
5153
5284
|
callback: BodyResponseCallback<Schema$Operation>
|
|
5154
5285
|
): void;
|
|
5155
5286
|
create(
|
|
5156
|
-
params: Params$Resource$Projects$Locations$
|
|
5287
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$Create,
|
|
5157
5288
|
callback: BodyResponseCallback<Schema$Operation>
|
|
5158
5289
|
): void;
|
|
5159
5290
|
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5160
5291
|
create(
|
|
5161
5292
|
paramsOrCallback?:
|
|
5162
|
-
| Params$Resource$Projects$Locations$
|
|
5293
|
+
| Params$Resource$Projects$Locations$Lbedgeextensions$Create
|
|
5163
5294
|
| BodyResponseCallback<Schema$Operation>
|
|
5164
5295
|
| BodyResponseCallback<Readable>,
|
|
5165
5296
|
optionsOrCallback?:
|
|
@@ -5172,13 +5303,13 @@ export namespace networkservices_v1beta1 {
|
|
|
5172
5303
|
| BodyResponseCallback<Readable>
|
|
5173
5304
|
): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
|
|
5174
5305
|
let params = (paramsOrCallback ||
|
|
5175
|
-
{}) as Params$Resource$Projects$Locations$
|
|
5306
|
+
{}) as Params$Resource$Projects$Locations$Lbedgeextensions$Create;
|
|
5176
5307
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
5177
5308
|
|
|
5178
5309
|
if (typeof paramsOrCallback === 'function') {
|
|
5179
5310
|
callback = paramsOrCallback;
|
|
5180
5311
|
params =
|
|
5181
|
-
{} as Params$Resource$Projects$Locations$
|
|
5312
|
+
{} as Params$Resource$Projects$Locations$Lbedgeextensions$Create;
|
|
5182
5313
|
options = {};
|
|
5183
5314
|
}
|
|
5184
5315
|
|
|
@@ -5192,7 +5323,7 @@ export namespace networkservices_v1beta1 {
|
|
|
5192
5323
|
const parameters = {
|
|
5193
5324
|
options: Object.assign(
|
|
5194
5325
|
{
|
|
5195
|
-
url: (rootUrl + '/v1beta1/{+parent}/
|
|
5326
|
+
url: (rootUrl + '/v1beta1/{+parent}/lbEdgeExtensions').replace(
|
|
5196
5327
|
/([^:]\/)\/+/g,
|
|
5197
5328
|
'$1'
|
|
5198
5329
|
),
|
|
@@ -5217,7 +5348,7 @@ export namespace networkservices_v1beta1 {
|
|
|
5217
5348
|
}
|
|
5218
5349
|
|
|
5219
5350
|
/**
|
|
5220
|
-
* Deletes the specified `
|
|
5351
|
+
* Deletes the specified `LbEdgeExtension` resource.
|
|
5221
5352
|
*
|
|
5222
5353
|
* @param params - Parameters for request
|
|
5223
5354
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5225,31 +5356,31 @@ export namespace networkservices_v1beta1 {
|
|
|
5225
5356
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5226
5357
|
*/
|
|
5227
5358
|
delete(
|
|
5228
|
-
params: Params$Resource$Projects$Locations$
|
|
5359
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete,
|
|
5229
5360
|
options: StreamMethodOptions
|
|
5230
5361
|
): GaxiosPromise<Readable>;
|
|
5231
5362
|
delete(
|
|
5232
|
-
params?: Params$Resource$Projects$Locations$
|
|
5363
|
+
params?: Params$Resource$Projects$Locations$Lbedgeextensions$Delete,
|
|
5233
5364
|
options?: MethodOptions
|
|
5234
5365
|
): GaxiosPromise<Schema$Operation>;
|
|
5235
5366
|
delete(
|
|
5236
|
-
params: Params$Resource$Projects$Locations$
|
|
5367
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete,
|
|
5237
5368
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
5238
5369
|
callback: BodyResponseCallback<Readable>
|
|
5239
5370
|
): void;
|
|
5240
5371
|
delete(
|
|
5241
|
-
params: Params$Resource$Projects$Locations$
|
|
5372
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete,
|
|
5242
5373
|
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
5243
5374
|
callback: BodyResponseCallback<Schema$Operation>
|
|
5244
5375
|
): void;
|
|
5245
5376
|
delete(
|
|
5246
|
-
params: Params$Resource$Projects$Locations$
|
|
5377
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$Delete,
|
|
5247
5378
|
callback: BodyResponseCallback<Schema$Operation>
|
|
5248
5379
|
): void;
|
|
5249
5380
|
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5250
5381
|
delete(
|
|
5251
5382
|
paramsOrCallback?:
|
|
5252
|
-
| Params$Resource$Projects$Locations$
|
|
5383
|
+
| Params$Resource$Projects$Locations$Lbedgeextensions$Delete
|
|
5253
5384
|
| BodyResponseCallback<Schema$Operation>
|
|
5254
5385
|
| BodyResponseCallback<Readable>,
|
|
5255
5386
|
optionsOrCallback?:
|
|
@@ -5262,13 +5393,13 @@ export namespace networkservices_v1beta1 {
|
|
|
5262
5393
|
| BodyResponseCallback<Readable>
|
|
5263
5394
|
): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
|
|
5264
5395
|
let params = (paramsOrCallback ||
|
|
5265
|
-
{}) as Params$Resource$Projects$Locations$
|
|
5396
|
+
{}) as Params$Resource$Projects$Locations$Lbedgeextensions$Delete;
|
|
5266
5397
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
5267
5398
|
|
|
5268
5399
|
if (typeof paramsOrCallback === 'function') {
|
|
5269
5400
|
callback = paramsOrCallback;
|
|
5270
5401
|
params =
|
|
5271
|
-
{} as Params$Resource$Projects$Locations$
|
|
5402
|
+
{} as Params$Resource$Projects$Locations$Lbedgeextensions$Delete;
|
|
5272
5403
|
options = {};
|
|
5273
5404
|
}
|
|
5274
5405
|
|
|
@@ -5304,7 +5435,7 @@ export namespace networkservices_v1beta1 {
|
|
|
5304
5435
|
}
|
|
5305
5436
|
|
|
5306
5437
|
/**
|
|
5307
|
-
* Gets details of the specified `
|
|
5438
|
+
* Gets details of the specified `LbEdgeExtension` resource.
|
|
5308
5439
|
*
|
|
5309
5440
|
* @param params - Parameters for request
|
|
5310
5441
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5312,49 +5443,49 @@ export namespace networkservices_v1beta1 {
|
|
|
5312
5443
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5313
5444
|
*/
|
|
5314
5445
|
get(
|
|
5315
|
-
params: Params$Resource$Projects$Locations$
|
|
5446
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$Get,
|
|
5316
5447
|
options: StreamMethodOptions
|
|
5317
5448
|
): GaxiosPromise<Readable>;
|
|
5318
5449
|
get(
|
|
5319
|
-
params?: Params$Resource$Projects$Locations$
|
|
5450
|
+
params?: Params$Resource$Projects$Locations$Lbedgeextensions$Get,
|
|
5320
5451
|
options?: MethodOptions
|
|
5321
|
-
): GaxiosPromise<Schema$
|
|
5452
|
+
): GaxiosPromise<Schema$LbEdgeExtension>;
|
|
5322
5453
|
get(
|
|
5323
|
-
params: Params$Resource$Projects$Locations$
|
|
5454
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$Get,
|
|
5324
5455
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
5325
5456
|
callback: BodyResponseCallback<Readable>
|
|
5326
5457
|
): void;
|
|
5327
5458
|
get(
|
|
5328
|
-
params: Params$Resource$Projects$Locations$
|
|
5329
|
-
options: MethodOptions | BodyResponseCallback<Schema$
|
|
5330
|
-
callback: BodyResponseCallback<Schema$
|
|
5459
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$Get,
|
|
5460
|
+
options: MethodOptions | BodyResponseCallback<Schema$LbEdgeExtension>,
|
|
5461
|
+
callback: BodyResponseCallback<Schema$LbEdgeExtension>
|
|
5331
5462
|
): void;
|
|
5332
5463
|
get(
|
|
5333
|
-
params: Params$Resource$Projects$Locations$
|
|
5334
|
-
callback: BodyResponseCallback<Schema$
|
|
5464
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$Get,
|
|
5465
|
+
callback: BodyResponseCallback<Schema$LbEdgeExtension>
|
|
5335
5466
|
): void;
|
|
5336
|
-
get(callback: BodyResponseCallback<Schema$
|
|
5467
|
+
get(callback: BodyResponseCallback<Schema$LbEdgeExtension>): void;
|
|
5337
5468
|
get(
|
|
5338
5469
|
paramsOrCallback?:
|
|
5339
|
-
| Params$Resource$Projects$Locations$
|
|
5340
|
-
| BodyResponseCallback<Schema$
|
|
5470
|
+
| Params$Resource$Projects$Locations$Lbedgeextensions$Get
|
|
5471
|
+
| BodyResponseCallback<Schema$LbEdgeExtension>
|
|
5341
5472
|
| BodyResponseCallback<Readable>,
|
|
5342
5473
|
optionsOrCallback?:
|
|
5343
5474
|
| MethodOptions
|
|
5344
5475
|
| StreamMethodOptions
|
|
5345
|
-
| BodyResponseCallback<Schema$
|
|
5476
|
+
| BodyResponseCallback<Schema$LbEdgeExtension>
|
|
5346
5477
|
| BodyResponseCallback<Readable>,
|
|
5347
5478
|
callback?:
|
|
5348
|
-
| BodyResponseCallback<Schema$
|
|
5479
|
+
| BodyResponseCallback<Schema$LbEdgeExtension>
|
|
5349
5480
|
| BodyResponseCallback<Readable>
|
|
5350
|
-
): void | GaxiosPromise<Schema$
|
|
5481
|
+
): void | GaxiosPromise<Schema$LbEdgeExtension> | GaxiosPromise<Readable> {
|
|
5351
5482
|
let params = (paramsOrCallback ||
|
|
5352
|
-
{}) as Params$Resource$Projects$Locations$
|
|
5483
|
+
{}) as Params$Resource$Projects$Locations$Lbedgeextensions$Get;
|
|
5353
5484
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
5354
5485
|
|
|
5355
5486
|
if (typeof paramsOrCallback === 'function') {
|
|
5356
5487
|
callback = paramsOrCallback;
|
|
5357
|
-
params = {} as Params$Resource$Projects$Locations$
|
|
5488
|
+
params = {} as Params$Resource$Projects$Locations$Lbedgeextensions$Get;
|
|
5358
5489
|
options = {};
|
|
5359
5490
|
}
|
|
5360
5491
|
|
|
@@ -5380,17 +5511,17 @@ export namespace networkservices_v1beta1 {
|
|
|
5380
5511
|
context: this.context,
|
|
5381
5512
|
};
|
|
5382
5513
|
if (callback) {
|
|
5383
|
-
createAPIRequest<Schema$
|
|
5514
|
+
createAPIRequest<Schema$LbEdgeExtension>(
|
|
5384
5515
|
parameters,
|
|
5385
5516
|
callback as BodyResponseCallback<unknown>
|
|
5386
5517
|
);
|
|
5387
5518
|
} else {
|
|
5388
|
-
return createAPIRequest<Schema$
|
|
5519
|
+
return createAPIRequest<Schema$LbEdgeExtension>(parameters);
|
|
5389
5520
|
}
|
|
5390
5521
|
}
|
|
5391
5522
|
|
|
5392
5523
|
/**
|
|
5393
|
-
* Lists `
|
|
5524
|
+
* Lists `LbEdgeExtension` resources in a given project and location.
|
|
5394
5525
|
*
|
|
5395
5526
|
* @param params - Parameters for request
|
|
5396
5527
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5398,57 +5529,56 @@ export namespace networkservices_v1beta1 {
|
|
|
5398
5529
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5399
5530
|
*/
|
|
5400
5531
|
list(
|
|
5401
|
-
params: Params$Resource$Projects$Locations$
|
|
5532
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$List,
|
|
5402
5533
|
options: StreamMethodOptions
|
|
5403
5534
|
): GaxiosPromise<Readable>;
|
|
5404
5535
|
list(
|
|
5405
|
-
params?: Params$Resource$Projects$Locations$
|
|
5536
|
+
params?: Params$Resource$Projects$Locations$Lbedgeextensions$List,
|
|
5406
5537
|
options?: MethodOptions
|
|
5407
|
-
): GaxiosPromise<Schema$
|
|
5538
|
+
): GaxiosPromise<Schema$ListLbEdgeExtensionsResponse>;
|
|
5408
5539
|
list(
|
|
5409
|
-
params: Params$Resource$Projects$Locations$
|
|
5540
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$List,
|
|
5410
5541
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
5411
5542
|
callback: BodyResponseCallback<Readable>
|
|
5412
5543
|
): void;
|
|
5413
5544
|
list(
|
|
5414
|
-
params: Params$Resource$Projects$Locations$
|
|
5545
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$List,
|
|
5415
5546
|
options:
|
|
5416
5547
|
| MethodOptions
|
|
5417
|
-
| BodyResponseCallback<Schema$
|
|
5418
|
-
callback: BodyResponseCallback<Schema$
|
|
5548
|
+
| BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>,
|
|
5549
|
+
callback: BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
|
|
5419
5550
|
): void;
|
|
5420
5551
|
list(
|
|
5421
|
-
params: Params$Resource$Projects$Locations$
|
|
5422
|
-
callback: BodyResponseCallback<Schema$
|
|
5552
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$List,
|
|
5553
|
+
callback: BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
|
|
5423
5554
|
): void;
|
|
5424
5555
|
list(
|
|
5425
|
-
callback: BodyResponseCallback<Schema$
|
|
5556
|
+
callback: BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
|
|
5426
5557
|
): void;
|
|
5427
5558
|
list(
|
|
5428
5559
|
paramsOrCallback?:
|
|
5429
|
-
| Params$Resource$Projects$Locations$
|
|
5430
|
-
| BodyResponseCallback<Schema$
|
|
5560
|
+
| Params$Resource$Projects$Locations$Lbedgeextensions$List
|
|
5561
|
+
| BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
|
|
5431
5562
|
| BodyResponseCallback<Readable>,
|
|
5432
5563
|
optionsOrCallback?:
|
|
5433
5564
|
| MethodOptions
|
|
5434
5565
|
| StreamMethodOptions
|
|
5435
|
-
| BodyResponseCallback<Schema$
|
|
5566
|
+
| BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
|
|
5436
5567
|
| BodyResponseCallback<Readable>,
|
|
5437
5568
|
callback?:
|
|
5438
|
-
| BodyResponseCallback<Schema$
|
|
5569
|
+
| BodyResponseCallback<Schema$ListLbEdgeExtensionsResponse>
|
|
5439
5570
|
| BodyResponseCallback<Readable>
|
|
5440
5571
|
):
|
|
5441
5572
|
| void
|
|
5442
|
-
| GaxiosPromise<Schema$
|
|
5573
|
+
| GaxiosPromise<Schema$ListLbEdgeExtensionsResponse>
|
|
5443
5574
|
| GaxiosPromise<Readable> {
|
|
5444
5575
|
let params = (paramsOrCallback ||
|
|
5445
|
-
{}) as Params$Resource$Projects$Locations$
|
|
5576
|
+
{}) as Params$Resource$Projects$Locations$Lbedgeextensions$List;
|
|
5446
5577
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
5447
5578
|
|
|
5448
5579
|
if (typeof paramsOrCallback === 'function') {
|
|
5449
5580
|
callback = paramsOrCallback;
|
|
5450
|
-
params =
|
|
5451
|
-
{} as Params$Resource$Projects$Locations$Lbrouteextensions$List;
|
|
5581
|
+
params = {} as Params$Resource$Projects$Locations$Lbedgeextensions$List;
|
|
5452
5582
|
options = {};
|
|
5453
5583
|
}
|
|
5454
5584
|
|
|
@@ -5462,7 +5592,7 @@ export namespace networkservices_v1beta1 {
|
|
|
5462
5592
|
const parameters = {
|
|
5463
5593
|
options: Object.assign(
|
|
5464
5594
|
{
|
|
5465
|
-
url: (rootUrl + '/v1beta1/{+parent}/
|
|
5595
|
+
url: (rootUrl + '/v1beta1/{+parent}/lbEdgeExtensions').replace(
|
|
5466
5596
|
/([^:]\/)\/+/g,
|
|
5467
5597
|
'$1'
|
|
5468
5598
|
),
|
|
@@ -5477,19 +5607,19 @@ export namespace networkservices_v1beta1 {
|
|
|
5477
5607
|
context: this.context,
|
|
5478
5608
|
};
|
|
5479
5609
|
if (callback) {
|
|
5480
|
-
createAPIRequest<Schema$
|
|
5610
|
+
createAPIRequest<Schema$ListLbEdgeExtensionsResponse>(
|
|
5481
5611
|
parameters,
|
|
5482
5612
|
callback as BodyResponseCallback<unknown>
|
|
5483
5613
|
);
|
|
5484
5614
|
} else {
|
|
5485
|
-
return createAPIRequest<Schema$
|
|
5615
|
+
return createAPIRequest<Schema$ListLbEdgeExtensionsResponse>(
|
|
5486
5616
|
parameters
|
|
5487
5617
|
);
|
|
5488
5618
|
}
|
|
5489
5619
|
}
|
|
5490
5620
|
|
|
5491
5621
|
/**
|
|
5492
|
-
* Updates the parameters of the specified `
|
|
5622
|
+
* Updates the parameters of the specified `LbEdgeExtension` resource.
|
|
5493
5623
|
*
|
|
5494
5624
|
* @param params - Parameters for request
|
|
5495
5625
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5497,31 +5627,31 @@ export namespace networkservices_v1beta1 {
|
|
|
5497
5627
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5498
5628
|
*/
|
|
5499
5629
|
patch(
|
|
5500
|
-
params: Params$Resource$Projects$Locations$
|
|
5630
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch,
|
|
5501
5631
|
options: StreamMethodOptions
|
|
5502
5632
|
): GaxiosPromise<Readable>;
|
|
5503
5633
|
patch(
|
|
5504
|
-
params?: Params$Resource$Projects$Locations$
|
|
5634
|
+
params?: Params$Resource$Projects$Locations$Lbedgeextensions$Patch,
|
|
5505
5635
|
options?: MethodOptions
|
|
5506
5636
|
): GaxiosPromise<Schema$Operation>;
|
|
5507
5637
|
patch(
|
|
5508
|
-
params: Params$Resource$Projects$Locations$
|
|
5638
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch,
|
|
5509
5639
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
5510
5640
|
callback: BodyResponseCallback<Readable>
|
|
5511
5641
|
): void;
|
|
5512
5642
|
patch(
|
|
5513
|
-
params: Params$Resource$Projects$Locations$
|
|
5643
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch,
|
|
5514
5644
|
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
5515
5645
|
callback: BodyResponseCallback<Schema$Operation>
|
|
5516
5646
|
): void;
|
|
5517
5647
|
patch(
|
|
5518
|
-
params: Params$Resource$Projects$Locations$
|
|
5648
|
+
params: Params$Resource$Projects$Locations$Lbedgeextensions$Patch,
|
|
5519
5649
|
callback: BodyResponseCallback<Schema$Operation>
|
|
5520
5650
|
): void;
|
|
5521
5651
|
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5522
5652
|
patch(
|
|
5523
5653
|
paramsOrCallback?:
|
|
5524
|
-
| Params$Resource$Projects$Locations$
|
|
5654
|
+
| Params$Resource$Projects$Locations$Lbedgeextensions$Patch
|
|
5525
5655
|
| BodyResponseCallback<Schema$Operation>
|
|
5526
5656
|
| BodyResponseCallback<Readable>,
|
|
5527
5657
|
optionsOrCallback?:
|
|
@@ -5534,13 +5664,13 @@ export namespace networkservices_v1beta1 {
|
|
|
5534
5664
|
| BodyResponseCallback<Readable>
|
|
5535
5665
|
): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
|
|
5536
5666
|
let params = (paramsOrCallback ||
|
|
5537
|
-
{}) as Params$Resource$Projects$Locations$
|
|
5667
|
+
{}) as Params$Resource$Projects$Locations$Lbedgeextensions$Patch;
|
|
5538
5668
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
5539
5669
|
|
|
5540
5670
|
if (typeof paramsOrCallback === 'function') {
|
|
5541
5671
|
callback = paramsOrCallback;
|
|
5542
5672
|
params =
|
|
5543
|
-
{} as Params$Resource$Projects$Locations$
|
|
5673
|
+
{} as Params$Resource$Projects$Locations$Lbedgeextensions$Patch;
|
|
5544
5674
|
options = {};
|
|
5545
5675
|
}
|
|
5546
5676
|
|
|
@@ -5576,14 +5706,14 @@ export namespace networkservices_v1beta1 {
|
|
|
5576
5706
|
}
|
|
5577
5707
|
}
|
|
5578
5708
|
|
|
5579
|
-
export interface Params$Resource$Projects$Locations$
|
|
5709
|
+
export interface Params$Resource$Projects$Locations$Lbedgeextensions$Create
|
|
5580
5710
|
extends StandardParameters {
|
|
5581
5711
|
/**
|
|
5582
|
-
* Required. User-provided ID of the `
|
|
5712
|
+
* Required. User-provided ID of the `LbEdgeExtension` resource to be created.
|
|
5583
5713
|
*/
|
|
5584
|
-
|
|
5714
|
+
lbEdgeExtensionId?: string;
|
|
5585
5715
|
/**
|
|
5586
|
-
* Required. The parent resource of the `
|
|
5716
|
+
* Required. The parent resource of the `LbEdgeExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
|
|
5587
5717
|
*/
|
|
5588
5718
|
parent?: string;
|
|
5589
5719
|
/**
|
|
@@ -5594,12 +5724,12 @@ export namespace networkservices_v1beta1 {
|
|
|
5594
5724
|
/**
|
|
5595
5725
|
* Request body metadata
|
|
5596
5726
|
*/
|
|
5597
|
-
requestBody?: Schema$
|
|
5727
|
+
requestBody?: Schema$LbEdgeExtension;
|
|
5598
5728
|
}
|
|
5599
|
-
export interface Params$Resource$Projects$Locations$
|
|
5729
|
+
export interface Params$Resource$Projects$Locations$Lbedgeextensions$Delete
|
|
5600
5730
|
extends StandardParameters {
|
|
5601
5731
|
/**
|
|
5602
|
-
* Required. The name of the `
|
|
5732
|
+
* Required. The name of the `LbEdgeExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
|
|
5603
5733
|
*/
|
|
5604
5734
|
name?: string;
|
|
5605
5735
|
/**
|
|
@@ -5607,14 +5737,14 @@ export namespace networkservices_v1beta1 {
|
|
|
5607
5737
|
*/
|
|
5608
5738
|
requestId?: string;
|
|
5609
5739
|
}
|
|
5610
|
-
export interface Params$Resource$Projects$Locations$
|
|
5740
|
+
export interface Params$Resource$Projects$Locations$Lbedgeextensions$Get
|
|
5611
5741
|
extends StandardParameters {
|
|
5612
5742
|
/**
|
|
5613
|
-
* Required. A name of the `
|
|
5743
|
+
* Required. A name of the `LbEdgeExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
|
|
5614
5744
|
*/
|
|
5615
5745
|
name?: string;
|
|
5616
5746
|
}
|
|
5617
|
-
export interface Params$Resource$Projects$Locations$
|
|
5747
|
+
export interface Params$Resource$Projects$Locations$Lbedgeextensions$List
|
|
5618
5748
|
extends StandardParameters {
|
|
5619
5749
|
/**
|
|
5620
5750
|
* Optional. Filtering results.
|
|
@@ -5633,14 +5763,14 @@ export namespace networkservices_v1beta1 {
|
|
|
5633
5763
|
*/
|
|
5634
5764
|
pageToken?: string;
|
|
5635
5765
|
/**
|
|
5636
|
-
* Required. The project and location from which the `
|
|
5766
|
+
* Required. The project and location from which the `LbEdgeExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
|
|
5637
5767
|
*/
|
|
5638
5768
|
parent?: string;
|
|
5639
5769
|
}
|
|
5640
|
-
export interface Params$Resource$Projects$Locations$
|
|
5770
|
+
export interface Params$Resource$Projects$Locations$Lbedgeextensions$Patch
|
|
5641
5771
|
extends StandardParameters {
|
|
5642
5772
|
/**
|
|
5643
|
-
* Required. Identifier. Name of the `
|
|
5773
|
+
* Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbEdgeExtensions/{lb_edge_extension\}`.
|
|
5644
5774
|
*/
|
|
5645
5775
|
name?: string;
|
|
5646
5776
|
/**
|
|
@@ -5648,24 +5778,24 @@ export namespace networkservices_v1beta1 {
|
|
|
5648
5778
|
*/
|
|
5649
5779
|
requestId?: string;
|
|
5650
5780
|
/**
|
|
5651
|
-
* Optional. Used to specify the fields to be overwritten in the `
|
|
5781
|
+
* Optional. Used to specify the fields to be overwritten in the `LbEdgeExtension` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.
|
|
5652
5782
|
*/
|
|
5653
5783
|
updateMask?: string;
|
|
5654
5784
|
|
|
5655
5785
|
/**
|
|
5656
5786
|
* Request body metadata
|
|
5657
5787
|
*/
|
|
5658
|
-
requestBody?: Schema$
|
|
5788
|
+
requestBody?: Schema$LbEdgeExtension;
|
|
5659
5789
|
}
|
|
5660
5790
|
|
|
5661
|
-
export class Resource$Projects$Locations$
|
|
5791
|
+
export class Resource$Projects$Locations$Lbrouteextensions {
|
|
5662
5792
|
context: APIRequestContext;
|
|
5663
5793
|
constructor(context: APIRequestContext) {
|
|
5664
5794
|
this.context = context;
|
|
5665
5795
|
}
|
|
5666
5796
|
|
|
5667
5797
|
/**
|
|
5668
|
-
* Creates a new `
|
|
5798
|
+
* Creates a new `LbRouteExtension` resource in a given project and location.
|
|
5669
5799
|
*
|
|
5670
5800
|
* @param params - Parameters for request
|
|
5671
5801
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5673,31 +5803,31 @@ export namespace networkservices_v1beta1 {
|
|
|
5673
5803
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5674
5804
|
*/
|
|
5675
5805
|
create(
|
|
5676
|
-
params: Params$Resource$Projects$Locations$
|
|
5806
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
|
|
5677
5807
|
options: StreamMethodOptions
|
|
5678
5808
|
): GaxiosPromise<Readable>;
|
|
5679
5809
|
create(
|
|
5680
|
-
params?: Params$Resource$Projects$Locations$
|
|
5810
|
+
params?: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
|
|
5681
5811
|
options?: MethodOptions
|
|
5682
5812
|
): GaxiosPromise<Schema$Operation>;
|
|
5683
5813
|
create(
|
|
5684
|
-
params: Params$Resource$Projects$Locations$
|
|
5814
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
|
|
5685
5815
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
5686
5816
|
callback: BodyResponseCallback<Readable>
|
|
5687
5817
|
): void;
|
|
5688
5818
|
create(
|
|
5689
|
-
params: Params$Resource$Projects$Locations$
|
|
5819
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
|
|
5690
5820
|
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
5691
5821
|
callback: BodyResponseCallback<Schema$Operation>
|
|
5692
5822
|
): void;
|
|
5693
5823
|
create(
|
|
5694
|
-
params: Params$Resource$Projects$Locations$
|
|
5824
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$Create,
|
|
5695
5825
|
callback: BodyResponseCallback<Schema$Operation>
|
|
5696
5826
|
): void;
|
|
5697
5827
|
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5698
5828
|
create(
|
|
5699
5829
|
paramsOrCallback?:
|
|
5700
|
-
| Params$Resource$Projects$Locations$
|
|
5830
|
+
| Params$Resource$Projects$Locations$Lbrouteextensions$Create
|
|
5701
5831
|
| BodyResponseCallback<Schema$Operation>
|
|
5702
5832
|
| BodyResponseCallback<Readable>,
|
|
5703
5833
|
optionsOrCallback?:
|
|
@@ -5710,13 +5840,13 @@ export namespace networkservices_v1beta1 {
|
|
|
5710
5840
|
| BodyResponseCallback<Readable>
|
|
5711
5841
|
): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
|
|
5712
5842
|
let params = (paramsOrCallback ||
|
|
5713
|
-
{}) as Params$Resource$Projects$Locations$
|
|
5843
|
+
{}) as Params$Resource$Projects$Locations$Lbrouteextensions$Create;
|
|
5714
5844
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
5715
5845
|
|
|
5716
5846
|
if (typeof paramsOrCallback === 'function') {
|
|
5717
5847
|
callback = paramsOrCallback;
|
|
5718
5848
|
params =
|
|
5719
|
-
{} as Params$Resource$Projects$Locations$
|
|
5849
|
+
{} as Params$Resource$Projects$Locations$Lbrouteextensions$Create;
|
|
5720
5850
|
options = {};
|
|
5721
5851
|
}
|
|
5722
5852
|
|
|
@@ -5730,7 +5860,7 @@ export namespace networkservices_v1beta1 {
|
|
|
5730
5860
|
const parameters = {
|
|
5731
5861
|
options: Object.assign(
|
|
5732
5862
|
{
|
|
5733
|
-
url: (rootUrl + '/v1beta1/{+parent}/
|
|
5863
|
+
url: (rootUrl + '/v1beta1/{+parent}/lbRouteExtensions').replace(
|
|
5734
5864
|
/([^:]\/)\/+/g,
|
|
5735
5865
|
'$1'
|
|
5736
5866
|
),
|
|
@@ -5755,7 +5885,7 @@ export namespace networkservices_v1beta1 {
|
|
|
5755
5885
|
}
|
|
5756
5886
|
|
|
5757
5887
|
/**
|
|
5758
|
-
* Deletes the specified `
|
|
5888
|
+
* Deletes the specified `LbRouteExtension` resource.
|
|
5759
5889
|
*
|
|
5760
5890
|
* @param params - Parameters for request
|
|
5761
5891
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5763,31 +5893,31 @@ export namespace networkservices_v1beta1 {
|
|
|
5763
5893
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5764
5894
|
*/
|
|
5765
5895
|
delete(
|
|
5766
|
-
params: Params$Resource$Projects$Locations$
|
|
5896
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
|
|
5767
5897
|
options: StreamMethodOptions
|
|
5768
5898
|
): GaxiosPromise<Readable>;
|
|
5769
5899
|
delete(
|
|
5770
|
-
params?: Params$Resource$Projects$Locations$
|
|
5900
|
+
params?: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
|
|
5771
5901
|
options?: MethodOptions
|
|
5772
5902
|
): GaxiosPromise<Schema$Operation>;
|
|
5773
5903
|
delete(
|
|
5774
|
-
params: Params$Resource$Projects$Locations$
|
|
5904
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
|
|
5775
5905
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
5776
5906
|
callback: BodyResponseCallback<Readable>
|
|
5777
5907
|
): void;
|
|
5778
5908
|
delete(
|
|
5779
|
-
params: Params$Resource$Projects$Locations$
|
|
5909
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
|
|
5780
5910
|
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
5781
5911
|
callback: BodyResponseCallback<Schema$Operation>
|
|
5782
5912
|
): void;
|
|
5783
5913
|
delete(
|
|
5784
|
-
params: Params$Resource$Projects$Locations$
|
|
5914
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete,
|
|
5785
5915
|
callback: BodyResponseCallback<Schema$Operation>
|
|
5786
5916
|
): void;
|
|
5787
5917
|
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5788
5918
|
delete(
|
|
5789
5919
|
paramsOrCallback?:
|
|
5790
|
-
| Params$Resource$Projects$Locations$
|
|
5920
|
+
| Params$Resource$Projects$Locations$Lbrouteextensions$Delete
|
|
5791
5921
|
| BodyResponseCallback<Schema$Operation>
|
|
5792
5922
|
| BodyResponseCallback<Readable>,
|
|
5793
5923
|
optionsOrCallback?:
|
|
@@ -5800,13 +5930,13 @@ export namespace networkservices_v1beta1 {
|
|
|
5800
5930
|
| BodyResponseCallback<Readable>
|
|
5801
5931
|
): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
|
|
5802
5932
|
let params = (paramsOrCallback ||
|
|
5803
|
-
{}) as Params$Resource$Projects$Locations$
|
|
5933
|
+
{}) as Params$Resource$Projects$Locations$Lbrouteextensions$Delete;
|
|
5804
5934
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
5805
5935
|
|
|
5806
5936
|
if (typeof paramsOrCallback === 'function') {
|
|
5807
5937
|
callback = paramsOrCallback;
|
|
5808
5938
|
params =
|
|
5809
|
-
{} as Params$Resource$Projects$Locations$
|
|
5939
|
+
{} as Params$Resource$Projects$Locations$Lbrouteextensions$Delete;
|
|
5810
5940
|
options = {};
|
|
5811
5941
|
}
|
|
5812
5942
|
|
|
@@ -5842,7 +5972,7 @@ export namespace networkservices_v1beta1 {
|
|
|
5842
5972
|
}
|
|
5843
5973
|
|
|
5844
5974
|
/**
|
|
5845
|
-
* Gets details of the specified `
|
|
5975
|
+
* Gets details of the specified `LbRouteExtension` resource.
|
|
5846
5976
|
*
|
|
5847
5977
|
* @param params - Parameters for request
|
|
5848
5978
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5850,43 +5980,581 @@ export namespace networkservices_v1beta1 {
|
|
|
5850
5980
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5851
5981
|
*/
|
|
5852
5982
|
get(
|
|
5853
|
-
params: Params$Resource$Projects$Locations$
|
|
5983
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
|
|
5854
5984
|
options: StreamMethodOptions
|
|
5855
5985
|
): GaxiosPromise<Readable>;
|
|
5856
5986
|
get(
|
|
5857
|
-
params?: Params$Resource$Projects$Locations$
|
|
5987
|
+
params?: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
|
|
5858
5988
|
options?: MethodOptions
|
|
5859
|
-
): GaxiosPromise<Schema$
|
|
5989
|
+
): GaxiosPromise<Schema$LbRouteExtension>;
|
|
5860
5990
|
get(
|
|
5861
|
-
params: Params$Resource$Projects$Locations$
|
|
5991
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
|
|
5862
5992
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
5863
5993
|
callback: BodyResponseCallback<Readable>
|
|
5864
5994
|
): void;
|
|
5865
5995
|
get(
|
|
5866
|
-
params: Params$Resource$Projects$Locations$
|
|
5867
|
-
options: MethodOptions | BodyResponseCallback<Schema$
|
|
5868
|
-
callback: BodyResponseCallback<Schema$
|
|
5996
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
|
|
5997
|
+
options: MethodOptions | BodyResponseCallback<Schema$LbRouteExtension>,
|
|
5998
|
+
callback: BodyResponseCallback<Schema$LbRouteExtension>
|
|
5869
5999
|
): void;
|
|
5870
6000
|
get(
|
|
5871
|
-
params: Params$Resource$Projects$Locations$
|
|
5872
|
-
callback: BodyResponseCallback<Schema$
|
|
6001
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$Get,
|
|
6002
|
+
callback: BodyResponseCallback<Schema$LbRouteExtension>
|
|
5873
6003
|
): void;
|
|
5874
|
-
get(callback: BodyResponseCallback<Schema$
|
|
6004
|
+
get(callback: BodyResponseCallback<Schema$LbRouteExtension>): void;
|
|
5875
6005
|
get(
|
|
5876
6006
|
paramsOrCallback?:
|
|
5877
|
-
| Params$Resource$Projects$Locations$
|
|
5878
|
-
| BodyResponseCallback<Schema$
|
|
6007
|
+
| Params$Resource$Projects$Locations$Lbrouteextensions$Get
|
|
6008
|
+
| BodyResponseCallback<Schema$LbRouteExtension>
|
|
5879
6009
|
| BodyResponseCallback<Readable>,
|
|
5880
6010
|
optionsOrCallback?:
|
|
5881
6011
|
| MethodOptions
|
|
5882
6012
|
| StreamMethodOptions
|
|
5883
|
-
| BodyResponseCallback<Schema$
|
|
6013
|
+
| BodyResponseCallback<Schema$LbRouteExtension>
|
|
5884
6014
|
| BodyResponseCallback<Readable>,
|
|
5885
6015
|
callback?:
|
|
5886
|
-
| BodyResponseCallback<Schema$
|
|
6016
|
+
| BodyResponseCallback<Schema$LbRouteExtension>
|
|
5887
6017
|
| BodyResponseCallback<Readable>
|
|
5888
|
-
):
|
|
5889
|
-
|
|
6018
|
+
): void | GaxiosPromise<Schema$LbRouteExtension> | GaxiosPromise<Readable> {
|
|
6019
|
+
let params = (paramsOrCallback ||
|
|
6020
|
+
{}) as Params$Resource$Projects$Locations$Lbrouteextensions$Get;
|
|
6021
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
6022
|
+
|
|
6023
|
+
if (typeof paramsOrCallback === 'function') {
|
|
6024
|
+
callback = paramsOrCallback;
|
|
6025
|
+
params = {} as Params$Resource$Projects$Locations$Lbrouteextensions$Get;
|
|
6026
|
+
options = {};
|
|
6027
|
+
}
|
|
6028
|
+
|
|
6029
|
+
if (typeof optionsOrCallback === 'function') {
|
|
6030
|
+
callback = optionsOrCallback;
|
|
6031
|
+
options = {};
|
|
6032
|
+
}
|
|
6033
|
+
|
|
6034
|
+
const rootUrl =
|
|
6035
|
+
options.rootUrl || 'https://networkservices.googleapis.com/';
|
|
6036
|
+
const parameters = {
|
|
6037
|
+
options: Object.assign(
|
|
6038
|
+
{
|
|
6039
|
+
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
6040
|
+
method: 'GET',
|
|
6041
|
+
apiVersion: '',
|
|
6042
|
+
},
|
|
6043
|
+
options
|
|
6044
|
+
),
|
|
6045
|
+
params,
|
|
6046
|
+
requiredParams: ['name'],
|
|
6047
|
+
pathParams: ['name'],
|
|
6048
|
+
context: this.context,
|
|
6049
|
+
};
|
|
6050
|
+
if (callback) {
|
|
6051
|
+
createAPIRequest<Schema$LbRouteExtension>(
|
|
6052
|
+
parameters,
|
|
6053
|
+
callback as BodyResponseCallback<unknown>
|
|
6054
|
+
);
|
|
6055
|
+
} else {
|
|
6056
|
+
return createAPIRequest<Schema$LbRouteExtension>(parameters);
|
|
6057
|
+
}
|
|
6058
|
+
}
|
|
6059
|
+
|
|
6060
|
+
/**
|
|
6061
|
+
* Lists `LbRouteExtension` resources in a given project and location.
|
|
6062
|
+
*
|
|
6063
|
+
* @param params - Parameters for request
|
|
6064
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
6065
|
+
* @param callback - Optional callback that handles the response.
|
|
6066
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
6067
|
+
*/
|
|
6068
|
+
list(
|
|
6069
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
|
|
6070
|
+
options: StreamMethodOptions
|
|
6071
|
+
): GaxiosPromise<Readable>;
|
|
6072
|
+
list(
|
|
6073
|
+
params?: Params$Resource$Projects$Locations$Lbrouteextensions$List,
|
|
6074
|
+
options?: MethodOptions
|
|
6075
|
+
): GaxiosPromise<Schema$ListLbRouteExtensionsResponse>;
|
|
6076
|
+
list(
|
|
6077
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
|
|
6078
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
6079
|
+
callback: BodyResponseCallback<Readable>
|
|
6080
|
+
): void;
|
|
6081
|
+
list(
|
|
6082
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
|
|
6083
|
+
options:
|
|
6084
|
+
| MethodOptions
|
|
6085
|
+
| BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>,
|
|
6086
|
+
callback: BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
|
|
6087
|
+
): void;
|
|
6088
|
+
list(
|
|
6089
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$List,
|
|
6090
|
+
callback: BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
|
|
6091
|
+
): void;
|
|
6092
|
+
list(
|
|
6093
|
+
callback: BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
|
|
6094
|
+
): void;
|
|
6095
|
+
list(
|
|
6096
|
+
paramsOrCallback?:
|
|
6097
|
+
| Params$Resource$Projects$Locations$Lbrouteextensions$List
|
|
6098
|
+
| BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
|
|
6099
|
+
| BodyResponseCallback<Readable>,
|
|
6100
|
+
optionsOrCallback?:
|
|
6101
|
+
| MethodOptions
|
|
6102
|
+
| StreamMethodOptions
|
|
6103
|
+
| BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
|
|
6104
|
+
| BodyResponseCallback<Readable>,
|
|
6105
|
+
callback?:
|
|
6106
|
+
| BodyResponseCallback<Schema$ListLbRouteExtensionsResponse>
|
|
6107
|
+
| BodyResponseCallback<Readable>
|
|
6108
|
+
):
|
|
6109
|
+
| void
|
|
6110
|
+
| GaxiosPromise<Schema$ListLbRouteExtensionsResponse>
|
|
6111
|
+
| GaxiosPromise<Readable> {
|
|
6112
|
+
let params = (paramsOrCallback ||
|
|
6113
|
+
{}) as Params$Resource$Projects$Locations$Lbrouteextensions$List;
|
|
6114
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
6115
|
+
|
|
6116
|
+
if (typeof paramsOrCallback === 'function') {
|
|
6117
|
+
callback = paramsOrCallback;
|
|
6118
|
+
params =
|
|
6119
|
+
{} as Params$Resource$Projects$Locations$Lbrouteextensions$List;
|
|
6120
|
+
options = {};
|
|
6121
|
+
}
|
|
6122
|
+
|
|
6123
|
+
if (typeof optionsOrCallback === 'function') {
|
|
6124
|
+
callback = optionsOrCallback;
|
|
6125
|
+
options = {};
|
|
6126
|
+
}
|
|
6127
|
+
|
|
6128
|
+
const rootUrl =
|
|
6129
|
+
options.rootUrl || 'https://networkservices.googleapis.com/';
|
|
6130
|
+
const parameters = {
|
|
6131
|
+
options: Object.assign(
|
|
6132
|
+
{
|
|
6133
|
+
url: (rootUrl + '/v1beta1/{+parent}/lbRouteExtensions').replace(
|
|
6134
|
+
/([^:]\/)\/+/g,
|
|
6135
|
+
'$1'
|
|
6136
|
+
),
|
|
6137
|
+
method: 'GET',
|
|
6138
|
+
apiVersion: '',
|
|
6139
|
+
},
|
|
6140
|
+
options
|
|
6141
|
+
),
|
|
6142
|
+
params,
|
|
6143
|
+
requiredParams: ['parent'],
|
|
6144
|
+
pathParams: ['parent'],
|
|
6145
|
+
context: this.context,
|
|
6146
|
+
};
|
|
6147
|
+
if (callback) {
|
|
6148
|
+
createAPIRequest<Schema$ListLbRouteExtensionsResponse>(
|
|
6149
|
+
parameters,
|
|
6150
|
+
callback as BodyResponseCallback<unknown>
|
|
6151
|
+
);
|
|
6152
|
+
} else {
|
|
6153
|
+
return createAPIRequest<Schema$ListLbRouteExtensionsResponse>(
|
|
6154
|
+
parameters
|
|
6155
|
+
);
|
|
6156
|
+
}
|
|
6157
|
+
}
|
|
6158
|
+
|
|
6159
|
+
/**
|
|
6160
|
+
* Updates the parameters of the specified `LbRouteExtension` resource.
|
|
6161
|
+
*
|
|
6162
|
+
* @param params - Parameters for request
|
|
6163
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
6164
|
+
* @param callback - Optional callback that handles the response.
|
|
6165
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
6166
|
+
*/
|
|
6167
|
+
patch(
|
|
6168
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
|
|
6169
|
+
options: StreamMethodOptions
|
|
6170
|
+
): GaxiosPromise<Readable>;
|
|
6171
|
+
patch(
|
|
6172
|
+
params?: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
|
|
6173
|
+
options?: MethodOptions
|
|
6174
|
+
): GaxiosPromise<Schema$Operation>;
|
|
6175
|
+
patch(
|
|
6176
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
|
|
6177
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
6178
|
+
callback: BodyResponseCallback<Readable>
|
|
6179
|
+
): void;
|
|
6180
|
+
patch(
|
|
6181
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
|
|
6182
|
+
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
6183
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
6184
|
+
): void;
|
|
6185
|
+
patch(
|
|
6186
|
+
params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch,
|
|
6187
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
6188
|
+
): void;
|
|
6189
|
+
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
6190
|
+
patch(
|
|
6191
|
+
paramsOrCallback?:
|
|
6192
|
+
| Params$Resource$Projects$Locations$Lbrouteextensions$Patch
|
|
6193
|
+
| BodyResponseCallback<Schema$Operation>
|
|
6194
|
+
| BodyResponseCallback<Readable>,
|
|
6195
|
+
optionsOrCallback?:
|
|
6196
|
+
| MethodOptions
|
|
6197
|
+
| StreamMethodOptions
|
|
6198
|
+
| BodyResponseCallback<Schema$Operation>
|
|
6199
|
+
| BodyResponseCallback<Readable>,
|
|
6200
|
+
callback?:
|
|
6201
|
+
| BodyResponseCallback<Schema$Operation>
|
|
6202
|
+
| BodyResponseCallback<Readable>
|
|
6203
|
+
): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
|
|
6204
|
+
let params = (paramsOrCallback ||
|
|
6205
|
+
{}) as Params$Resource$Projects$Locations$Lbrouteextensions$Patch;
|
|
6206
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
6207
|
+
|
|
6208
|
+
if (typeof paramsOrCallback === 'function') {
|
|
6209
|
+
callback = paramsOrCallback;
|
|
6210
|
+
params =
|
|
6211
|
+
{} as Params$Resource$Projects$Locations$Lbrouteextensions$Patch;
|
|
6212
|
+
options = {};
|
|
6213
|
+
}
|
|
6214
|
+
|
|
6215
|
+
if (typeof optionsOrCallback === 'function') {
|
|
6216
|
+
callback = optionsOrCallback;
|
|
6217
|
+
options = {};
|
|
6218
|
+
}
|
|
6219
|
+
|
|
6220
|
+
const rootUrl =
|
|
6221
|
+
options.rootUrl || 'https://networkservices.googleapis.com/';
|
|
6222
|
+
const parameters = {
|
|
6223
|
+
options: Object.assign(
|
|
6224
|
+
{
|
|
6225
|
+
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
6226
|
+
method: 'PATCH',
|
|
6227
|
+
apiVersion: '',
|
|
6228
|
+
},
|
|
6229
|
+
options
|
|
6230
|
+
),
|
|
6231
|
+
params,
|
|
6232
|
+
requiredParams: ['name'],
|
|
6233
|
+
pathParams: ['name'],
|
|
6234
|
+
context: this.context,
|
|
6235
|
+
};
|
|
6236
|
+
if (callback) {
|
|
6237
|
+
createAPIRequest<Schema$Operation>(
|
|
6238
|
+
parameters,
|
|
6239
|
+
callback as BodyResponseCallback<unknown>
|
|
6240
|
+
);
|
|
6241
|
+
} else {
|
|
6242
|
+
return createAPIRequest<Schema$Operation>(parameters);
|
|
6243
|
+
}
|
|
6244
|
+
}
|
|
6245
|
+
}
|
|
6246
|
+
|
|
6247
|
+
export interface Params$Resource$Projects$Locations$Lbrouteextensions$Create
|
|
6248
|
+
extends StandardParameters {
|
|
6249
|
+
/**
|
|
6250
|
+
* Required. User-provided ID of the `LbRouteExtension` resource to be created.
|
|
6251
|
+
*/
|
|
6252
|
+
lbRouteExtensionId?: string;
|
|
6253
|
+
/**
|
|
6254
|
+
* Required. The parent resource of the `LbRouteExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
|
|
6255
|
+
*/
|
|
6256
|
+
parent?: string;
|
|
6257
|
+
/**
|
|
6258
|
+
* 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).
|
|
6259
|
+
*/
|
|
6260
|
+
requestId?: string;
|
|
6261
|
+
|
|
6262
|
+
/**
|
|
6263
|
+
* Request body metadata
|
|
6264
|
+
*/
|
|
6265
|
+
requestBody?: Schema$LbRouteExtension;
|
|
6266
|
+
}
|
|
6267
|
+
export interface Params$Resource$Projects$Locations$Lbrouteextensions$Delete
|
|
6268
|
+
extends StandardParameters {
|
|
6269
|
+
/**
|
|
6270
|
+
* Required. The name of the `LbRouteExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
|
|
6271
|
+
*/
|
|
6272
|
+
name?: string;
|
|
6273
|
+
/**
|
|
6274
|
+
* 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).
|
|
6275
|
+
*/
|
|
6276
|
+
requestId?: string;
|
|
6277
|
+
}
|
|
6278
|
+
export interface Params$Resource$Projects$Locations$Lbrouteextensions$Get
|
|
6279
|
+
extends StandardParameters {
|
|
6280
|
+
/**
|
|
6281
|
+
* Required. A name of the `LbRouteExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
|
|
6282
|
+
*/
|
|
6283
|
+
name?: string;
|
|
6284
|
+
}
|
|
6285
|
+
export interface Params$Resource$Projects$Locations$Lbrouteextensions$List
|
|
6286
|
+
extends StandardParameters {
|
|
6287
|
+
/**
|
|
6288
|
+
* Optional. Filtering results.
|
|
6289
|
+
*/
|
|
6290
|
+
filter?: string;
|
|
6291
|
+
/**
|
|
6292
|
+
* Optional. Hint about how to order the results.
|
|
6293
|
+
*/
|
|
6294
|
+
orderBy?: string;
|
|
6295
|
+
/**
|
|
6296
|
+
* Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
|
|
6297
|
+
*/
|
|
6298
|
+
pageSize?: number;
|
|
6299
|
+
/**
|
|
6300
|
+
* Optional. A token identifying a page of results that the server returns.
|
|
6301
|
+
*/
|
|
6302
|
+
pageToken?: string;
|
|
6303
|
+
/**
|
|
6304
|
+
* Required. The project and location from which the `LbRouteExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
|
|
6305
|
+
*/
|
|
6306
|
+
parent?: string;
|
|
6307
|
+
}
|
|
6308
|
+
export interface Params$Resource$Projects$Locations$Lbrouteextensions$Patch
|
|
6309
|
+
extends StandardParameters {
|
|
6310
|
+
/**
|
|
6311
|
+
* Required. Identifier. Name of the `LbRouteExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`.
|
|
6312
|
+
*/
|
|
6313
|
+
name?: string;
|
|
6314
|
+
/**
|
|
6315
|
+
* 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).
|
|
6316
|
+
*/
|
|
6317
|
+
requestId?: string;
|
|
6318
|
+
/**
|
|
6319
|
+
* 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.
|
|
6320
|
+
*/
|
|
6321
|
+
updateMask?: string;
|
|
6322
|
+
|
|
6323
|
+
/**
|
|
6324
|
+
* Request body metadata
|
|
6325
|
+
*/
|
|
6326
|
+
requestBody?: Schema$LbRouteExtension;
|
|
6327
|
+
}
|
|
6328
|
+
|
|
6329
|
+
export class Resource$Projects$Locations$Lbtrafficextensions {
|
|
6330
|
+
context: APIRequestContext;
|
|
6331
|
+
constructor(context: APIRequestContext) {
|
|
6332
|
+
this.context = context;
|
|
6333
|
+
}
|
|
6334
|
+
|
|
6335
|
+
/**
|
|
6336
|
+
* Creates a new `LbTrafficExtension` resource in a given project and location.
|
|
6337
|
+
*
|
|
6338
|
+
* @param params - Parameters for request
|
|
6339
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
6340
|
+
* @param callback - Optional callback that handles the response.
|
|
6341
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
6342
|
+
*/
|
|
6343
|
+
create(
|
|
6344
|
+
params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
|
|
6345
|
+
options: StreamMethodOptions
|
|
6346
|
+
): GaxiosPromise<Readable>;
|
|
6347
|
+
create(
|
|
6348
|
+
params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
|
|
6349
|
+
options?: MethodOptions
|
|
6350
|
+
): GaxiosPromise<Schema$Operation>;
|
|
6351
|
+
create(
|
|
6352
|
+
params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
|
|
6353
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
6354
|
+
callback: BodyResponseCallback<Readable>
|
|
6355
|
+
): void;
|
|
6356
|
+
create(
|
|
6357
|
+
params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
|
|
6358
|
+
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
6359
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
6360
|
+
): void;
|
|
6361
|
+
create(
|
|
6362
|
+
params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create,
|
|
6363
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
6364
|
+
): void;
|
|
6365
|
+
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
6366
|
+
create(
|
|
6367
|
+
paramsOrCallback?:
|
|
6368
|
+
| Params$Resource$Projects$Locations$Lbtrafficextensions$Create
|
|
6369
|
+
| BodyResponseCallback<Schema$Operation>
|
|
6370
|
+
| BodyResponseCallback<Readable>,
|
|
6371
|
+
optionsOrCallback?:
|
|
6372
|
+
| MethodOptions
|
|
6373
|
+
| StreamMethodOptions
|
|
6374
|
+
| BodyResponseCallback<Schema$Operation>
|
|
6375
|
+
| BodyResponseCallback<Readable>,
|
|
6376
|
+
callback?:
|
|
6377
|
+
| BodyResponseCallback<Schema$Operation>
|
|
6378
|
+
| BodyResponseCallback<Readable>
|
|
6379
|
+
): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
|
|
6380
|
+
let params = (paramsOrCallback ||
|
|
6381
|
+
{}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Create;
|
|
6382
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
6383
|
+
|
|
6384
|
+
if (typeof paramsOrCallback === 'function') {
|
|
6385
|
+
callback = paramsOrCallback;
|
|
6386
|
+
params =
|
|
6387
|
+
{} as Params$Resource$Projects$Locations$Lbtrafficextensions$Create;
|
|
6388
|
+
options = {};
|
|
6389
|
+
}
|
|
6390
|
+
|
|
6391
|
+
if (typeof optionsOrCallback === 'function') {
|
|
6392
|
+
callback = optionsOrCallback;
|
|
6393
|
+
options = {};
|
|
6394
|
+
}
|
|
6395
|
+
|
|
6396
|
+
const rootUrl =
|
|
6397
|
+
options.rootUrl || 'https://networkservices.googleapis.com/';
|
|
6398
|
+
const parameters = {
|
|
6399
|
+
options: Object.assign(
|
|
6400
|
+
{
|
|
6401
|
+
url: (rootUrl + '/v1beta1/{+parent}/lbTrafficExtensions').replace(
|
|
6402
|
+
/([^:]\/)\/+/g,
|
|
6403
|
+
'$1'
|
|
6404
|
+
),
|
|
6405
|
+
method: 'POST',
|
|
6406
|
+
apiVersion: '',
|
|
6407
|
+
},
|
|
6408
|
+
options
|
|
6409
|
+
),
|
|
6410
|
+
params,
|
|
6411
|
+
requiredParams: ['parent'],
|
|
6412
|
+
pathParams: ['parent'],
|
|
6413
|
+
context: this.context,
|
|
6414
|
+
};
|
|
6415
|
+
if (callback) {
|
|
6416
|
+
createAPIRequest<Schema$Operation>(
|
|
6417
|
+
parameters,
|
|
6418
|
+
callback as BodyResponseCallback<unknown>
|
|
6419
|
+
);
|
|
6420
|
+
} else {
|
|
6421
|
+
return createAPIRequest<Schema$Operation>(parameters);
|
|
6422
|
+
}
|
|
6423
|
+
}
|
|
6424
|
+
|
|
6425
|
+
/**
|
|
6426
|
+
* Deletes the specified `LbTrafficExtension` resource.
|
|
6427
|
+
*
|
|
6428
|
+
* @param params - Parameters for request
|
|
6429
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
6430
|
+
* @param callback - Optional callback that handles the response.
|
|
6431
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
6432
|
+
*/
|
|
6433
|
+
delete(
|
|
6434
|
+
params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete,
|
|
6435
|
+
options: StreamMethodOptions
|
|
6436
|
+
): GaxiosPromise<Readable>;
|
|
6437
|
+
delete(
|
|
6438
|
+
params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete,
|
|
6439
|
+
options?: MethodOptions
|
|
6440
|
+
): GaxiosPromise<Schema$Operation>;
|
|
6441
|
+
delete(
|
|
6442
|
+
params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete,
|
|
6443
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
6444
|
+
callback: BodyResponseCallback<Readable>
|
|
6445
|
+
): void;
|
|
6446
|
+
delete(
|
|
6447
|
+
params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete,
|
|
6448
|
+
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
6449
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
6450
|
+
): void;
|
|
6451
|
+
delete(
|
|
6452
|
+
params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete,
|
|
6453
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
6454
|
+
): void;
|
|
6455
|
+
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
6456
|
+
delete(
|
|
6457
|
+
paramsOrCallback?:
|
|
6458
|
+
| Params$Resource$Projects$Locations$Lbtrafficextensions$Delete
|
|
6459
|
+
| BodyResponseCallback<Schema$Operation>
|
|
6460
|
+
| BodyResponseCallback<Readable>,
|
|
6461
|
+
optionsOrCallback?:
|
|
6462
|
+
| MethodOptions
|
|
6463
|
+
| StreamMethodOptions
|
|
6464
|
+
| BodyResponseCallback<Schema$Operation>
|
|
6465
|
+
| BodyResponseCallback<Readable>,
|
|
6466
|
+
callback?:
|
|
6467
|
+
| BodyResponseCallback<Schema$Operation>
|
|
6468
|
+
| BodyResponseCallback<Readable>
|
|
6469
|
+
): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
|
|
6470
|
+
let params = (paramsOrCallback ||
|
|
6471
|
+
{}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Delete;
|
|
6472
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
6473
|
+
|
|
6474
|
+
if (typeof paramsOrCallback === 'function') {
|
|
6475
|
+
callback = paramsOrCallback;
|
|
6476
|
+
params =
|
|
6477
|
+
{} as Params$Resource$Projects$Locations$Lbtrafficextensions$Delete;
|
|
6478
|
+
options = {};
|
|
6479
|
+
}
|
|
6480
|
+
|
|
6481
|
+
if (typeof optionsOrCallback === 'function') {
|
|
6482
|
+
callback = optionsOrCallback;
|
|
6483
|
+
options = {};
|
|
6484
|
+
}
|
|
6485
|
+
|
|
6486
|
+
const rootUrl =
|
|
6487
|
+
options.rootUrl || 'https://networkservices.googleapis.com/';
|
|
6488
|
+
const parameters = {
|
|
6489
|
+
options: Object.assign(
|
|
6490
|
+
{
|
|
6491
|
+
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
6492
|
+
method: 'DELETE',
|
|
6493
|
+
apiVersion: '',
|
|
6494
|
+
},
|
|
6495
|
+
options
|
|
6496
|
+
),
|
|
6497
|
+
params,
|
|
6498
|
+
requiredParams: ['name'],
|
|
6499
|
+
pathParams: ['name'],
|
|
6500
|
+
context: this.context,
|
|
6501
|
+
};
|
|
6502
|
+
if (callback) {
|
|
6503
|
+
createAPIRequest<Schema$Operation>(
|
|
6504
|
+
parameters,
|
|
6505
|
+
callback as BodyResponseCallback<unknown>
|
|
6506
|
+
);
|
|
6507
|
+
} else {
|
|
6508
|
+
return createAPIRequest<Schema$Operation>(parameters);
|
|
6509
|
+
}
|
|
6510
|
+
}
|
|
6511
|
+
|
|
6512
|
+
/**
|
|
6513
|
+
* Gets details of the specified `LbTrafficExtension` resource.
|
|
6514
|
+
*
|
|
6515
|
+
* @param params - Parameters for request
|
|
6516
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
6517
|
+
* @param callback - Optional callback that handles the response.
|
|
6518
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
6519
|
+
*/
|
|
6520
|
+
get(
|
|
6521
|
+
params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get,
|
|
6522
|
+
options: StreamMethodOptions
|
|
6523
|
+
): GaxiosPromise<Readable>;
|
|
6524
|
+
get(
|
|
6525
|
+
params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Get,
|
|
6526
|
+
options?: MethodOptions
|
|
6527
|
+
): GaxiosPromise<Schema$LbTrafficExtension>;
|
|
6528
|
+
get(
|
|
6529
|
+
params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get,
|
|
6530
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
6531
|
+
callback: BodyResponseCallback<Readable>
|
|
6532
|
+
): void;
|
|
6533
|
+
get(
|
|
6534
|
+
params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get,
|
|
6535
|
+
options: MethodOptions | BodyResponseCallback<Schema$LbTrafficExtension>,
|
|
6536
|
+
callback: BodyResponseCallback<Schema$LbTrafficExtension>
|
|
6537
|
+
): void;
|
|
6538
|
+
get(
|
|
6539
|
+
params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get,
|
|
6540
|
+
callback: BodyResponseCallback<Schema$LbTrafficExtension>
|
|
6541
|
+
): void;
|
|
6542
|
+
get(callback: BodyResponseCallback<Schema$LbTrafficExtension>): void;
|
|
6543
|
+
get(
|
|
6544
|
+
paramsOrCallback?:
|
|
6545
|
+
| Params$Resource$Projects$Locations$Lbtrafficextensions$Get
|
|
6546
|
+
| BodyResponseCallback<Schema$LbTrafficExtension>
|
|
6547
|
+
| BodyResponseCallback<Readable>,
|
|
6548
|
+
optionsOrCallback?:
|
|
6549
|
+
| MethodOptions
|
|
6550
|
+
| StreamMethodOptions
|
|
6551
|
+
| BodyResponseCallback<Schema$LbTrafficExtension>
|
|
6552
|
+
| BodyResponseCallback<Readable>,
|
|
6553
|
+
callback?:
|
|
6554
|
+
| BodyResponseCallback<Schema$LbTrafficExtension>
|
|
6555
|
+
| BodyResponseCallback<Readable>
|
|
6556
|
+
):
|
|
6557
|
+
| void
|
|
5890
6558
|
| GaxiosPromise<Schema$LbTrafficExtension>
|
|
5891
6559
|
| GaxiosPromise<Readable> {
|
|
5892
6560
|
let params = (paramsOrCallback ||
|
|
@@ -8759,6 +9427,10 @@ export namespace networkservices_v1beta1 {
|
|
|
8759
9427
|
* Required. The project and location from which the TcpRoutes should be listed, specified in the format `projects/x/locations/global`.
|
|
8760
9428
|
*/
|
|
8761
9429
|
parent?: string;
|
|
9430
|
+
/**
|
|
9431
|
+
* 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.
|
|
9432
|
+
*/
|
|
9433
|
+
returnPartialSuccess?: boolean;
|
|
8762
9434
|
}
|
|
8763
9435
|
export interface Params$Resource$Projects$Locations$Tcproutes$Patch
|
|
8764
9436
|
extends StandardParameters {
|
|
@@ -9269,6 +9941,10 @@ export namespace networkservices_v1beta1 {
|
|
|
9269
9941
|
* Required. The project and location from which the TlsRoutes should be listed, specified in the format `projects/x/locations/global`.
|
|
9270
9942
|
*/
|
|
9271
9943
|
parent?: string;
|
|
9944
|
+
/**
|
|
9945
|
+
* 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.
|
|
9946
|
+
*/
|
|
9947
|
+
returnPartialSuccess?: boolean;
|
|
9272
9948
|
}
|
|
9273
9949
|
export interface Params$Resource$Projects$Locations$Tlsroutes$Patch
|
|
9274
9950
|
extends StandardParameters {
|