@googleapis/networkservices 19.1.0 → 22.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/CHANGELOG.md +48 -0
- package/build/v1.d.ts +1012 -201
- package/build/v1.js +569 -48
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +674 -206
- package/build/v1beta1.js +386 -34
- package/build/v1beta1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +3927 -1943
- package/v1beta1.ts +1808 -552
package/build/v1.d.ts
CHANGED
|
@@ -97,6 +97,67 @@ export declare namespace networkservices_v1 {
|
|
|
97
97
|
*/
|
|
98
98
|
logType?: string | null;
|
|
99
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an authorization decision.
|
|
102
|
+
*/
|
|
103
|
+
export interface Schema$AuthzExtension {
|
|
104
|
+
/**
|
|
105
|
+
* Required. The `:authority` header in the gRPC request sent from Envoy to the extension service.
|
|
106
|
+
*/
|
|
107
|
+
authority?: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* Output only. The timestamp when the resource was created.
|
|
110
|
+
*/
|
|
111
|
+
createTime?: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* Optional. A human-readable description of the resource.
|
|
114
|
+
*/
|
|
115
|
+
description?: string | null;
|
|
116
|
+
/**
|
|
117
|
+
* Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset.
|
|
118
|
+
*/
|
|
119
|
+
failOpen?: boolean | null;
|
|
120
|
+
/**
|
|
121
|
+
* Optional. List of the HTTP headers to forward to the extension (from the client). If omitted, all headers are sent. Each element is a string indicating the header name.
|
|
122
|
+
*/
|
|
123
|
+
forwardHeaders?: string[] | null;
|
|
124
|
+
/**
|
|
125
|
+
* Optional. Set of labels associated with the `AuthzExtension` resource. The format must comply with [the requirements for labels](/compute/docs/labeling-resources#requirements) for Google Cloud resources.
|
|
126
|
+
*/
|
|
127
|
+
labels?: {
|
|
128
|
+
[key: string]: string;
|
|
129
|
+
} | null;
|
|
130
|
+
/**
|
|
131
|
+
* Required. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).
|
|
132
|
+
*/
|
|
133
|
+
loadBalancingScheme?: string | null;
|
|
134
|
+
/**
|
|
135
|
+
* 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.authz_extension.`. The following variables are supported in the metadata Struct: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name.
|
|
136
|
+
*/
|
|
137
|
+
metadata?: {
|
|
138
|
+
[key: string]: any;
|
|
139
|
+
} | null;
|
|
140
|
+
/**
|
|
141
|
+
* Required. Identifier. Name of the `AuthzExtension` resource in the following format: `projects/{project\}/locations/{location\}/authzExtensions/{authz_extension\}`.
|
|
142
|
+
*/
|
|
143
|
+
name?: string | null;
|
|
144
|
+
/**
|
|
145
|
+
* 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\}`.
|
|
146
|
+
*/
|
|
147
|
+
service?: string | null;
|
|
148
|
+
/**
|
|
149
|
+
* Required. Specifies the timeout for each individual message on the stream. The timeout must be between 10-10000 milliseconds.
|
|
150
|
+
*/
|
|
151
|
+
timeout?: string | null;
|
|
152
|
+
/**
|
|
153
|
+
* Output only. The timestamp when the resource was updated.
|
|
154
|
+
*/
|
|
155
|
+
updateTime?: string | null;
|
|
156
|
+
/**
|
|
157
|
+
* Optional. The format of communication supported by the callout extension. If not specified, the default is `EXT_PROC_GRPC`.
|
|
158
|
+
*/
|
|
159
|
+
wireFormat?: string | null;
|
|
160
|
+
}
|
|
100
161
|
/**
|
|
101
162
|
* Associates `members`, or principals, with a `role`.
|
|
102
163
|
*/
|
|
@@ -253,7 +314,7 @@ export declare namespace networkservices_v1 {
|
|
|
253
314
|
*/
|
|
254
315
|
export interface Schema$ExtensionChainExtension {
|
|
255
316
|
/**
|
|
256
|
-
* Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions.
|
|
317
|
+
* 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.
|
|
257
318
|
*/
|
|
258
319
|
authority?: string | null;
|
|
259
320
|
/**
|
|
@@ -264,20 +325,26 @@ export declare namespace networkservices_v1 {
|
|
|
264
325
|
* Optional. List of the HTTP headers to forward to the extension (from the client or backend). If omitted, all headers are sent. Each element is a string indicating the header name.
|
|
265
326
|
*/
|
|
266
327
|
forwardHeaders?: string[] | null;
|
|
328
|
+
/**
|
|
329
|
+
* Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google....`. For example: `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are supported in the metadata: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name. This field is not supported for plugin extensions. Setting it results in a validation error.
|
|
330
|
+
*/
|
|
331
|
+
metadata?: {
|
|
332
|
+
[key: string]: any;
|
|
333
|
+
} | null;
|
|
267
334
|
/**
|
|
268
335
|
* 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.
|
|
269
336
|
*/
|
|
270
337
|
name?: string | null;
|
|
271
338
|
/**
|
|
272
|
-
* Required. The reference to the service that runs the extension.
|
|
339
|
+
* 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.
|
|
273
340
|
*/
|
|
274
341
|
service?: string | null;
|
|
275
342
|
/**
|
|
276
|
-
* Optional. A set of events during request or response processing for which this extension is called. This field is required for the `LbTrafficExtension` resource. It must not be set for the `LbRouteExtension` resource.
|
|
343
|
+
* Optional. A set of events during request or response processing for which this extension is called. This field is required for the `LbTrafficExtension` resource. It must not be set for the `LbRouteExtension` resource, otherwise a validation error is returned.
|
|
277
344
|
*/
|
|
278
345
|
supportedEvents?: string[] | null;
|
|
279
346
|
/**
|
|
280
|
-
* Optional. Specifies the timeout for each individual message on the stream. The timeout must be between 10
|
|
347
|
+
* Optional. Specifies the timeout for each individual message on the stream. The timeout must be between `10`-`1000` milliseconds. Required for callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error.
|
|
281
348
|
*/
|
|
282
349
|
timeout?: string | null;
|
|
283
350
|
}
|
|
@@ -291,7 +358,7 @@ export declare namespace networkservices_v1 {
|
|
|
291
358
|
celExpression?: string | null;
|
|
292
359
|
}
|
|
293
360
|
/**
|
|
294
|
-
* Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which the services are exposed by the proxy, along with any policy configurations. Routes have reference to to Gateways to dictate how requests should be routed by this Gateway.
|
|
361
|
+
* Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which the services are exposed by the proxy, along with any policy configurations. Routes have reference to to Gateways to dictate how requests should be routed by this Gateway.
|
|
295
362
|
*/
|
|
296
363
|
export interface Schema$Gateway {
|
|
297
364
|
/**
|
|
@@ -345,7 +412,7 @@ export declare namespace networkservices_v1 {
|
|
|
345
412
|
*/
|
|
346
413
|
routingMode?: string | null;
|
|
347
414
|
/**
|
|
348
|
-
* Optional. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single
|
|
415
|
+
* Optional. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single configuration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
|
|
349
416
|
*/
|
|
350
417
|
scope?: string | null;
|
|
351
418
|
/**
|
|
@@ -369,6 +436,31 @@ export declare namespace networkservices_v1 {
|
|
|
369
436
|
*/
|
|
370
437
|
updateTime?: string | null;
|
|
371
438
|
}
|
|
439
|
+
/**
|
|
440
|
+
* GatewayRouteView defines view-only resource for Routes to a Gateway
|
|
441
|
+
*/
|
|
442
|
+
export interface Schema$GatewayRouteView {
|
|
443
|
+
/**
|
|
444
|
+
* Output only. Identifier. Full path name of the GatewayRouteView resource. Format: projects/{project_number\}/locations/{location\}/gateways/{gateway_name\}/routeViews/{route_view_name\}
|
|
445
|
+
*/
|
|
446
|
+
name?: string | null;
|
|
447
|
+
/**
|
|
448
|
+
* Output only. The resource id for the route.
|
|
449
|
+
*/
|
|
450
|
+
routeId?: string | null;
|
|
451
|
+
/**
|
|
452
|
+
* Output only. Location where the route exists.
|
|
453
|
+
*/
|
|
454
|
+
routeLocation?: string | null;
|
|
455
|
+
/**
|
|
456
|
+
* Output only. Project number where the route exists.
|
|
457
|
+
*/
|
|
458
|
+
routeProjectNumber?: string | null;
|
|
459
|
+
/**
|
|
460
|
+
* Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute
|
|
461
|
+
*/
|
|
462
|
+
routeType?: string | null;
|
|
463
|
+
}
|
|
372
464
|
/**
|
|
373
465
|
* GrpcRoute is the resource defining how gRPC traffic routed by a Mesh or Gateway resource is routed.
|
|
374
466
|
*/
|
|
@@ -381,6 +473,10 @@ export declare namespace networkservices_v1 {
|
|
|
381
473
|
* Optional. A free-text description of the resource. Max length 1024 characters.
|
|
382
474
|
*/
|
|
383
475
|
description?: string | null;
|
|
476
|
+
/**
|
|
477
|
+
* Optional. Output only. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
|
|
478
|
+
*/
|
|
479
|
+
etag?: string | null;
|
|
384
480
|
/**
|
|
385
481
|
* 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/`
|
|
386
482
|
*/
|
|
@@ -595,6 +691,10 @@ export declare namespace networkservices_v1 {
|
|
|
595
691
|
* Optional. A free-text description of the resource. Max length 1024 characters.
|
|
596
692
|
*/
|
|
597
693
|
description?: string | null;
|
|
694
|
+
/**
|
|
695
|
+
* Optional. Output only. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
|
|
696
|
+
*/
|
|
697
|
+
etag?: string | null;
|
|
598
698
|
/**
|
|
599
699
|
* 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/`
|
|
600
700
|
*/
|
|
@@ -1037,7 +1137,7 @@ export declare namespace networkservices_v1 {
|
|
|
1037
1137
|
*/
|
|
1038
1138
|
extensionChains?: Schema$ExtensionChain[];
|
|
1039
1139
|
/**
|
|
1040
|
-
* Required. A list of references to the forwarding rules to which this service extension is attached
|
|
1140
|
+
* Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. There can be only one `LbRouteExtension` resource per forwarding rule.
|
|
1041
1141
|
*/
|
|
1042
1142
|
forwardingRules?: string[] | null;
|
|
1043
1143
|
/**
|
|
@@ -1047,11 +1147,11 @@ export declare namespace networkservices_v1 {
|
|
|
1047
1147
|
[key: string]: string;
|
|
1048
1148
|
} | null;
|
|
1049
1149
|
/**
|
|
1050
|
-
* Required. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to [
|
|
1150
|
+
* Required. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).
|
|
1051
1151
|
*/
|
|
1052
1152
|
loadBalancingScheme?: string | null;
|
|
1053
1153
|
/**
|
|
1054
|
-
* Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google.lb_route_extension.`. The following variables are supported in the metadata Struct: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name.
|
|
1154
|
+
* Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google.lb_route_extension.`. The following variables are supported in the metadata Struct: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name. This field is not supported for plugin extensions. Setting it results in a validation error.
|
|
1055
1155
|
*/
|
|
1056
1156
|
metadata?: {
|
|
1057
1157
|
[key: string]: any;
|
|
@@ -1082,7 +1182,7 @@ export declare namespace networkservices_v1 {
|
|
|
1082
1182
|
*/
|
|
1083
1183
|
extensionChains?: Schema$ExtensionChain[];
|
|
1084
1184
|
/**
|
|
1085
|
-
*
|
|
1185
|
+
* Optional. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. There can be only one `LBTrafficExtension` resource per forwarding rule.
|
|
1086
1186
|
*/
|
|
1087
1187
|
forwardingRules?: string[] | null;
|
|
1088
1188
|
/**
|
|
@@ -1092,11 +1192,11 @@ export declare namespace networkservices_v1 {
|
|
|
1092
1192
|
[key: string]: string;
|
|
1093
1193
|
} | null;
|
|
1094
1194
|
/**
|
|
1095
|
-
* Required. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to [
|
|
1195
|
+
* Required. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).
|
|
1096
1196
|
*/
|
|
1097
1197
|
loadBalancingScheme?: string | null;
|
|
1098
1198
|
/**
|
|
1099
|
-
* Optional. The metadata provided here is included in the `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata is available under the key `com.google.lb_traffic_extension.`. The following variables are supported in the metadata: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name.
|
|
1199
|
+
* Optional. The metadata provided here is included in the `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata is available under the key `com.google.lb_traffic_extension.`. The following variables are supported in the metadata: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name. This field is not supported for plugin extensions. Setting it results in a validation error.
|
|
1100
1200
|
*/
|
|
1101
1201
|
metadata?: {
|
|
1102
1202
|
[key: string]: any;
|
|
@@ -1110,6 +1210,23 @@ export declare namespace networkservices_v1 {
|
|
|
1110
1210
|
*/
|
|
1111
1211
|
updateTime?: string | null;
|
|
1112
1212
|
}
|
|
1213
|
+
/**
|
|
1214
|
+
* Message for response to listing `AuthzExtension` resources.
|
|
1215
|
+
*/
|
|
1216
|
+
export interface Schema$ListAuthzExtensionsResponse {
|
|
1217
|
+
/**
|
|
1218
|
+
* The list of `AuthzExtension` resources.
|
|
1219
|
+
*/
|
|
1220
|
+
authzExtensions?: Schema$AuthzExtension[];
|
|
1221
|
+
/**
|
|
1222
|
+
* A token identifying a page of results that the server returns.
|
|
1223
|
+
*/
|
|
1224
|
+
nextPageToken?: string | null;
|
|
1225
|
+
/**
|
|
1226
|
+
* Locations that could not be reached.
|
|
1227
|
+
*/
|
|
1228
|
+
unreachable?: string[] | null;
|
|
1229
|
+
}
|
|
1113
1230
|
/**
|
|
1114
1231
|
* Response returned by the ListEndpointPolicies method.
|
|
1115
1232
|
*/
|
|
@@ -1123,6 +1240,19 @@ export declare namespace networkservices_v1 {
|
|
|
1123
1240
|
*/
|
|
1124
1241
|
nextPageToken?: string | null;
|
|
1125
1242
|
}
|
|
1243
|
+
/**
|
|
1244
|
+
* Response returned by the ListGatewayRouteViews method.
|
|
1245
|
+
*/
|
|
1246
|
+
export interface Schema$ListGatewayRouteViewsResponse {
|
|
1247
|
+
/**
|
|
1248
|
+
* List of GatewayRouteView resources.
|
|
1249
|
+
*/
|
|
1250
|
+
gatewayRouteViews?: Schema$GatewayRouteView[];
|
|
1251
|
+
/**
|
|
1252
|
+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
|
1253
|
+
*/
|
|
1254
|
+
nextPageToken?: string | null;
|
|
1255
|
+
}
|
|
1126
1256
|
/**
|
|
1127
1257
|
* Response returned by the ListGateways method.
|
|
1128
1258
|
*/
|
|
@@ -1226,6 +1356,19 @@ export declare namespace networkservices_v1 {
|
|
|
1226
1356
|
*/
|
|
1227
1357
|
nextPageToken?: string | null;
|
|
1228
1358
|
}
|
|
1359
|
+
/**
|
|
1360
|
+
* Response returned by the ListMeshRouteViews method.
|
|
1361
|
+
*/
|
|
1362
|
+
export interface Schema$ListMeshRouteViewsResponse {
|
|
1363
|
+
/**
|
|
1364
|
+
* List of MeshRouteView resources.
|
|
1365
|
+
*/
|
|
1366
|
+
meshRouteViews?: Schema$MeshRouteView[];
|
|
1367
|
+
/**
|
|
1368
|
+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
|
1369
|
+
*/
|
|
1370
|
+
nextPageToken?: string | null;
|
|
1371
|
+
}
|
|
1229
1372
|
/**
|
|
1230
1373
|
* The response message for Operations.ListOperations.
|
|
1231
1374
|
*/
|
|
@@ -1291,6 +1434,32 @@ export declare namespace networkservices_v1 {
|
|
|
1291
1434
|
*/
|
|
1292
1435
|
tlsRoutes?: Schema$TlsRoute[];
|
|
1293
1436
|
}
|
|
1437
|
+
/**
|
|
1438
|
+
* Response returned by the `ListWasmPlugins` method.
|
|
1439
|
+
*/
|
|
1440
|
+
export interface Schema$ListWasmPluginsResponse {
|
|
1441
|
+
/**
|
|
1442
|
+
* 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`.
|
|
1443
|
+
*/
|
|
1444
|
+
nextPageToken?: string | null;
|
|
1445
|
+
/**
|
|
1446
|
+
* List of `WasmPlugin` resources.
|
|
1447
|
+
*/
|
|
1448
|
+
wasmPlugins?: Schema$WasmPlugin[];
|
|
1449
|
+
}
|
|
1450
|
+
/**
|
|
1451
|
+
* Response returned by the `ListWasmPluginVersions` method.
|
|
1452
|
+
*/
|
|
1453
|
+
export interface Schema$ListWasmPluginVersionsResponse {
|
|
1454
|
+
/**
|
|
1455
|
+
* 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`.
|
|
1456
|
+
*/
|
|
1457
|
+
nextPageToken?: string | null;
|
|
1458
|
+
/**
|
|
1459
|
+
* List of `WasmPluginVersion` resources.
|
|
1460
|
+
*/
|
|
1461
|
+
wasmPluginVersions?: Schema$WasmPluginVersion[];
|
|
1462
|
+
}
|
|
1294
1463
|
/**
|
|
1295
1464
|
* A resource that represents a Google Cloud location.
|
|
1296
1465
|
*/
|
|
@@ -1320,6 +1489,15 @@ export declare namespace networkservices_v1 {
|
|
|
1320
1489
|
*/
|
|
1321
1490
|
name?: string | null;
|
|
1322
1491
|
}
|
|
1492
|
+
/**
|
|
1493
|
+
* The configuration for Platform Telemetry logging for Eventarc Advanced resources.
|
|
1494
|
+
*/
|
|
1495
|
+
export interface Schema$LoggingConfig {
|
|
1496
|
+
/**
|
|
1497
|
+
* Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE.
|
|
1498
|
+
*/
|
|
1499
|
+
logSeverity?: string | null;
|
|
1500
|
+
}
|
|
1323
1501
|
/**
|
|
1324
1502
|
* Mesh represents a logical configuration grouping for workload to workload communication within a service mesh. Routes that point to mesh dictate how requests are routed within this logical mesh boundary.
|
|
1325
1503
|
*/
|
|
@@ -1359,6 +1537,31 @@ export declare namespace networkservices_v1 {
|
|
|
1359
1537
|
*/
|
|
1360
1538
|
updateTime?: string | null;
|
|
1361
1539
|
}
|
|
1540
|
+
/**
|
|
1541
|
+
* MeshRouteView defines view-only resource for Routes to a Mesh
|
|
1542
|
+
*/
|
|
1543
|
+
export interface Schema$MeshRouteView {
|
|
1544
|
+
/**
|
|
1545
|
+
* Output only. Identifier. Full path name of the MeshRouteView resource. Format: projects/{project_number\}/locations/{location\}/meshes/{mesh_name\}/routeViews/{route_view_name\}
|
|
1546
|
+
*/
|
|
1547
|
+
name?: string | null;
|
|
1548
|
+
/**
|
|
1549
|
+
* Output only. The resource id for the route.
|
|
1550
|
+
*/
|
|
1551
|
+
routeId?: string | null;
|
|
1552
|
+
/**
|
|
1553
|
+
* Output only. Location where the route exists.
|
|
1554
|
+
*/
|
|
1555
|
+
routeLocation?: string | null;
|
|
1556
|
+
/**
|
|
1557
|
+
* Output only. Project number where the route exists.
|
|
1558
|
+
*/
|
|
1559
|
+
routeProjectNumber?: string | null;
|
|
1560
|
+
/**
|
|
1561
|
+
* Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute
|
|
1562
|
+
*/
|
|
1563
|
+
routeType?: string | null;
|
|
1564
|
+
}
|
|
1362
1565
|
/**
|
|
1363
1566
|
* This resource represents a long-running operation that is the result of a network API call.
|
|
1364
1567
|
*/
|
|
@@ -1442,6 +1645,12 @@ export declare namespace networkservices_v1 {
|
|
|
1442
1645
|
*/
|
|
1443
1646
|
version?: number | null;
|
|
1444
1647
|
}
|
|
1648
|
+
export interface Schema$RetryFilterPerRouteConfig {
|
|
1649
|
+
/**
|
|
1650
|
+
* The name of the crypto key to use for encrypting event data.
|
|
1651
|
+
*/
|
|
1652
|
+
cryptoKeyName?: string | null;
|
|
1653
|
+
}
|
|
1445
1654
|
/**
|
|
1446
1655
|
* ServiceBinding is the resource that defines a Service Directory Service to be used in a BackendService resource.
|
|
1447
1656
|
*/
|
|
@@ -1508,7 +1717,7 @@ export declare namespace networkservices_v1 {
|
|
|
1508
1717
|
*/
|
|
1509
1718
|
loadBalancingAlgorithm?: string | null;
|
|
1510
1719
|
/**
|
|
1511
|
-
*
|
|
1720
|
+
* Identifier. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project\}/locations/{location\}/serviceLbPolicies/{service_lb_policy_name\}`.
|
|
1512
1721
|
*/
|
|
1513
1722
|
name?: string | null;
|
|
1514
1723
|
/**
|
|
@@ -1578,6 +1787,10 @@ export declare namespace networkservices_v1 {
|
|
|
1578
1787
|
* Optional. A free-text description of the resource. Max length 1024 characters.
|
|
1579
1788
|
*/
|
|
1580
1789
|
description?: string | null;
|
|
1790
|
+
/**
|
|
1791
|
+
* Optional. Output only. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
|
|
1792
|
+
*/
|
|
1793
|
+
etag?: string | null;
|
|
1581
1794
|
/**
|
|
1582
1795
|
* 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/`
|
|
1583
1796
|
*/
|
|
@@ -1695,6 +1908,10 @@ export declare namespace networkservices_v1 {
|
|
|
1695
1908
|
* Optional. A free-text description of the resource. Max length 1024 characters.
|
|
1696
1909
|
*/
|
|
1697
1910
|
description?: string | null;
|
|
1911
|
+
/**
|
|
1912
|
+
* Optional. Output only. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
|
|
1913
|
+
*/
|
|
1914
|
+
etag?: string | null;
|
|
1698
1915
|
/**
|
|
1699
1916
|
* 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/`
|
|
1700
1917
|
*/
|
|
@@ -1787,116 +2004,427 @@ export declare namespace networkservices_v1 {
|
|
|
1787
2004
|
*/
|
|
1788
2005
|
ports?: string[] | null;
|
|
1789
2006
|
}
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
}
|
|
1795
|
-
export class Resource$Projects$Locations {
|
|
1796
|
-
context: APIRequestContext;
|
|
1797
|
-
edgeCacheKeysets: Resource$Projects$Locations$Edgecachekeysets;
|
|
1798
|
-
edgeCacheOrigins: Resource$Projects$Locations$Edgecacheorigins;
|
|
1799
|
-
edgeCacheServices: Resource$Projects$Locations$Edgecacheservices;
|
|
1800
|
-
endpointPolicies: Resource$Projects$Locations$Endpointpolicies;
|
|
1801
|
-
gateways: Resource$Projects$Locations$Gateways;
|
|
1802
|
-
grpcRoutes: Resource$Projects$Locations$Grpcroutes;
|
|
1803
|
-
httpRoutes: Resource$Projects$Locations$Httproutes;
|
|
1804
|
-
lbRouteExtensions: Resource$Projects$Locations$Lbrouteextensions;
|
|
1805
|
-
lbTrafficExtensions: Resource$Projects$Locations$Lbtrafficextensions;
|
|
1806
|
-
meshes: Resource$Projects$Locations$Meshes;
|
|
1807
|
-
operations: Resource$Projects$Locations$Operations;
|
|
1808
|
-
serviceBindings: Resource$Projects$Locations$Servicebindings;
|
|
1809
|
-
serviceLbPolicies: Resource$Projects$Locations$Servicelbpolicies;
|
|
1810
|
-
tcpRoutes: Resource$Projects$Locations$Tcproutes;
|
|
1811
|
-
tlsRoutes: Resource$Projects$Locations$Tlsroutes;
|
|
1812
|
-
constructor(context: APIRequestContext);
|
|
2007
|
+
/**
|
|
2008
|
+
* `WasmPlugin` is a resource representing a service executing a customer-provided Wasm module.
|
|
2009
|
+
*/
|
|
2010
|
+
export interface Schema$WasmPlugin {
|
|
1813
2011
|
/**
|
|
1814
|
-
*
|
|
1815
|
-
*
|
|
1816
|
-
* @param params - Parameters for request
|
|
1817
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1818
|
-
* @param callback - Optional callback that handles the response.
|
|
1819
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2012
|
+
* Output only. The timestamp when the resource was created.
|
|
1820
2013
|
*/
|
|
1821
|
-
|
|
1822
|
-
get(params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions): GaxiosPromise<Schema$Location>;
|
|
1823
|
-
get(params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1824
|
-
get(params: Params$Resource$Projects$Locations$Get, options: MethodOptions | BodyResponseCallback<Schema$Location>, callback: BodyResponseCallback<Schema$Location>): void;
|
|
1825
|
-
get(params: Params$Resource$Projects$Locations$Get, callback: BodyResponseCallback<Schema$Location>): void;
|
|
1826
|
-
get(callback: BodyResponseCallback<Schema$Location>): void;
|
|
2014
|
+
createTime?: string | null;
|
|
1827
2015
|
/**
|
|
1828
|
-
*
|
|
1829
|
-
*
|
|
1830
|
-
* @param params - Parameters for request
|
|
1831
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1832
|
-
* @param callback - Optional callback that handles the response.
|
|
1833
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2016
|
+
* Optional. A human-readable description of the resource.
|
|
1834
2017
|
*/
|
|
1835
|
-
|
|
1836
|
-
list(params?: Params$Resource$Projects$Locations$List, options?: MethodOptions): GaxiosPromise<Schema$ListLocationsResponse>;
|
|
1837
|
-
list(params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1838
|
-
list(params: Params$Resource$Projects$Locations$List, options: MethodOptions | BodyResponseCallback<Schema$ListLocationsResponse>, callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
|
|
1839
|
-
list(params: Params$Resource$Projects$Locations$List, callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
|
|
1840
|
-
list(callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
|
|
1841
|
-
}
|
|
1842
|
-
export interface Params$Resource$Projects$Locations$Get extends StandardParameters {
|
|
2018
|
+
description?: string | null;
|
|
1843
2019
|
/**
|
|
1844
|
-
*
|
|
2020
|
+
* Optional. Set of labels associated with the `WasmPlugin` resource. The format must comply with [the following requirements](/compute/docs/labeling-resources#requirements).
|
|
1845
2021
|
*/
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
2022
|
+
labels?: {
|
|
2023
|
+
[key: string]: string;
|
|
2024
|
+
} | null;
|
|
1849
2025
|
/**
|
|
1850
|
-
*
|
|
2026
|
+
* Optional. Specifies the logging options for the activity performed by this plugin. If logging is enabled, plugin logs are exported to Cloud Logging. Note that the settings relate to the logs generated by using logging statements in your Wasm code.
|
|
1851
2027
|
*/
|
|
1852
|
-
|
|
2028
|
+
logConfig?: Schema$WasmPluginLogConfig;
|
|
1853
2029
|
/**
|
|
1854
|
-
* The resource that
|
|
2030
|
+
* Optional. The ID of the `WasmPluginVersion` resource that is the currently serving one. The version referred to must be a child of this `WasmPlugin` resource.
|
|
1855
2031
|
*/
|
|
1856
|
-
|
|
2032
|
+
mainVersionId?: string | null;
|
|
1857
2033
|
/**
|
|
1858
|
-
*
|
|
2034
|
+
* Identifier. Name of the `WasmPlugin` resource in the following format: `projects/{project\}/locations/{location\}/wasmPlugins/{wasm_plugin\}`.
|
|
1859
2035
|
*/
|
|
1860
|
-
|
|
2036
|
+
name?: string | null;
|
|
1861
2037
|
/**
|
|
1862
|
-
*
|
|
2038
|
+
* Output only. The timestamp when the resource was updated.
|
|
1863
2039
|
*/
|
|
1864
|
-
|
|
1865
|
-
}
|
|
1866
|
-
export class Resource$Projects$Locations$Edgecachekeysets {
|
|
1867
|
-
context: APIRequestContext;
|
|
1868
|
-
constructor(context: APIRequestContext);
|
|
2040
|
+
updateTime?: string | null;
|
|
1869
2041
|
/**
|
|
1870
|
-
*
|
|
1871
|
-
*
|
|
1872
|
-
* @param params - Parameters for request
|
|
1873
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1874
|
-
* @param callback - Optional callback that handles the response.
|
|
1875
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2042
|
+
* Output only. List of all [extensions](https://cloud.google.com/service-extensions/docs/overview) that use this `WasmPlugin` resource.
|
|
1876
2043
|
*/
|
|
1877
|
-
|
|
1878
|
-
getIamPolicy(params?: Params$Resource$Projects$Locations$Edgecachekeysets$Getiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
|
|
1879
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Edgecachekeysets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1880
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Edgecachekeysets$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
1881
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Edgecachekeysets$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
1882
|
-
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2044
|
+
usedBy?: Schema$WasmPluginUsedBy[];
|
|
1883
2045
|
/**
|
|
1884
|
-
*
|
|
1885
|
-
*
|
|
1886
|
-
* @param params - Parameters for request
|
|
1887
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1888
|
-
* @param callback - Optional callback that handles the response.
|
|
1889
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2046
|
+
* Optional. All versions of this `WasmPlugin` resource in the key-value format. The key is the resource ID, and the value is the `VersionDetails` object. Lets you create or update a `WasmPlugin` resource and its versions in a single request. When the `main_version_id` field is not empty, it must point to one of the `VersionDetails` objects in the map. If provided in a `PATCH` request, the new versions replace the previous set. Any version omitted from the `versions` field is removed. Because the `WasmPluginVersion` resource is immutable, if a `WasmPluginVersion` resource with the same name already exists and differs, the request fails. Note: In a `GET` request, this field is populated only if the field `GetWasmPluginRequest.view` is set to `WASM_PLUGIN_VIEW_FULL`.
|
|
1890
2047
|
*/
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
2048
|
+
versions?: {
|
|
2049
|
+
[key: string]: Schema$WasmPluginVersionDetails;
|
|
2050
|
+
} | null;
|
|
2051
|
+
}
|
|
2052
|
+
/**
|
|
2053
|
+
* Specifies the logging options for the activity performed by this plugin. If logging is enabled, plugin logs are exported to Cloud Logging.
|
|
2054
|
+
*/
|
|
2055
|
+
export interface Schema$WasmPluginLogConfig {
|
|
1897
2056
|
/**
|
|
1898
|
-
*
|
|
1899
|
-
|
|
2057
|
+
* Optional. Specifies whether to enable logging for activity by this plugin. Defaults to `false`.
|
|
2058
|
+
*/
|
|
2059
|
+
enable?: boolean | null;
|
|
2060
|
+
/**
|
|
2061
|
+
* Non-empty default. Specificies the lowest level of the plugin logs that are exported to Cloud Logging. This setting relates to the logs generated by using logging statements in your Wasm code. This field is can be set only if logging is enabled for the plugin. If the field is not provided when logging is enabled, it is set to `INFO` by default.
|
|
2062
|
+
*/
|
|
2063
|
+
minLogLevel?: string | null;
|
|
2064
|
+
/**
|
|
2065
|
+
* Non-empty default. Configures the sampling rate of activity logs, where `1.0` means all logged activity is reported and `0.0` means no activity is reported. A floating point value between `0.0` and `1.0` indicates that a percentage of log messages is stored. The default value when logging is enabled is `1.0`. The value of the field must be between `0` and `1` (inclusive). This field can be specified only if logging is enabled for this plugin.
|
|
2066
|
+
*/
|
|
2067
|
+
sampleRate?: number | null;
|
|
2068
|
+
}
|
|
2069
|
+
/**
|
|
2070
|
+
* Defines a resource that uses the `WasmPlugin` resource.
|
|
2071
|
+
*/
|
|
2072
|
+
export interface Schema$WasmPluginUsedBy {
|
|
2073
|
+
/**
|
|
2074
|
+
* Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, for example `//networkservices.googleapis.com/projects/{project\}/locations/{location\}/lbRouteExtensions/{extension\}`
|
|
2075
|
+
*/
|
|
2076
|
+
name?: string | null;
|
|
2077
|
+
}
|
|
2078
|
+
/**
|
|
2079
|
+
* A single immutable version of a `WasmPlugin` resource. Defines the Wasm module used and optionally its runtime config.
|
|
2080
|
+
*/
|
|
2081
|
+
export interface Schema$WasmPluginVersion {
|
|
2082
|
+
/**
|
|
2083
|
+
* Output only. The timestamp when the resource was created.
|
|
2084
|
+
*/
|
|
2085
|
+
createTime?: string | null;
|
|
2086
|
+
/**
|
|
2087
|
+
* Optional. A human-readable description of the resource.
|
|
2088
|
+
*/
|
|
2089
|
+
description?: string | null;
|
|
2090
|
+
/**
|
|
2091
|
+
* Output only. The resolved digest for the image specified in the `image` field. The digest is resolved during the creation of `WasmPluginVersion` resource. This field holds the digest value, regardless of whether a tag or digest was originally specified in the `image` field.
|
|
2092
|
+
*/
|
|
2093
|
+
imageDigest?: string | null;
|
|
2094
|
+
/**
|
|
2095
|
+
* Optional. URI of the container image containing the plugin, stored in the Artifact Registry. When a new `WasmPluginVersion` resource is created, the digest of the container image is saved in the `image_digest` field. When downloading an image, the digest value is used instead of an image tag.
|
|
2096
|
+
*/
|
|
2097
|
+
imageUri?: string | null;
|
|
2098
|
+
/**
|
|
2099
|
+
* Optional. Set of labels associated with the `WasmPluginVersion` resource.
|
|
2100
|
+
*/
|
|
2101
|
+
labels?: {
|
|
2102
|
+
[key: string]: string;
|
|
2103
|
+
} | null;
|
|
2104
|
+
/**
|
|
2105
|
+
* Identifier. Name of the `WasmPluginVersion` resource in the following format: `projects/{project\}/locations/{location\}/wasmPlugins/{wasm_plugin\}/ versions/{wasm_plugin_version\}`.
|
|
2106
|
+
*/
|
|
2107
|
+
name?: string | null;
|
|
2108
|
+
/**
|
|
2109
|
+
* Configuration for the plugin. The configuration is provided to the plugin at runtime through the `ON_CONFIGURE` callback. When a new `WasmPluginVersion` resource is created, the digest of the contents is saved in the `plugin_config_digest` field.
|
|
2110
|
+
*/
|
|
2111
|
+
pluginConfigData?: string | null;
|
|
2112
|
+
/**
|
|
2113
|
+
* Output only. This field holds the digest (usually checksum) value for the plugin configuration. The value is calculated based on the contents of `plugin_config_data` or the container image defined by the `plugin_config_uri` field.
|
|
2114
|
+
*/
|
|
2115
|
+
pluginConfigDigest?: string | null;
|
|
2116
|
+
/**
|
|
2117
|
+
* URI of the plugin configuration stored in the Artifact Registry. The configuration is provided to the plugin at runtime through the `ON_CONFIGURE` callback. The container image must contain only a single file with the name `plugin.config`. When a new `WasmPluginVersion` resource is created, the digest of the container image is saved in the `plugin_config_digest` field.
|
|
2118
|
+
*/
|
|
2119
|
+
pluginConfigUri?: string | null;
|
|
2120
|
+
/**
|
|
2121
|
+
* Output only. The timestamp when the resource was updated.
|
|
2122
|
+
*/
|
|
2123
|
+
updateTime?: string | null;
|
|
2124
|
+
}
|
|
2125
|
+
/**
|
|
2126
|
+
* Details of a `WasmPluginVersion` resource to be inlined in the `WasmPlugin` resource.
|
|
2127
|
+
*/
|
|
2128
|
+
export interface Schema$WasmPluginVersionDetails {
|
|
2129
|
+
/**
|
|
2130
|
+
* Output only. The timestamp when the resource was created.
|
|
2131
|
+
*/
|
|
2132
|
+
createTime?: string | null;
|
|
2133
|
+
/**
|
|
2134
|
+
* Optional. A human-readable description of the resource.
|
|
2135
|
+
*/
|
|
2136
|
+
description?: string | null;
|
|
2137
|
+
/**
|
|
2138
|
+
* Output only. The resolved digest for the image specified in `image`. The digest is resolved during the creation of a `WasmPluginVersion` resource. This field holds the digest value regardless of whether a tag or digest was originally specified in the `image` field.
|
|
2139
|
+
*/
|
|
2140
|
+
imageDigest?: string | null;
|
|
2141
|
+
/**
|
|
2142
|
+
* Optional. URI of the container image containing the Wasm module, stored in the Artifact Registry. The container image must contain only a single file with the name `plugin.wasm`. When a new `WasmPluginVersion` resource is created, the URI gets resolved to an image digest and saved in the `image_digest` field.
|
|
2143
|
+
*/
|
|
2144
|
+
imageUri?: string | null;
|
|
2145
|
+
/**
|
|
2146
|
+
* Optional. Set of labels associated with the `WasmPluginVersion` resource.
|
|
2147
|
+
*/
|
|
2148
|
+
labels?: {
|
|
2149
|
+
[key: string]: string;
|
|
2150
|
+
} | null;
|
|
2151
|
+
/**
|
|
2152
|
+
* Configuration for the plugin. The configuration is provided to the plugin at runtime through the `ON_CONFIGURE` callback. When a new `WasmPluginVersion` version is created, the digest of the contents is saved in the `plugin_config_digest` field.
|
|
2153
|
+
*/
|
|
2154
|
+
pluginConfigData?: string | null;
|
|
2155
|
+
/**
|
|
2156
|
+
* Output only. This field holds the digest (usually checksum) value for the plugin configuration. The value is calculated based on the contents of the `plugin_config_data` field or the container image defined by the `plugin_config_uri` field.
|
|
2157
|
+
*/
|
|
2158
|
+
pluginConfigDigest?: string | null;
|
|
2159
|
+
/**
|
|
2160
|
+
* URI of the plugin configuration stored in the Artifact Registry. The configuration is provided to the plugin at runtime through the `ON_CONFIGURE` callback. The container image must contain only a single file with the name `plugin.config`. When a new `WasmPluginVersion` resource is created, the digest of the container image is saved in the `plugin_config_digest` field.
|
|
2161
|
+
*/
|
|
2162
|
+
pluginConfigUri?: string | null;
|
|
2163
|
+
/**
|
|
2164
|
+
* Output only. The timestamp when the resource was updated.
|
|
2165
|
+
*/
|
|
2166
|
+
updateTime?: string | null;
|
|
2167
|
+
}
|
|
2168
|
+
export class Resource$Projects {
|
|
2169
|
+
context: APIRequestContext;
|
|
2170
|
+
locations: Resource$Projects$Locations;
|
|
2171
|
+
constructor(context: APIRequestContext);
|
|
2172
|
+
}
|
|
2173
|
+
export class Resource$Projects$Locations {
|
|
2174
|
+
context: APIRequestContext;
|
|
2175
|
+
authzExtensions: Resource$Projects$Locations$Authzextensions;
|
|
2176
|
+
edgeCacheKeysets: Resource$Projects$Locations$Edgecachekeysets;
|
|
2177
|
+
edgeCacheOrigins: Resource$Projects$Locations$Edgecacheorigins;
|
|
2178
|
+
edgeCacheServices: Resource$Projects$Locations$Edgecacheservices;
|
|
2179
|
+
endpointPolicies: Resource$Projects$Locations$Endpointpolicies;
|
|
2180
|
+
gateways: Resource$Projects$Locations$Gateways;
|
|
2181
|
+
grpcRoutes: Resource$Projects$Locations$Grpcroutes;
|
|
2182
|
+
httpRoutes: Resource$Projects$Locations$Httproutes;
|
|
2183
|
+
lbRouteExtensions: Resource$Projects$Locations$Lbrouteextensions;
|
|
2184
|
+
lbTrafficExtensions: Resource$Projects$Locations$Lbtrafficextensions;
|
|
2185
|
+
meshes: Resource$Projects$Locations$Meshes;
|
|
2186
|
+
operations: Resource$Projects$Locations$Operations;
|
|
2187
|
+
serviceBindings: Resource$Projects$Locations$Servicebindings;
|
|
2188
|
+
serviceLbPolicies: Resource$Projects$Locations$Servicelbpolicies;
|
|
2189
|
+
tcpRoutes: Resource$Projects$Locations$Tcproutes;
|
|
2190
|
+
tlsRoutes: Resource$Projects$Locations$Tlsroutes;
|
|
2191
|
+
wasmPlugins: Resource$Projects$Locations$Wasmplugins;
|
|
2192
|
+
constructor(context: APIRequestContext);
|
|
2193
|
+
/**
|
|
2194
|
+
* Gets information about a location.
|
|
2195
|
+
*
|
|
2196
|
+
* @param params - Parameters for request
|
|
2197
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2198
|
+
* @param callback - Optional callback that handles the response.
|
|
2199
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2200
|
+
*/
|
|
2201
|
+
get(params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2202
|
+
get(params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions): GaxiosPromise<Schema$Location>;
|
|
2203
|
+
get(params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2204
|
+
get(params: Params$Resource$Projects$Locations$Get, options: MethodOptions | BodyResponseCallback<Schema$Location>, callback: BodyResponseCallback<Schema$Location>): void;
|
|
2205
|
+
get(params: Params$Resource$Projects$Locations$Get, callback: BodyResponseCallback<Schema$Location>): void;
|
|
2206
|
+
get(callback: BodyResponseCallback<Schema$Location>): void;
|
|
2207
|
+
/**
|
|
2208
|
+
* Lists information about the supported locations for this service.
|
|
2209
|
+
*
|
|
2210
|
+
* @param params - Parameters for request
|
|
2211
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2212
|
+
* @param callback - Optional callback that handles the response.
|
|
2213
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2214
|
+
*/
|
|
2215
|
+
list(params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2216
|
+
list(params?: Params$Resource$Projects$Locations$List, options?: MethodOptions): GaxiosPromise<Schema$ListLocationsResponse>;
|
|
2217
|
+
list(params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2218
|
+
list(params: Params$Resource$Projects$Locations$List, options: MethodOptions | BodyResponseCallback<Schema$ListLocationsResponse>, callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
|
|
2219
|
+
list(params: Params$Resource$Projects$Locations$List, callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
|
|
2220
|
+
list(callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
|
|
2221
|
+
}
|
|
2222
|
+
export interface Params$Resource$Projects$Locations$Get extends StandardParameters {
|
|
2223
|
+
/**
|
|
2224
|
+
* Resource name for the location.
|
|
2225
|
+
*/
|
|
2226
|
+
name?: string;
|
|
2227
|
+
}
|
|
2228
|
+
export interface Params$Resource$Projects$Locations$List extends StandardParameters {
|
|
2229
|
+
/**
|
|
2230
|
+
* 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).
|
|
2231
|
+
*/
|
|
2232
|
+
filter?: string;
|
|
2233
|
+
/**
|
|
2234
|
+
* The resource that owns the locations collection, if applicable.
|
|
2235
|
+
*/
|
|
2236
|
+
name?: string;
|
|
2237
|
+
/**
|
|
2238
|
+
* The maximum number of results to return. If not set, the service selects a default.
|
|
2239
|
+
*/
|
|
2240
|
+
pageSize?: number;
|
|
2241
|
+
/**
|
|
2242
|
+
* A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
|
|
2243
|
+
*/
|
|
2244
|
+
pageToken?: string;
|
|
2245
|
+
}
|
|
2246
|
+
export class Resource$Projects$Locations$Authzextensions {
|
|
2247
|
+
context: APIRequestContext;
|
|
2248
|
+
constructor(context: APIRequestContext);
|
|
2249
|
+
/**
|
|
2250
|
+
* Creates a new `AuthzExtension` resource in a given project and location.
|
|
2251
|
+
*
|
|
2252
|
+
* @param params - Parameters for request
|
|
2253
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2254
|
+
* @param callback - Optional callback that handles the response.
|
|
2255
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2256
|
+
*/
|
|
2257
|
+
create(params: Params$Resource$Projects$Locations$Authzextensions$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2258
|
+
create(params?: Params$Resource$Projects$Locations$Authzextensions$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
2259
|
+
create(params: Params$Resource$Projects$Locations$Authzextensions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2260
|
+
create(params: Params$Resource$Projects$Locations$Authzextensions$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2261
|
+
create(params: Params$Resource$Projects$Locations$Authzextensions$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2262
|
+
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2263
|
+
/**
|
|
2264
|
+
* Deletes the specified `AuthzExtension` resource.
|
|
2265
|
+
*
|
|
2266
|
+
* @param params - Parameters for request
|
|
2267
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2268
|
+
* @param callback - Optional callback that handles the response.
|
|
2269
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2270
|
+
*/
|
|
2271
|
+
delete(params: Params$Resource$Projects$Locations$Authzextensions$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2272
|
+
delete(params?: Params$Resource$Projects$Locations$Authzextensions$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
2273
|
+
delete(params: Params$Resource$Projects$Locations$Authzextensions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2274
|
+
delete(params: Params$Resource$Projects$Locations$Authzextensions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2275
|
+
delete(params: Params$Resource$Projects$Locations$Authzextensions$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2276
|
+
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2277
|
+
/**
|
|
2278
|
+
* Gets details of the specified `AuthzExtension` resource.
|
|
2279
|
+
*
|
|
2280
|
+
* @param params - Parameters for request
|
|
2281
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2282
|
+
* @param callback - Optional callback that handles the response.
|
|
2283
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2284
|
+
*/
|
|
2285
|
+
get(params: Params$Resource$Projects$Locations$Authzextensions$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2286
|
+
get(params?: Params$Resource$Projects$Locations$Authzextensions$Get, options?: MethodOptions): GaxiosPromise<Schema$AuthzExtension>;
|
|
2287
|
+
get(params: Params$Resource$Projects$Locations$Authzextensions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2288
|
+
get(params: Params$Resource$Projects$Locations$Authzextensions$Get, options: MethodOptions | BodyResponseCallback<Schema$AuthzExtension>, callback: BodyResponseCallback<Schema$AuthzExtension>): void;
|
|
2289
|
+
get(params: Params$Resource$Projects$Locations$Authzextensions$Get, callback: BodyResponseCallback<Schema$AuthzExtension>): void;
|
|
2290
|
+
get(callback: BodyResponseCallback<Schema$AuthzExtension>): void;
|
|
2291
|
+
/**
|
|
2292
|
+
* Lists `AuthzExtension` resources in a given project and location.
|
|
2293
|
+
*
|
|
2294
|
+
* @param params - Parameters for request
|
|
2295
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2296
|
+
* @param callback - Optional callback that handles the response.
|
|
2297
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2298
|
+
*/
|
|
2299
|
+
list(params: Params$Resource$Projects$Locations$Authzextensions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2300
|
+
list(params?: Params$Resource$Projects$Locations$Authzextensions$List, options?: MethodOptions): GaxiosPromise<Schema$ListAuthzExtensionsResponse>;
|
|
2301
|
+
list(params: Params$Resource$Projects$Locations$Authzextensions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2302
|
+
list(params: Params$Resource$Projects$Locations$Authzextensions$List, options: MethodOptions | BodyResponseCallback<Schema$ListAuthzExtensionsResponse>, callback: BodyResponseCallback<Schema$ListAuthzExtensionsResponse>): void;
|
|
2303
|
+
list(params: Params$Resource$Projects$Locations$Authzextensions$List, callback: BodyResponseCallback<Schema$ListAuthzExtensionsResponse>): void;
|
|
2304
|
+
list(callback: BodyResponseCallback<Schema$ListAuthzExtensionsResponse>): void;
|
|
2305
|
+
/**
|
|
2306
|
+
* Updates the parameters of the specified `AuthzExtension` resource.
|
|
2307
|
+
*
|
|
2308
|
+
* @param params - Parameters for request
|
|
2309
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2310
|
+
* @param callback - Optional callback that handles the response.
|
|
2311
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2312
|
+
*/
|
|
2313
|
+
patch(params: Params$Resource$Projects$Locations$Authzextensions$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2314
|
+
patch(params?: Params$Resource$Projects$Locations$Authzextensions$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
2315
|
+
patch(params: Params$Resource$Projects$Locations$Authzextensions$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2316
|
+
patch(params: Params$Resource$Projects$Locations$Authzextensions$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2317
|
+
patch(params: Params$Resource$Projects$Locations$Authzextensions$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2318
|
+
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2319
|
+
}
|
|
2320
|
+
export interface Params$Resource$Projects$Locations$Authzextensions$Create extends StandardParameters {
|
|
2321
|
+
/**
|
|
2322
|
+
* Required. User-provided ID of the `AuthzExtension` resource to be created.
|
|
2323
|
+
*/
|
|
2324
|
+
authzExtensionId?: string;
|
|
2325
|
+
/**
|
|
2326
|
+
* Required. The parent resource of the `AuthzExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
|
|
2327
|
+
*/
|
|
2328
|
+
parent?: string;
|
|
2329
|
+
/**
|
|
2330
|
+
* 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 at least 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 can check if original operation with the same request ID was received, and if so, 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).
|
|
2331
|
+
*/
|
|
2332
|
+
requestId?: string;
|
|
2333
|
+
/**
|
|
2334
|
+
* Request body metadata
|
|
2335
|
+
*/
|
|
2336
|
+
requestBody?: Schema$AuthzExtension;
|
|
2337
|
+
}
|
|
2338
|
+
export interface Params$Resource$Projects$Locations$Authzextensions$Delete extends StandardParameters {
|
|
2339
|
+
/**
|
|
2340
|
+
* Required. The name of the `AuthzExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/authzExtensions/{authz_extension\}`.
|
|
2341
|
+
*/
|
|
2342
|
+
name?: string;
|
|
2343
|
+
/**
|
|
2344
|
+
* 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 at least 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 can check if original operation with the same request ID was received, and if so, 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).
|
|
2345
|
+
*/
|
|
2346
|
+
requestId?: string;
|
|
2347
|
+
}
|
|
2348
|
+
export interface Params$Resource$Projects$Locations$Authzextensions$Get extends StandardParameters {
|
|
2349
|
+
/**
|
|
2350
|
+
* Required. A name of the `AuthzExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/authzExtensions/{authz_extension\}`.
|
|
2351
|
+
*/
|
|
2352
|
+
name?: string;
|
|
2353
|
+
}
|
|
2354
|
+
export interface Params$Resource$Projects$Locations$Authzextensions$List extends StandardParameters {
|
|
2355
|
+
/**
|
|
2356
|
+
* Optional. Filtering results.
|
|
2357
|
+
*/
|
|
2358
|
+
filter?: string;
|
|
2359
|
+
/**
|
|
2360
|
+
* Optional. Hint for how to order the results.
|
|
2361
|
+
*/
|
|
2362
|
+
orderBy?: string;
|
|
2363
|
+
/**
|
|
2364
|
+
* Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
|
|
2365
|
+
*/
|
|
2366
|
+
pageSize?: number;
|
|
2367
|
+
/**
|
|
2368
|
+
* Optional. A token identifying a page of results that the server returns.
|
|
2369
|
+
*/
|
|
2370
|
+
pageToken?: string;
|
|
2371
|
+
/**
|
|
2372
|
+
* Required. The project and location from which the `AuthzExtension` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`.
|
|
2373
|
+
*/
|
|
2374
|
+
parent?: string;
|
|
2375
|
+
}
|
|
2376
|
+
export interface Params$Resource$Projects$Locations$Authzextensions$Patch extends StandardParameters {
|
|
2377
|
+
/**
|
|
2378
|
+
* Required. Identifier. Name of the `AuthzExtension` resource in the following format: `projects/{project\}/locations/{location\}/authzExtensions/{authz_extension\}`.
|
|
2379
|
+
*/
|
|
2380
|
+
name?: string;
|
|
2381
|
+
/**
|
|
2382
|
+
* 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 at least 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 can check if original operation with the same request ID was received, and if so, 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).
|
|
2383
|
+
*/
|
|
2384
|
+
requestId?: string;
|
|
2385
|
+
/**
|
|
2386
|
+
* Required. Used to specify the fields to be overwritten in the `AuthzExtension` 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.
|
|
2387
|
+
*/
|
|
2388
|
+
updateMask?: string;
|
|
2389
|
+
/**
|
|
2390
|
+
* Request body metadata
|
|
2391
|
+
*/
|
|
2392
|
+
requestBody?: Schema$AuthzExtension;
|
|
2393
|
+
}
|
|
2394
|
+
export class Resource$Projects$Locations$Edgecachekeysets {
|
|
2395
|
+
context: APIRequestContext;
|
|
2396
|
+
constructor(context: APIRequestContext);
|
|
2397
|
+
/**
|
|
2398
|
+
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
2399
|
+
*
|
|
2400
|
+
* @param params - Parameters for request
|
|
2401
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2402
|
+
* @param callback - Optional callback that handles the response.
|
|
2403
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2404
|
+
*/
|
|
2405
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Edgecachekeysets$Getiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2406
|
+
getIamPolicy(params?: Params$Resource$Projects$Locations$Edgecachekeysets$Getiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
|
|
2407
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Edgecachekeysets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2408
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Edgecachekeysets$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2409
|
+
getIamPolicy(params: Params$Resource$Projects$Locations$Edgecachekeysets$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2410
|
+
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2411
|
+
/**
|
|
2412
|
+
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
2413
|
+
*
|
|
2414
|
+
* @param params - Parameters for request
|
|
2415
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2416
|
+
* @param callback - Optional callback that handles the response.
|
|
2417
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2418
|
+
*/
|
|
2419
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Edgecachekeysets$Setiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2420
|
+
setIamPolicy(params?: Params$Resource$Projects$Locations$Edgecachekeysets$Setiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
|
|
2421
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Edgecachekeysets$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2422
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Edgecachekeysets$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2423
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Edgecachekeysets$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2424
|
+
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2425
|
+
/**
|
|
2426
|
+
* Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
|
|
2427
|
+
*
|
|
1900
2428
|
* @param params - Parameters for request
|
|
1901
2429
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1902
2430
|
* @param callback - Optional callback that handles the response.
|
|
@@ -2221,6 +2749,7 @@ export declare namespace networkservices_v1 {
|
|
|
2221
2749
|
}
|
|
2222
2750
|
export class Resource$Projects$Locations$Gateways {
|
|
2223
2751
|
context: APIRequestContext;
|
|
2752
|
+
routeViews: Resource$Projects$Locations$Gateways$Routeviews;
|
|
2224
2753
|
constructor(context: APIRequestContext);
|
|
2225
2754
|
/**
|
|
2226
2755
|
* Creates a new Gateway in a given project and location.
|
|
@@ -2311,42 +2840,94 @@ export declare namespace networkservices_v1 {
|
|
|
2311
2840
|
/**
|
|
2312
2841
|
* Required. A name of the Gateway to delete. Must be in the format `projects/x/locations/x/gateways/x`.
|
|
2313
2842
|
*/
|
|
2314
|
-
name?: string;
|
|
2843
|
+
name?: string;
|
|
2844
|
+
}
|
|
2845
|
+
export interface Params$Resource$Projects$Locations$Gateways$Get extends StandardParameters {
|
|
2846
|
+
/**
|
|
2847
|
+
* Required. A name of the Gateway to get. Must be in the format `projects/x/locations/x/gateways/x`.
|
|
2848
|
+
*/
|
|
2849
|
+
name?: string;
|
|
2850
|
+
}
|
|
2851
|
+
export interface Params$Resource$Projects$Locations$Gateways$List extends StandardParameters {
|
|
2852
|
+
/**
|
|
2853
|
+
* Maximum number of Gateways to return per call.
|
|
2854
|
+
*/
|
|
2855
|
+
pageSize?: number;
|
|
2856
|
+
/**
|
|
2857
|
+
* The value returned by the last `ListGatewaysResponse` Indicates that this is a continuation of a prior `ListGateways` call, and that the system should return the next page of data.
|
|
2858
|
+
*/
|
|
2859
|
+
pageToken?: string;
|
|
2860
|
+
/**
|
|
2861
|
+
* Required. The project and location from which the Gateways should be listed, specified in the format `projects/x/locations/x`.
|
|
2862
|
+
*/
|
|
2863
|
+
parent?: string;
|
|
2864
|
+
}
|
|
2865
|
+
export interface Params$Resource$Projects$Locations$Gateways$Patch extends StandardParameters {
|
|
2866
|
+
/**
|
|
2867
|
+
* Identifier. Name of the Gateway resource. It matches pattern `projects/x/locations/x/gateways/`.
|
|
2868
|
+
*/
|
|
2869
|
+
name?: string;
|
|
2870
|
+
/**
|
|
2871
|
+
* Optional. Field mask is used to specify the fields to be overwritten in the Gateway 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.
|
|
2872
|
+
*/
|
|
2873
|
+
updateMask?: string;
|
|
2874
|
+
/**
|
|
2875
|
+
* Request body metadata
|
|
2876
|
+
*/
|
|
2877
|
+
requestBody?: Schema$Gateway;
|
|
2878
|
+
}
|
|
2879
|
+
export class Resource$Projects$Locations$Gateways$Routeviews {
|
|
2880
|
+
context: APIRequestContext;
|
|
2881
|
+
constructor(context: APIRequestContext);
|
|
2882
|
+
/**
|
|
2883
|
+
* Get a single RouteView of a Gateway.
|
|
2884
|
+
*
|
|
2885
|
+
* @param params - Parameters for request
|
|
2886
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2887
|
+
* @param callback - Optional callback that handles the response.
|
|
2888
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2889
|
+
*/
|
|
2890
|
+
get(params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2891
|
+
get(params?: Params$Resource$Projects$Locations$Gateways$Routeviews$Get, options?: MethodOptions): GaxiosPromise<Schema$GatewayRouteView>;
|
|
2892
|
+
get(params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2893
|
+
get(params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get, options: MethodOptions | BodyResponseCallback<Schema$GatewayRouteView>, callback: BodyResponseCallback<Schema$GatewayRouteView>): void;
|
|
2894
|
+
get(params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get, callback: BodyResponseCallback<Schema$GatewayRouteView>): void;
|
|
2895
|
+
get(callback: BodyResponseCallback<Schema$GatewayRouteView>): void;
|
|
2896
|
+
/**
|
|
2897
|
+
* Lists RouteViews
|
|
2898
|
+
*
|
|
2899
|
+
* @param params - Parameters for request
|
|
2900
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2901
|
+
* @param callback - Optional callback that handles the response.
|
|
2902
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2903
|
+
*/
|
|
2904
|
+
list(params: Params$Resource$Projects$Locations$Gateways$Routeviews$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2905
|
+
list(params?: Params$Resource$Projects$Locations$Gateways$Routeviews$List, options?: MethodOptions): GaxiosPromise<Schema$ListGatewayRouteViewsResponse>;
|
|
2906
|
+
list(params: Params$Resource$Projects$Locations$Gateways$Routeviews$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2907
|
+
list(params: Params$Resource$Projects$Locations$Gateways$Routeviews$List, options: MethodOptions | BodyResponseCallback<Schema$ListGatewayRouteViewsResponse>, callback: BodyResponseCallback<Schema$ListGatewayRouteViewsResponse>): void;
|
|
2908
|
+
list(params: Params$Resource$Projects$Locations$Gateways$Routeviews$List, callback: BodyResponseCallback<Schema$ListGatewayRouteViewsResponse>): void;
|
|
2909
|
+
list(callback: BodyResponseCallback<Schema$ListGatewayRouteViewsResponse>): void;
|
|
2315
2910
|
}
|
|
2316
|
-
export interface Params$Resource$Projects$Locations$Gateways$Get extends StandardParameters {
|
|
2911
|
+
export interface Params$Resource$Projects$Locations$Gateways$Routeviews$Get extends StandardParameters {
|
|
2317
2912
|
/**
|
|
2318
|
-
* Required.
|
|
2913
|
+
* Required. Name of the GatewayRouteView resource. Formats: projects/{project_number\}/locations/{location\}/gateways/{gateway_name\}/routeViews/{route_view_name\}
|
|
2319
2914
|
*/
|
|
2320
2915
|
name?: string;
|
|
2321
2916
|
}
|
|
2322
|
-
export interface Params$Resource$Projects$Locations$Gateways$List extends StandardParameters {
|
|
2917
|
+
export interface Params$Resource$Projects$Locations$Gateways$Routeviews$List extends StandardParameters {
|
|
2323
2918
|
/**
|
|
2324
|
-
* Maximum number of
|
|
2919
|
+
* Maximum number of GatewayRouteViews to return per call.
|
|
2325
2920
|
*/
|
|
2326
2921
|
pageSize?: number;
|
|
2327
2922
|
/**
|
|
2328
|
-
* The value returned by the last `
|
|
2923
|
+
* The value returned by the last `ListGatewayRouteViewsResponse` Indicates that this is a continuation of a prior `ListGatewayRouteViews` call, and that the system should return the next page of data.
|
|
2329
2924
|
*/
|
|
2330
2925
|
pageToken?: string;
|
|
2331
2926
|
/**
|
|
2332
|
-
* Required. The
|
|
2927
|
+
* Required. The Gateway to which a Route is associated. Formats: projects/{project_number\}/locations/{location\}/gateways/{gateway_name\}
|
|
2333
2928
|
*/
|
|
2334
2929
|
parent?: string;
|
|
2335
2930
|
}
|
|
2336
|
-
export interface Params$Resource$Projects$Locations$Gateways$Patch extends StandardParameters {
|
|
2337
|
-
/**
|
|
2338
|
-
* Identifier. Name of the Gateway resource. It matches pattern `projects/x/locations/x/gateways/`.
|
|
2339
|
-
*/
|
|
2340
|
-
name?: string;
|
|
2341
|
-
/**
|
|
2342
|
-
* Optional. Field mask is used to specify the fields to be overwritten in the Gateway 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.
|
|
2343
|
-
*/
|
|
2344
|
-
updateMask?: string;
|
|
2345
|
-
/**
|
|
2346
|
-
* Request body metadata
|
|
2347
|
-
*/
|
|
2348
|
-
requestBody?: Schema$Gateway;
|
|
2349
|
-
}
|
|
2350
2931
|
export class Resource$Projects$Locations$Grpcroutes {
|
|
2351
2932
|
context: APIRequestContext;
|
|
2352
2933
|
constructor(context: APIRequestContext);
|
|
@@ -2436,6 +3017,10 @@ export declare namespace networkservices_v1 {
|
|
|
2436
3017
|
requestBody?: Schema$GrpcRoute;
|
|
2437
3018
|
}
|
|
2438
3019
|
export interface Params$Resource$Projects$Locations$Grpcroutes$Delete extends StandardParameters {
|
|
3020
|
+
/**
|
|
3021
|
+
* Optional. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
|
|
3022
|
+
*/
|
|
3023
|
+
etag?: string;
|
|
2439
3024
|
/**
|
|
2440
3025
|
* Required. A name of the GrpcRoute to delete. Must be in the format `projects/x/locations/global/grpcRoutes/x`.
|
|
2441
3026
|
*/
|
|
@@ -2564,6 +3149,10 @@ export declare namespace networkservices_v1 {
|
|
|
2564
3149
|
requestBody?: Schema$HttpRoute;
|
|
2565
3150
|
}
|
|
2566
3151
|
export interface Params$Resource$Projects$Locations$Httproutes$Delete extends StandardParameters {
|
|
3152
|
+
/**
|
|
3153
|
+
* Optional. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
|
|
3154
|
+
*/
|
|
3155
|
+
etag?: string;
|
|
2567
3156
|
/**
|
|
2568
3157
|
* Required. A name of the HttpRoute to delete. Must be in the format `projects/x/locations/global/httpRoutes/x`.
|
|
2569
3158
|
*/
|
|
@@ -2743,7 +3332,7 @@ export declare namespace networkservices_v1 {
|
|
|
2743
3332
|
*/
|
|
2744
3333
|
requestId?: string;
|
|
2745
3334
|
/**
|
|
2746
|
-
* 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.
|
|
3335
|
+
* 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.
|
|
2747
3336
|
*/
|
|
2748
3337
|
updateMask?: string;
|
|
2749
3338
|
/**
|
|
@@ -2891,7 +3480,7 @@ export declare namespace networkservices_v1 {
|
|
|
2891
3480
|
*/
|
|
2892
3481
|
requestId?: string;
|
|
2893
3482
|
/**
|
|
2894
|
-
* Optional. Used to specify the fields to be overwritten in the `LbTrafficExtension` 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.
|
|
3483
|
+
* Optional. Used to specify the fields to be overwritten in the `LbTrafficExtension` 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.
|
|
2895
3484
|
*/
|
|
2896
3485
|
updateMask?: string;
|
|
2897
3486
|
/**
|
|
@@ -2901,6 +3490,7 @@ export declare namespace networkservices_v1 {
|
|
|
2901
3490
|
}
|
|
2902
3491
|
export class Resource$Projects$Locations$Meshes {
|
|
2903
3492
|
context: APIRequestContext;
|
|
3493
|
+
routeViews: Resource$Projects$Locations$Meshes$Routeviews;
|
|
2904
3494
|
constructor(context: APIRequestContext);
|
|
2905
3495
|
/**
|
|
2906
3496
|
* Creates a new Mesh in a given project and location.
|
|
@@ -3027,11 +3617,63 @@ export declare namespace networkservices_v1 {
|
|
|
3027
3617
|
*/
|
|
3028
3618
|
requestBody?: Schema$Mesh;
|
|
3029
3619
|
}
|
|
3620
|
+
export class Resource$Projects$Locations$Meshes$Routeviews {
|
|
3621
|
+
context: APIRequestContext;
|
|
3622
|
+
constructor(context: APIRequestContext);
|
|
3623
|
+
/**
|
|
3624
|
+
* Get a single RouteView of a Mesh.
|
|
3625
|
+
*
|
|
3626
|
+
* @param params - Parameters for request
|
|
3627
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3628
|
+
* @param callback - Optional callback that handles the response.
|
|
3629
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3630
|
+
*/
|
|
3631
|
+
get(params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3632
|
+
get(params?: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options?: MethodOptions): GaxiosPromise<Schema$MeshRouteView>;
|
|
3633
|
+
get(params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3634
|
+
get(params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options: MethodOptions | BodyResponseCallback<Schema$MeshRouteView>, callback: BodyResponseCallback<Schema$MeshRouteView>): void;
|
|
3635
|
+
get(params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, callback: BodyResponseCallback<Schema$MeshRouteView>): void;
|
|
3636
|
+
get(callback: BodyResponseCallback<Schema$MeshRouteView>): void;
|
|
3637
|
+
/**
|
|
3638
|
+
* Lists RouteViews
|
|
3639
|
+
*
|
|
3640
|
+
* @param params - Parameters for request
|
|
3641
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3642
|
+
* @param callback - Optional callback that handles the response.
|
|
3643
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3644
|
+
*/
|
|
3645
|
+
list(params: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3646
|
+
list(params?: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options?: MethodOptions): GaxiosPromise<Schema$ListMeshRouteViewsResponse>;
|
|
3647
|
+
list(params: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3648
|
+
list(params: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options: MethodOptions | BodyResponseCallback<Schema$ListMeshRouteViewsResponse>, callback: BodyResponseCallback<Schema$ListMeshRouteViewsResponse>): void;
|
|
3649
|
+
list(params: Params$Resource$Projects$Locations$Meshes$Routeviews$List, callback: BodyResponseCallback<Schema$ListMeshRouteViewsResponse>): void;
|
|
3650
|
+
list(callback: BodyResponseCallback<Schema$ListMeshRouteViewsResponse>): void;
|
|
3651
|
+
}
|
|
3652
|
+
export interface Params$Resource$Projects$Locations$Meshes$Routeviews$Get extends StandardParameters {
|
|
3653
|
+
/**
|
|
3654
|
+
* Required. Name of the MeshRouteView resource. Format: projects/{project_number\}/locations/{location\}/meshes/{mesh_name\}/routeViews/{route_view_name\}
|
|
3655
|
+
*/
|
|
3656
|
+
name?: string;
|
|
3657
|
+
}
|
|
3658
|
+
export interface Params$Resource$Projects$Locations$Meshes$Routeviews$List extends StandardParameters {
|
|
3659
|
+
/**
|
|
3660
|
+
* Maximum number of MeshRouteViews to return per call.
|
|
3661
|
+
*/
|
|
3662
|
+
pageSize?: number;
|
|
3663
|
+
/**
|
|
3664
|
+
* The value returned by the last `ListMeshRouteViewsResponse` Indicates that this is a continuation of a prior `ListMeshRouteViews` call, and that the system should return the next page of data.
|
|
3665
|
+
*/
|
|
3666
|
+
pageToken?: string;
|
|
3667
|
+
/**
|
|
3668
|
+
* Required. The Mesh to which a Route is associated. Format: projects/{project_number\}/locations/{location\}/meshes/{mesh_name\}
|
|
3669
|
+
*/
|
|
3670
|
+
parent?: string;
|
|
3671
|
+
}
|
|
3030
3672
|
export class Resource$Projects$Locations$Operations {
|
|
3031
3673
|
context: APIRequestContext;
|
|
3032
3674
|
constructor(context: APIRequestContext);
|
|
3033
3675
|
/**
|
|
3034
|
-
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1
|
|
3676
|
+
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
|
|
3035
3677
|
*
|
|
3036
3678
|
* @param params - Parameters for request
|
|
3037
3679
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -3272,20 +3914,6 @@ export declare namespace networkservices_v1 {
|
|
|
3272
3914
|
get(params: Params$Resource$Projects$Locations$Servicelbpolicies$Get, options: MethodOptions | BodyResponseCallback<Schema$ServiceLbPolicy>, callback: BodyResponseCallback<Schema$ServiceLbPolicy>): void;
|
|
3273
3915
|
get(params: Params$Resource$Projects$Locations$Servicelbpolicies$Get, callback: BodyResponseCallback<Schema$ServiceLbPolicy>): void;
|
|
3274
3916
|
get(callback: BodyResponseCallback<Schema$ServiceLbPolicy>): void;
|
|
3275
|
-
/**
|
|
3276
|
-
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
3277
|
-
*
|
|
3278
|
-
* @param params - Parameters for request
|
|
3279
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3280
|
-
* @param callback - Optional callback that handles the response.
|
|
3281
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3282
|
-
*/
|
|
3283
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3284
|
-
getIamPolicy(params?: Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
|
|
3285
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3286
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3287
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3288
|
-
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3289
3917
|
/**
|
|
3290
3918
|
* Lists ServiceLbPolicies in a given project and location.
|
|
3291
3919
|
*
|
|
@@ -3314,34 +3942,6 @@ export declare namespace networkservices_v1 {
|
|
|
3314
3942
|
patch(params: Params$Resource$Projects$Locations$Servicelbpolicies$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3315
3943
|
patch(params: Params$Resource$Projects$Locations$Servicelbpolicies$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3316
3944
|
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3317
|
-
/**
|
|
3318
|
-
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
3319
|
-
*
|
|
3320
|
-
* @param params - Parameters for request
|
|
3321
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3322
|
-
* @param callback - Optional callback that handles the response.
|
|
3323
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3324
|
-
*/
|
|
3325
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3326
|
-
setIamPolicy(params?: Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
|
|
3327
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3328
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3329
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3330
|
-
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3331
|
-
/**
|
|
3332
|
-
* Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
|
|
3333
|
-
*
|
|
3334
|
-
* @param params - Parameters for request
|
|
3335
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3336
|
-
* @param callback - Optional callback that handles the response.
|
|
3337
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3338
|
-
*/
|
|
3339
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3340
|
-
testIamPermissions(params?: Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions, options?: MethodOptions): GaxiosPromise<Schema$TestIamPermissionsResponse>;
|
|
3341
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3342
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
3343
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
3344
|
-
testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
3345
3945
|
}
|
|
3346
3946
|
export interface Params$Resource$Projects$Locations$Servicelbpolicies$Create extends StandardParameters {
|
|
3347
3947
|
/**
|
|
@@ -3369,16 +3969,6 @@ export declare namespace networkservices_v1 {
|
|
|
3369
3969
|
*/
|
|
3370
3970
|
name?: string;
|
|
3371
3971
|
}
|
|
3372
|
-
export interface Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy extends StandardParameters {
|
|
3373
|
-
/**
|
|
3374
|
-
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
3375
|
-
*/
|
|
3376
|
-
'options.requestedPolicyVersion'?: number;
|
|
3377
|
-
/**
|
|
3378
|
-
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
3379
|
-
*/
|
|
3380
|
-
resource?: string;
|
|
3381
|
-
}
|
|
3382
3972
|
export interface Params$Resource$Projects$Locations$Servicelbpolicies$List extends StandardParameters {
|
|
3383
3973
|
/**
|
|
3384
3974
|
* Maximum number of ServiceLbPolicies to return per call.
|
|
@@ -3395,7 +3985,7 @@ export declare namespace networkservices_v1 {
|
|
|
3395
3985
|
}
|
|
3396
3986
|
export interface Params$Resource$Projects$Locations$Servicelbpolicies$Patch extends StandardParameters {
|
|
3397
3987
|
/**
|
|
3398
|
-
*
|
|
3988
|
+
* Identifier. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project\}/locations/{location\}/serviceLbPolicies/{service_lb_policy_name\}`.
|
|
3399
3989
|
*/
|
|
3400
3990
|
name?: string;
|
|
3401
3991
|
/**
|
|
@@ -3407,26 +3997,6 @@ export declare namespace networkservices_v1 {
|
|
|
3407
3997
|
*/
|
|
3408
3998
|
requestBody?: Schema$ServiceLbPolicy;
|
|
3409
3999
|
}
|
|
3410
|
-
export interface Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy extends StandardParameters {
|
|
3411
|
-
/**
|
|
3412
|
-
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
3413
|
-
*/
|
|
3414
|
-
resource?: string;
|
|
3415
|
-
/**
|
|
3416
|
-
* Request body metadata
|
|
3417
|
-
*/
|
|
3418
|
-
requestBody?: Schema$SetIamPolicyRequest;
|
|
3419
|
-
}
|
|
3420
|
-
export interface Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions extends StandardParameters {
|
|
3421
|
-
/**
|
|
3422
|
-
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
3423
|
-
*/
|
|
3424
|
-
resource?: string;
|
|
3425
|
-
/**
|
|
3426
|
-
* Request body metadata
|
|
3427
|
-
*/
|
|
3428
|
-
requestBody?: Schema$TestIamPermissionsRequest;
|
|
3429
|
-
}
|
|
3430
4000
|
export class Resource$Projects$Locations$Tcproutes {
|
|
3431
4001
|
context: APIRequestContext;
|
|
3432
4002
|
constructor(context: APIRequestContext);
|
|
@@ -3516,6 +4086,10 @@ export declare namespace networkservices_v1 {
|
|
|
3516
4086
|
requestBody?: Schema$TcpRoute;
|
|
3517
4087
|
}
|
|
3518
4088
|
export interface Params$Resource$Projects$Locations$Tcproutes$Delete extends StandardParameters {
|
|
4089
|
+
/**
|
|
4090
|
+
* Optional. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
|
|
4091
|
+
*/
|
|
4092
|
+
etag?: string;
|
|
3519
4093
|
/**
|
|
3520
4094
|
* Required. A name of the TcpRoute to delete. Must be in the format `projects/x/locations/global/tcpRoutes/x`.
|
|
3521
4095
|
*/
|
|
@@ -3644,6 +4218,10 @@ export declare namespace networkservices_v1 {
|
|
|
3644
4218
|
requestBody?: Schema$TlsRoute;
|
|
3645
4219
|
}
|
|
3646
4220
|
export interface Params$Resource$Projects$Locations$Tlsroutes$Delete extends StandardParameters {
|
|
4221
|
+
/**
|
|
4222
|
+
* Optional. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
|
|
4223
|
+
*/
|
|
4224
|
+
etag?: string;
|
|
3647
4225
|
/**
|
|
3648
4226
|
* Required. A name of the TlsRoute to delete. Must be in the format `projects/x/locations/global/tlsRoutes/x`.
|
|
3649
4227
|
*/
|
|
@@ -3683,5 +4261,238 @@ export declare namespace networkservices_v1 {
|
|
|
3683
4261
|
*/
|
|
3684
4262
|
requestBody?: Schema$TlsRoute;
|
|
3685
4263
|
}
|
|
4264
|
+
export class Resource$Projects$Locations$Wasmplugins {
|
|
4265
|
+
context: APIRequestContext;
|
|
4266
|
+
versions: Resource$Projects$Locations$Wasmplugins$Versions;
|
|
4267
|
+
constructor(context: APIRequestContext);
|
|
4268
|
+
/**
|
|
4269
|
+
* Creates a new `WasmPlugin` resource in a given project and location.
|
|
4270
|
+
*
|
|
4271
|
+
* @param params - Parameters for request
|
|
4272
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4273
|
+
* @param callback - Optional callback that handles the response.
|
|
4274
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4275
|
+
*/
|
|
4276
|
+
create(params: Params$Resource$Projects$Locations$Wasmplugins$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
4277
|
+
create(params?: Params$Resource$Projects$Locations$Wasmplugins$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
4278
|
+
create(params: Params$Resource$Projects$Locations$Wasmplugins$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4279
|
+
create(params: Params$Resource$Projects$Locations$Wasmplugins$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4280
|
+
create(params: Params$Resource$Projects$Locations$Wasmplugins$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4281
|
+
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4282
|
+
/**
|
|
4283
|
+
* Deletes the specified `WasmPlugin` resource.
|
|
4284
|
+
*
|
|
4285
|
+
* @param params - Parameters for request
|
|
4286
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4287
|
+
* @param callback - Optional callback that handles the response.
|
|
4288
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4289
|
+
*/
|
|
4290
|
+
delete(params: Params$Resource$Projects$Locations$Wasmplugins$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
4291
|
+
delete(params?: Params$Resource$Projects$Locations$Wasmplugins$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
4292
|
+
delete(params: Params$Resource$Projects$Locations$Wasmplugins$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4293
|
+
delete(params: Params$Resource$Projects$Locations$Wasmplugins$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4294
|
+
delete(params: Params$Resource$Projects$Locations$Wasmplugins$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4295
|
+
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4296
|
+
/**
|
|
4297
|
+
* Gets details of the specified `WasmPlugin` resource.
|
|
4298
|
+
*
|
|
4299
|
+
* @param params - Parameters for request
|
|
4300
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4301
|
+
* @param callback - Optional callback that handles the response.
|
|
4302
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4303
|
+
*/
|
|
4304
|
+
get(params: Params$Resource$Projects$Locations$Wasmplugins$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
4305
|
+
get(params?: Params$Resource$Projects$Locations$Wasmplugins$Get, options?: MethodOptions): GaxiosPromise<Schema$WasmPlugin>;
|
|
4306
|
+
get(params: Params$Resource$Projects$Locations$Wasmplugins$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4307
|
+
get(params: Params$Resource$Projects$Locations$Wasmplugins$Get, options: MethodOptions | BodyResponseCallback<Schema$WasmPlugin>, callback: BodyResponseCallback<Schema$WasmPlugin>): void;
|
|
4308
|
+
get(params: Params$Resource$Projects$Locations$Wasmplugins$Get, callback: BodyResponseCallback<Schema$WasmPlugin>): void;
|
|
4309
|
+
get(callback: BodyResponseCallback<Schema$WasmPlugin>): void;
|
|
4310
|
+
/**
|
|
4311
|
+
* Lists `WasmPlugin` resources in a given project and location.
|
|
4312
|
+
*
|
|
4313
|
+
* @param params - Parameters for request
|
|
4314
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4315
|
+
* @param callback - Optional callback that handles the response.
|
|
4316
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4317
|
+
*/
|
|
4318
|
+
list(params: Params$Resource$Projects$Locations$Wasmplugins$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
4319
|
+
list(params?: Params$Resource$Projects$Locations$Wasmplugins$List, options?: MethodOptions): GaxiosPromise<Schema$ListWasmPluginsResponse>;
|
|
4320
|
+
list(params: Params$Resource$Projects$Locations$Wasmplugins$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4321
|
+
list(params: Params$Resource$Projects$Locations$Wasmplugins$List, options: MethodOptions | BodyResponseCallback<Schema$ListWasmPluginsResponse>, callback: BodyResponseCallback<Schema$ListWasmPluginsResponse>): void;
|
|
4322
|
+
list(params: Params$Resource$Projects$Locations$Wasmplugins$List, callback: BodyResponseCallback<Schema$ListWasmPluginsResponse>): void;
|
|
4323
|
+
list(callback: BodyResponseCallback<Schema$ListWasmPluginsResponse>): void;
|
|
4324
|
+
/**
|
|
4325
|
+
* Updates the parameters of the specified `WasmPlugin` resource.
|
|
4326
|
+
*
|
|
4327
|
+
* @param params - Parameters for request
|
|
4328
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4329
|
+
* @param callback - Optional callback that handles the response.
|
|
4330
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4331
|
+
*/
|
|
4332
|
+
patch(params: Params$Resource$Projects$Locations$Wasmplugins$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
4333
|
+
patch(params?: Params$Resource$Projects$Locations$Wasmplugins$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
4334
|
+
patch(params: Params$Resource$Projects$Locations$Wasmplugins$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4335
|
+
patch(params: Params$Resource$Projects$Locations$Wasmplugins$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4336
|
+
patch(params: Params$Resource$Projects$Locations$Wasmplugins$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4337
|
+
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4338
|
+
}
|
|
4339
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$Create extends StandardParameters {
|
|
4340
|
+
/**
|
|
4341
|
+
* Required. The parent resource of the `WasmPlugin` resource. Must be in the format `projects/{project\}/locations/global`.
|
|
4342
|
+
*/
|
|
4343
|
+
parent?: string;
|
|
4344
|
+
/**
|
|
4345
|
+
* Required. User-provided ID of the `WasmPlugin` resource to be created.
|
|
4346
|
+
*/
|
|
4347
|
+
wasmPluginId?: string;
|
|
4348
|
+
/**
|
|
4349
|
+
* Request body metadata
|
|
4350
|
+
*/
|
|
4351
|
+
requestBody?: Schema$WasmPlugin;
|
|
4352
|
+
}
|
|
4353
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$Delete extends StandardParameters {
|
|
4354
|
+
/**
|
|
4355
|
+
* Required. A name of the `WasmPlugin` resource to delete. Must be in the format `projects/{project\}/locations/global/wasmPlugins/{wasm_plugin\}`.
|
|
4356
|
+
*/
|
|
4357
|
+
name?: string;
|
|
4358
|
+
}
|
|
4359
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$Get extends StandardParameters {
|
|
4360
|
+
/**
|
|
4361
|
+
* Required. A name of the `WasmPlugin` resource to get. Must be in the format `projects/{project\}/locations/global/wasmPlugins/{wasm_plugin\}`.
|
|
4362
|
+
*/
|
|
4363
|
+
name?: string;
|
|
4364
|
+
/**
|
|
4365
|
+
* Determines how much data must be returned in the response. See [AIP-157](https://google.aip.dev/157).
|
|
4366
|
+
*/
|
|
4367
|
+
view?: string;
|
|
4368
|
+
}
|
|
4369
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$List extends StandardParameters {
|
|
4370
|
+
/**
|
|
4371
|
+
* Maximum number of `WasmPlugin` resources to return per call. If not specified, at most 50 `WasmPlugin` resources are returned. The maximum value is 1000; values above 1000 are coerced to 1000.
|
|
4372
|
+
*/
|
|
4373
|
+
pageSize?: number;
|
|
4374
|
+
/**
|
|
4375
|
+
* The value returned by the last `ListWasmPluginsResponse` call. Indicates that this is a continuation of a prior `ListWasmPlugins` call, and that the next page of data is to be returned.
|
|
4376
|
+
*/
|
|
4377
|
+
pageToken?: string;
|
|
4378
|
+
/**
|
|
4379
|
+
* Required. The project and location from which the `WasmPlugin` resources are listed, specified in the following format: `projects/{project\}/locations/global`.
|
|
4380
|
+
*/
|
|
4381
|
+
parent?: string;
|
|
4382
|
+
}
|
|
4383
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$Patch extends StandardParameters {
|
|
4384
|
+
/**
|
|
4385
|
+
* Identifier. Name of the `WasmPlugin` resource in the following format: `projects/{project\}/locations/{location\}/wasmPlugins/{wasm_plugin\}`.
|
|
4386
|
+
*/
|
|
4387
|
+
name?: string;
|
|
4388
|
+
/**
|
|
4389
|
+
* Optional. Used to specify the fields to be overwritten in the `WasmPlugin` resource by the update. The fields specified in the `update_mask` field are relative to the resource, not the full request. An omitted `update_mask` field is treated as an implied `update_mask` field equivalent to all fields that are populated (that have a non-empty value). The `update_mask` field supports a special value `*`, which means that each field in the given `WasmPlugin` resource (including the empty ones) replaces the current value.
|
|
4390
|
+
*/
|
|
4391
|
+
updateMask?: string;
|
|
4392
|
+
/**
|
|
4393
|
+
* Request body metadata
|
|
4394
|
+
*/
|
|
4395
|
+
requestBody?: Schema$WasmPlugin;
|
|
4396
|
+
}
|
|
4397
|
+
export class Resource$Projects$Locations$Wasmplugins$Versions {
|
|
4398
|
+
context: APIRequestContext;
|
|
4399
|
+
constructor(context: APIRequestContext);
|
|
4400
|
+
/**
|
|
4401
|
+
* Creates a new `WasmPluginVersion` resource in a given project and location.
|
|
4402
|
+
*
|
|
4403
|
+
* @param params - Parameters for request
|
|
4404
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4405
|
+
* @param callback - Optional callback that handles the response.
|
|
4406
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4407
|
+
*/
|
|
4408
|
+
create(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
4409
|
+
create(params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
4410
|
+
create(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4411
|
+
create(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4412
|
+
create(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4413
|
+
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4414
|
+
/**
|
|
4415
|
+
* Deletes the specified `WasmPluginVersion` resource.
|
|
4416
|
+
*
|
|
4417
|
+
* @param params - Parameters for request
|
|
4418
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4419
|
+
* @param callback - Optional callback that handles the response.
|
|
4420
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4421
|
+
*/
|
|
4422
|
+
delete(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
4423
|
+
delete(params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
4424
|
+
delete(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4425
|
+
delete(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4426
|
+
delete(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4427
|
+
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4428
|
+
/**
|
|
4429
|
+
* Gets details of the specified `WasmPluginVersion` resource.
|
|
4430
|
+
*
|
|
4431
|
+
* @param params - Parameters for request
|
|
4432
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4433
|
+
* @param callback - Optional callback that handles the response.
|
|
4434
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4435
|
+
*/
|
|
4436
|
+
get(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
4437
|
+
get(params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get, options?: MethodOptions): GaxiosPromise<Schema$WasmPluginVersion>;
|
|
4438
|
+
get(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4439
|
+
get(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get, options: MethodOptions | BodyResponseCallback<Schema$WasmPluginVersion>, callback: BodyResponseCallback<Schema$WasmPluginVersion>): void;
|
|
4440
|
+
get(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get, callback: BodyResponseCallback<Schema$WasmPluginVersion>): void;
|
|
4441
|
+
get(callback: BodyResponseCallback<Schema$WasmPluginVersion>): void;
|
|
4442
|
+
/**
|
|
4443
|
+
* Lists `WasmPluginVersion` resources in a given project and location.
|
|
4444
|
+
*
|
|
4445
|
+
* @param params - Parameters for request
|
|
4446
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4447
|
+
* @param callback - Optional callback that handles the response.
|
|
4448
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4449
|
+
*/
|
|
4450
|
+
list(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
4451
|
+
list(params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$List, options?: MethodOptions): GaxiosPromise<Schema$ListWasmPluginVersionsResponse>;
|
|
4452
|
+
list(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4453
|
+
list(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List, options: MethodOptions | BodyResponseCallback<Schema$ListWasmPluginVersionsResponse>, callback: BodyResponseCallback<Schema$ListWasmPluginVersionsResponse>): void;
|
|
4454
|
+
list(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List, callback: BodyResponseCallback<Schema$ListWasmPluginVersionsResponse>): void;
|
|
4455
|
+
list(callback: BodyResponseCallback<Schema$ListWasmPluginVersionsResponse>): void;
|
|
4456
|
+
}
|
|
4457
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$Versions$Create extends StandardParameters {
|
|
4458
|
+
/**
|
|
4459
|
+
* Required. The parent resource of the `WasmPluginVersion` resource. Must be in the format `projects/{project\}/locations/global/wasmPlugins/{wasm_plugin\}`.
|
|
4460
|
+
*/
|
|
4461
|
+
parent?: string;
|
|
4462
|
+
/**
|
|
4463
|
+
* Required. User-provided ID of the `WasmPluginVersion` resource to be created.
|
|
4464
|
+
*/
|
|
4465
|
+
wasmPluginVersionId?: string;
|
|
4466
|
+
/**
|
|
4467
|
+
* Request body metadata
|
|
4468
|
+
*/
|
|
4469
|
+
requestBody?: Schema$WasmPluginVersion;
|
|
4470
|
+
}
|
|
4471
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete extends StandardParameters {
|
|
4472
|
+
/**
|
|
4473
|
+
* Required. A name of the `WasmPluginVersion` resource to delete. Must be in the format `projects/{project\}/locations/global/wasmPlugins/{wasm_plugin\}/versions/{wasm_plugin_version\}`.
|
|
4474
|
+
*/
|
|
4475
|
+
name?: string;
|
|
4476
|
+
}
|
|
4477
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$Versions$Get extends StandardParameters {
|
|
4478
|
+
/**
|
|
4479
|
+
* Required. A name of the `WasmPluginVersion` resource to get. Must be in the format `projects/{project\}/locations/global/wasmPlugins/{wasm_plugin\}/versions/{wasm_plugin_version\}`.
|
|
4480
|
+
*/
|
|
4481
|
+
name?: string;
|
|
4482
|
+
}
|
|
4483
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$Versions$List extends StandardParameters {
|
|
4484
|
+
/**
|
|
4485
|
+
* Maximum number of `WasmPluginVersion` resources to return per call. If not specified, at most 50 `WasmPluginVersion` resources are returned. The maximum value is 1000; values above 1000 are coerced to 1000.
|
|
4486
|
+
*/
|
|
4487
|
+
pageSize?: number;
|
|
4488
|
+
/**
|
|
4489
|
+
* The value returned by the last `ListWasmPluginVersionsResponse` call. Indicates that this is a continuation of a prior `ListWasmPluginVersions` call, and that the next page of data is to be returned.
|
|
4490
|
+
*/
|
|
4491
|
+
pageToken?: string;
|
|
4492
|
+
/**
|
|
4493
|
+
* Required. The `WasmPlugin` resource whose `WasmPluginVersion`s are listed, specified in the following format: `projects/{project\}/locations/global/wasmPlugins/{wasm_plugin\}`.
|
|
4494
|
+
*/
|
|
4495
|
+
parent?: string;
|
|
4496
|
+
}
|
|
3686
4497
|
export {};
|
|
3687
4498
|
}
|