@googleapis/networkservices 20.0.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 +26 -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/v1beta1.d.ts
CHANGED
|
@@ -72,33 +72,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
72
72
|
constructor(options: GlobalOptions, google?: GoogleConfigurable);
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
76
|
-
*/
|
|
77
|
-
export interface Schema$AuditConfig {
|
|
78
|
-
/**
|
|
79
|
-
* The configuration for logging of each type of permission.
|
|
80
|
-
*/
|
|
81
|
-
auditLogConfigs?: Schema$AuditLogConfig[];
|
|
82
|
-
/**
|
|
83
|
-
* Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
|
|
84
|
-
*/
|
|
85
|
-
service?: string | null;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \} ] \} This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
|
|
89
|
-
*/
|
|
90
|
-
export interface Schema$AuditLogConfig {
|
|
91
|
-
/**
|
|
92
|
-
* Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
|
|
93
|
-
*/
|
|
94
|
-
exemptedMembers?: string[] | null;
|
|
95
|
-
/**
|
|
96
|
-
* The log type that this config enables.
|
|
97
|
-
*/
|
|
98
|
-
logType?: string | null;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* `AuthzExtension` is a resource that allows traffic forwarding to a callout backend to make an authorization decision.
|
|
75
|
+
* `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an authorization decision.
|
|
102
76
|
*/
|
|
103
77
|
export interface Schema$AuthzExtension {
|
|
104
78
|
/**
|
|
@@ -128,7 +102,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
128
102
|
[key: string]: string;
|
|
129
103
|
} | null;
|
|
130
104
|
/**
|
|
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 [
|
|
105
|
+
* 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
106
|
*/
|
|
133
107
|
loadBalancingScheme?: string | null;
|
|
134
108
|
/**
|
|
@@ -142,7 +116,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
142
116
|
*/
|
|
143
117
|
name?: string | null;
|
|
144
118
|
/**
|
|
145
|
-
* Required. The reference to the service that runs the extension.
|
|
119
|
+
* 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
120
|
*/
|
|
147
121
|
service?: string | null;
|
|
148
122
|
/**
|
|
@@ -158,23 +132,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
158
132
|
*/
|
|
159
133
|
wireFormat?: string | null;
|
|
160
134
|
}
|
|
161
|
-
/**
|
|
162
|
-
* Associates `members`, or principals, with a `role`.
|
|
163
|
-
*/
|
|
164
|
-
export interface Schema$Binding {
|
|
165
|
-
/**
|
|
166
|
-
* The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
167
|
-
*/
|
|
168
|
-
condition?: Schema$Expr;
|
|
169
|
-
/**
|
|
170
|
-
* Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid\}.svc.id.goog[{namespace\}/{kubernetes-sa\}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
|
|
171
|
-
*/
|
|
172
|
-
members?: string[] | null;
|
|
173
|
-
/**
|
|
174
|
-
* Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
|
|
175
|
-
*/
|
|
176
|
-
role?: string | null;
|
|
177
|
-
}
|
|
178
135
|
/**
|
|
179
136
|
* The request message for Operations.CancelOperation.
|
|
180
137
|
*/
|
|
@@ -245,27 +202,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
245
202
|
*/
|
|
246
203
|
updateTime?: string | null;
|
|
247
204
|
}
|
|
248
|
-
/**
|
|
249
|
-
* Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
|
|
250
|
-
*/
|
|
251
|
-
export interface Schema$Expr {
|
|
252
|
-
/**
|
|
253
|
-
* Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
|
|
254
|
-
*/
|
|
255
|
-
description?: string | null;
|
|
256
|
-
/**
|
|
257
|
-
* Textual representation of an expression in Common Expression Language syntax.
|
|
258
|
-
*/
|
|
259
|
-
expression?: string | null;
|
|
260
|
-
/**
|
|
261
|
-
* Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
|
|
262
|
-
*/
|
|
263
|
-
location?: string | null;
|
|
264
|
-
/**
|
|
265
|
-
* Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
|
|
266
|
-
*/
|
|
267
|
-
title?: string | null;
|
|
268
|
-
}
|
|
269
205
|
/**
|
|
270
206
|
* A single extension chain wrapper that contains the match conditions and extensions to execute.
|
|
271
207
|
*/
|
|
@@ -288,7 +224,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
288
224
|
*/
|
|
289
225
|
export interface Schema$ExtensionChainExtension {
|
|
290
226
|
/**
|
|
291
|
-
* Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions.
|
|
227
|
+
* 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.
|
|
292
228
|
*/
|
|
293
229
|
authority?: string | null;
|
|
294
230
|
/**
|
|
@@ -299,20 +235,26 @@ export declare namespace networkservices_v1beta1 {
|
|
|
299
235
|
* 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.
|
|
300
236
|
*/
|
|
301
237
|
forwardHeaders?: string[] | null;
|
|
238
|
+
/**
|
|
239
|
+
* 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.
|
|
240
|
+
*/
|
|
241
|
+
metadata?: {
|
|
242
|
+
[key: string]: any;
|
|
243
|
+
} | null;
|
|
302
244
|
/**
|
|
303
245
|
* 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.
|
|
304
246
|
*/
|
|
305
247
|
name?: string | null;
|
|
306
248
|
/**
|
|
307
|
-
* Required. The reference to the service that runs the extension.
|
|
249
|
+
* 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.
|
|
308
250
|
*/
|
|
309
251
|
service?: string | null;
|
|
310
252
|
/**
|
|
311
|
-
* 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.
|
|
253
|
+
* 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.
|
|
312
254
|
*/
|
|
313
255
|
supportedEvents?: string[] | null;
|
|
314
256
|
/**
|
|
315
|
-
* Optional. Specifies the timeout for each individual message on the stream. The timeout must be between 10
|
|
257
|
+
* 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.
|
|
316
258
|
*/
|
|
317
259
|
timeout?: string | null;
|
|
318
260
|
}
|
|
@@ -326,7 +268,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
326
268
|
celExpression?: string | null;
|
|
327
269
|
}
|
|
328
270
|
/**
|
|
329
|
-
* 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.
|
|
271
|
+
* 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.
|
|
330
272
|
*/
|
|
331
273
|
export interface Schema$Gateway {
|
|
332
274
|
/**
|
|
@@ -380,7 +322,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
380
322
|
*/
|
|
381
323
|
routingMode?: string | null;
|
|
382
324
|
/**
|
|
383
|
-
* 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
|
|
325
|
+
* 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.
|
|
384
326
|
*/
|
|
385
327
|
scope?: string | null;
|
|
386
328
|
/**
|
|
@@ -404,6 +346,31 @@ export declare namespace networkservices_v1beta1 {
|
|
|
404
346
|
*/
|
|
405
347
|
updateTime?: string | null;
|
|
406
348
|
}
|
|
349
|
+
/**
|
|
350
|
+
* GatewayRouteView defines view-only resource for Routes to a Gateway
|
|
351
|
+
*/
|
|
352
|
+
export interface Schema$GatewayRouteView {
|
|
353
|
+
/**
|
|
354
|
+
* Output only. Identifier. Full path name of the GatewayRouteView resource. Format: projects/{project_number\}/locations/{location\}/gateways/{gateway_name\}/routeViews/{route_view_name\}
|
|
355
|
+
*/
|
|
356
|
+
name?: string | null;
|
|
357
|
+
/**
|
|
358
|
+
* Output only. The resource id for the route.
|
|
359
|
+
*/
|
|
360
|
+
routeId?: string | null;
|
|
361
|
+
/**
|
|
362
|
+
* Output only. Location where the route exists.
|
|
363
|
+
*/
|
|
364
|
+
routeLocation?: string | null;
|
|
365
|
+
/**
|
|
366
|
+
* Output only. Project number where the route exists.
|
|
367
|
+
*/
|
|
368
|
+
routeProjectNumber?: string | null;
|
|
369
|
+
/**
|
|
370
|
+
* Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute
|
|
371
|
+
*/
|
|
372
|
+
routeType?: string | null;
|
|
373
|
+
}
|
|
407
374
|
/**
|
|
408
375
|
* GrpcRoute is the resource defining how gRPC traffic routed by a Mesh or Gateway resource is routed.
|
|
409
376
|
*/
|
|
@@ -416,6 +383,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
416
383
|
* Optional. A free-text description of the resource. Max length 1024 characters.
|
|
417
384
|
*/
|
|
418
385
|
description?: string | null;
|
|
386
|
+
/**
|
|
387
|
+
* 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.
|
|
388
|
+
*/
|
|
389
|
+
etag?: string | null;
|
|
419
390
|
/**
|
|
420
391
|
* 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/`
|
|
421
392
|
*/
|
|
@@ -630,6 +601,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
630
601
|
* Optional. A free-text description of the resource. Max length 1024 characters.
|
|
631
602
|
*/
|
|
632
603
|
description?: string | null;
|
|
604
|
+
/**
|
|
605
|
+
* 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.
|
|
606
|
+
*/
|
|
607
|
+
etag?: string | null;
|
|
633
608
|
/**
|
|
634
609
|
* 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/`
|
|
635
610
|
*/
|
|
@@ -1072,7 +1047,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1072
1047
|
*/
|
|
1073
1048
|
extensionChains?: Schema$ExtensionChain[];
|
|
1074
1049
|
/**
|
|
1075
|
-
* Required. A list of references to the forwarding rules to which this service extension is attached
|
|
1050
|
+
* 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.
|
|
1076
1051
|
*/
|
|
1077
1052
|
forwardingRules?: string[] | null;
|
|
1078
1053
|
/**
|
|
@@ -1082,11 +1057,11 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1082
1057
|
[key: string]: string;
|
|
1083
1058
|
} | null;
|
|
1084
1059
|
/**
|
|
1085
|
-
* 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 [
|
|
1060
|
+
* 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).
|
|
1086
1061
|
*/
|
|
1087
1062
|
loadBalancingScheme?: string | null;
|
|
1088
1063
|
/**
|
|
1089
|
-
* 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.
|
|
1064
|
+
* 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.
|
|
1090
1065
|
*/
|
|
1091
1066
|
metadata?: {
|
|
1092
1067
|
[key: string]: any;
|
|
@@ -1117,7 +1092,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1117
1092
|
*/
|
|
1118
1093
|
extensionChains?: Schema$ExtensionChain[];
|
|
1119
1094
|
/**
|
|
1120
|
-
*
|
|
1095
|
+
* 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.
|
|
1121
1096
|
*/
|
|
1122
1097
|
forwardingRules?: string[] | null;
|
|
1123
1098
|
/**
|
|
@@ -1127,11 +1102,11 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1127
1102
|
[key: string]: string;
|
|
1128
1103
|
} | null;
|
|
1129
1104
|
/**
|
|
1130
|
-
* 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 [
|
|
1105
|
+
* 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).
|
|
1131
1106
|
*/
|
|
1132
1107
|
loadBalancingScheme?: string | null;
|
|
1133
1108
|
/**
|
|
1134
|
-
* 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.
|
|
1109
|
+
* 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.
|
|
1135
1110
|
*/
|
|
1136
1111
|
metadata?: {
|
|
1137
1112
|
[key: string]: any;
|
|
@@ -1175,6 +1150,19 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1175
1150
|
*/
|
|
1176
1151
|
nextPageToken?: string | null;
|
|
1177
1152
|
}
|
|
1153
|
+
/**
|
|
1154
|
+
* Response returned by the ListGatewayRouteViews method.
|
|
1155
|
+
*/
|
|
1156
|
+
export interface Schema$ListGatewayRouteViewsResponse {
|
|
1157
|
+
/**
|
|
1158
|
+
* List of GatewayRouteView resources.
|
|
1159
|
+
*/
|
|
1160
|
+
gatewayRouteViews?: Schema$GatewayRouteView[];
|
|
1161
|
+
/**
|
|
1162
|
+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
|
1163
|
+
*/
|
|
1164
|
+
nextPageToken?: string | null;
|
|
1165
|
+
}
|
|
1178
1166
|
/**
|
|
1179
1167
|
* Response returned by the ListGateways method.
|
|
1180
1168
|
*/
|
|
@@ -1278,6 +1266,19 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1278
1266
|
*/
|
|
1279
1267
|
nextPageToken?: string | null;
|
|
1280
1268
|
}
|
|
1269
|
+
/**
|
|
1270
|
+
* Response returned by the ListMeshRouteViews method.
|
|
1271
|
+
*/
|
|
1272
|
+
export interface Schema$ListMeshRouteViewsResponse {
|
|
1273
|
+
/**
|
|
1274
|
+
* List of MeshRouteView resources.
|
|
1275
|
+
*/
|
|
1276
|
+
meshRouteViews?: Schema$MeshRouteView[];
|
|
1277
|
+
/**
|
|
1278
|
+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
|
1279
|
+
*/
|
|
1280
|
+
nextPageToken?: string | null;
|
|
1281
|
+
}
|
|
1281
1282
|
/**
|
|
1282
1283
|
* The response message for Operations.ListOperations.
|
|
1283
1284
|
*/
|
|
@@ -1343,6 +1344,32 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1343
1344
|
*/
|
|
1344
1345
|
tlsRoutes?: Schema$TlsRoute[];
|
|
1345
1346
|
}
|
|
1347
|
+
/**
|
|
1348
|
+
* Response returned by the `ListWasmPlugins` method.
|
|
1349
|
+
*/
|
|
1350
|
+
export interface Schema$ListWasmPluginsResponse {
|
|
1351
|
+
/**
|
|
1352
|
+
* 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`.
|
|
1353
|
+
*/
|
|
1354
|
+
nextPageToken?: string | null;
|
|
1355
|
+
/**
|
|
1356
|
+
* List of `WasmPlugin` resources.
|
|
1357
|
+
*/
|
|
1358
|
+
wasmPlugins?: Schema$WasmPlugin[];
|
|
1359
|
+
}
|
|
1360
|
+
/**
|
|
1361
|
+
* Response returned by the `ListWasmPluginVersions` method.
|
|
1362
|
+
*/
|
|
1363
|
+
export interface Schema$ListWasmPluginVersionsResponse {
|
|
1364
|
+
/**
|
|
1365
|
+
* 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`.
|
|
1366
|
+
*/
|
|
1367
|
+
nextPageToken?: string | null;
|
|
1368
|
+
/**
|
|
1369
|
+
* List of `WasmPluginVersion` resources.
|
|
1370
|
+
*/
|
|
1371
|
+
wasmPluginVersions?: Schema$WasmPluginVersion[];
|
|
1372
|
+
}
|
|
1346
1373
|
/**
|
|
1347
1374
|
* A resource that represents a Google Cloud location.
|
|
1348
1375
|
*/
|
|
@@ -1372,6 +1399,15 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1372
1399
|
*/
|
|
1373
1400
|
name?: string | null;
|
|
1374
1401
|
}
|
|
1402
|
+
/**
|
|
1403
|
+
* The configuration for Platform Telemetry logging for Eventarc Advanced resources.
|
|
1404
|
+
*/
|
|
1405
|
+
export interface Schema$LoggingConfig {
|
|
1406
|
+
/**
|
|
1407
|
+
* 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.
|
|
1408
|
+
*/
|
|
1409
|
+
logSeverity?: string | null;
|
|
1410
|
+
}
|
|
1375
1411
|
/**
|
|
1376
1412
|
* 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.
|
|
1377
1413
|
*/
|
|
@@ -1411,6 +1447,31 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1411
1447
|
*/
|
|
1412
1448
|
updateTime?: string | null;
|
|
1413
1449
|
}
|
|
1450
|
+
/**
|
|
1451
|
+
* MeshRouteView defines view-only resource for Routes to a Mesh
|
|
1452
|
+
*/
|
|
1453
|
+
export interface Schema$MeshRouteView {
|
|
1454
|
+
/**
|
|
1455
|
+
* Output only. Identifier. Full path name of the MeshRouteView resource. Format: projects/{project_number\}/locations/{location\}/meshes/{mesh_name\}/routeViews/{route_view_name\}
|
|
1456
|
+
*/
|
|
1457
|
+
name?: string | null;
|
|
1458
|
+
/**
|
|
1459
|
+
* Output only. The resource id for the route.
|
|
1460
|
+
*/
|
|
1461
|
+
routeId?: string | null;
|
|
1462
|
+
/**
|
|
1463
|
+
* Output only. Location where the route exists.
|
|
1464
|
+
*/
|
|
1465
|
+
routeLocation?: string | null;
|
|
1466
|
+
/**
|
|
1467
|
+
* Output only. Project number where the route exists.
|
|
1468
|
+
*/
|
|
1469
|
+
routeProjectNumber?: string | null;
|
|
1470
|
+
/**
|
|
1471
|
+
* Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute
|
|
1472
|
+
*/
|
|
1473
|
+
routeType?: string | null;
|
|
1474
|
+
}
|
|
1414
1475
|
/**
|
|
1415
1476
|
* The matcher that is based on node metadata presented by xDS clients.
|
|
1416
1477
|
*/
|
|
@@ -1499,26 +1560,11 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1499
1560
|
*/
|
|
1500
1561
|
verb?: string | null;
|
|
1501
1562
|
}
|
|
1502
|
-
|
|
1503
|
-
* An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] \}, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", \} \} ], "etag": "BwWWja0YfJA=", "version": 3 \} ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
1504
|
-
*/
|
|
1505
|
-
export interface Schema$Policy {
|
|
1506
|
-
/**
|
|
1507
|
-
* Specifies cloud audit logging configuration for this policy.
|
|
1508
|
-
*/
|
|
1509
|
-
auditConfigs?: Schema$AuditConfig[];
|
|
1510
|
-
/**
|
|
1511
|
-
* Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
|
|
1512
|
-
*/
|
|
1513
|
-
bindings?: Schema$Binding[];
|
|
1563
|
+
export interface Schema$RetryFilterPerRouteConfig {
|
|
1514
1564
|
/**
|
|
1515
|
-
*
|
|
1565
|
+
* The name of the crypto key to use for encrypting event data.
|
|
1516
1566
|
*/
|
|
1517
|
-
|
|
1518
|
-
/**
|
|
1519
|
-
* Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1520
|
-
*/
|
|
1521
|
-
version?: number | null;
|
|
1567
|
+
cryptoKeyName?: string | null;
|
|
1522
1568
|
}
|
|
1523
1569
|
/**
|
|
1524
1570
|
* ServiceBinding is the resource that defines a Service Directory Service to be used in a BackendService resource.
|
|
@@ -1586,7 +1632,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1586
1632
|
*/
|
|
1587
1633
|
loadBalancingAlgorithm?: string | null;
|
|
1588
1634
|
/**
|
|
1589
|
-
*
|
|
1635
|
+
* Identifier. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project\}/locations/{location\}/serviceLbPolicies/{service_lb_policy_name\}`.
|
|
1590
1636
|
*/
|
|
1591
1637
|
name?: string | null;
|
|
1592
1638
|
/**
|
|
@@ -1612,19 +1658,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1612
1658
|
*/
|
|
1613
1659
|
failoverHealthThreshold?: number | null;
|
|
1614
1660
|
}
|
|
1615
|
-
/**
|
|
1616
|
-
* Request message for `SetIamPolicy` method.
|
|
1617
|
-
*/
|
|
1618
|
-
export interface Schema$SetIamPolicyRequest {
|
|
1619
|
-
/**
|
|
1620
|
-
* REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.
|
|
1621
|
-
*/
|
|
1622
|
-
policy?: Schema$Policy;
|
|
1623
|
-
/**
|
|
1624
|
-
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"`
|
|
1625
|
-
*/
|
|
1626
|
-
updateMask?: string | null;
|
|
1627
|
-
}
|
|
1628
1661
|
/**
|
|
1629
1662
|
* The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1630
1663
|
*/
|
|
@@ -1656,6 +1689,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1656
1689
|
* Optional. A free-text description of the resource. Max length 1024 characters.
|
|
1657
1690
|
*/
|
|
1658
1691
|
description?: string | null;
|
|
1692
|
+
/**
|
|
1693
|
+
* 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.
|
|
1694
|
+
*/
|
|
1695
|
+
etag?: string | null;
|
|
1659
1696
|
/**
|
|
1660
1697
|
* 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/`
|
|
1661
1698
|
*/
|
|
@@ -1743,24 +1780,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1743
1780
|
*/
|
|
1744
1781
|
matches?: Schema$TcpRouteRouteMatch[];
|
|
1745
1782
|
}
|
|
1746
|
-
/**
|
|
1747
|
-
* Request message for `TestIamPermissions` method.
|
|
1748
|
-
*/
|
|
1749
|
-
export interface Schema$TestIamPermissionsRequest {
|
|
1750
|
-
/**
|
|
1751
|
-
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
1752
|
-
*/
|
|
1753
|
-
permissions?: string[] | null;
|
|
1754
|
-
}
|
|
1755
|
-
/**
|
|
1756
|
-
* Response message for `TestIamPermissions` method.
|
|
1757
|
-
*/
|
|
1758
|
-
export interface Schema$TestIamPermissionsResponse {
|
|
1759
|
-
/**
|
|
1760
|
-
* A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
|
1761
|
-
*/
|
|
1762
|
-
permissions?: string[] | null;
|
|
1763
|
-
}
|
|
1764
1783
|
/**
|
|
1765
1784
|
* TlsRoute defines how traffic should be routed based on SNI and other matching L3 attributes.
|
|
1766
1785
|
*/
|
|
@@ -1773,6 +1792,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1773
1792
|
* Optional. A free-text description of the resource. Max length 1024 characters.
|
|
1774
1793
|
*/
|
|
1775
1794
|
description?: string | null;
|
|
1795
|
+
/**
|
|
1796
|
+
* 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.
|
|
1797
|
+
*/
|
|
1798
|
+
etag?: string | null;
|
|
1776
1799
|
/**
|
|
1777
1800
|
* 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/`
|
|
1778
1801
|
*/
|
|
@@ -1865,6 +1888,167 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1865
1888
|
*/
|
|
1866
1889
|
ports?: string[] | null;
|
|
1867
1890
|
}
|
|
1891
|
+
/**
|
|
1892
|
+
* `WasmPlugin` is a resource representing a service executing a customer-provided Wasm module.
|
|
1893
|
+
*/
|
|
1894
|
+
export interface Schema$WasmPlugin {
|
|
1895
|
+
/**
|
|
1896
|
+
* Output only. The timestamp when the resource was created.
|
|
1897
|
+
*/
|
|
1898
|
+
createTime?: string | null;
|
|
1899
|
+
/**
|
|
1900
|
+
* Optional. A human-readable description of the resource.
|
|
1901
|
+
*/
|
|
1902
|
+
description?: string | null;
|
|
1903
|
+
/**
|
|
1904
|
+
* Optional. Set of labels associated with the `WasmPlugin` resource. The format must comply with [the following requirements](/compute/docs/labeling-resources#requirements).
|
|
1905
|
+
*/
|
|
1906
|
+
labels?: {
|
|
1907
|
+
[key: string]: string;
|
|
1908
|
+
} | null;
|
|
1909
|
+
/**
|
|
1910
|
+
* 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.
|
|
1911
|
+
*/
|
|
1912
|
+
logConfig?: Schema$WasmPluginLogConfig;
|
|
1913
|
+
/**
|
|
1914
|
+
* 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.
|
|
1915
|
+
*/
|
|
1916
|
+
mainVersionId?: string | null;
|
|
1917
|
+
/**
|
|
1918
|
+
* Identifier. Name of the `WasmPlugin` resource in the following format: `projects/{project\}/locations/{location\}/wasmPlugins/{wasm_plugin\}`.
|
|
1919
|
+
*/
|
|
1920
|
+
name?: string | null;
|
|
1921
|
+
/**
|
|
1922
|
+
* Output only. The timestamp when the resource was updated.
|
|
1923
|
+
*/
|
|
1924
|
+
updateTime?: string | null;
|
|
1925
|
+
/**
|
|
1926
|
+
* Output only. List of all [extensions](https://cloud.google.com/service-extensions/docs/overview) that use this `WasmPlugin` resource.
|
|
1927
|
+
*/
|
|
1928
|
+
usedBy?: Schema$WasmPluginUsedBy[];
|
|
1929
|
+
/**
|
|
1930
|
+
* 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`.
|
|
1931
|
+
*/
|
|
1932
|
+
versions?: {
|
|
1933
|
+
[key: string]: Schema$WasmPluginVersionDetails;
|
|
1934
|
+
} | null;
|
|
1935
|
+
}
|
|
1936
|
+
/**
|
|
1937
|
+
* Specifies the logging options for the activity performed by this plugin. If logging is enabled, plugin logs are exported to Cloud Logging.
|
|
1938
|
+
*/
|
|
1939
|
+
export interface Schema$WasmPluginLogConfig {
|
|
1940
|
+
/**
|
|
1941
|
+
* Optional. Specifies whether to enable logging for activity by this plugin. Defaults to `false`.
|
|
1942
|
+
*/
|
|
1943
|
+
enable?: boolean | null;
|
|
1944
|
+
/**
|
|
1945
|
+
* 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.
|
|
1946
|
+
*/
|
|
1947
|
+
minLogLevel?: string | null;
|
|
1948
|
+
/**
|
|
1949
|
+
* 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.
|
|
1950
|
+
*/
|
|
1951
|
+
sampleRate?: number | null;
|
|
1952
|
+
}
|
|
1953
|
+
/**
|
|
1954
|
+
* Defines a resource that uses the `WasmPlugin` resource.
|
|
1955
|
+
*/
|
|
1956
|
+
export interface Schema$WasmPluginUsedBy {
|
|
1957
|
+
/**
|
|
1958
|
+
* 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\}`
|
|
1959
|
+
*/
|
|
1960
|
+
name?: string | null;
|
|
1961
|
+
}
|
|
1962
|
+
/**
|
|
1963
|
+
* A single immutable version of a `WasmPlugin` resource. Defines the Wasm module used and optionally its runtime config.
|
|
1964
|
+
*/
|
|
1965
|
+
export interface Schema$WasmPluginVersion {
|
|
1966
|
+
/**
|
|
1967
|
+
* Output only. The timestamp when the resource was created.
|
|
1968
|
+
*/
|
|
1969
|
+
createTime?: string | null;
|
|
1970
|
+
/**
|
|
1971
|
+
* Optional. A human-readable description of the resource.
|
|
1972
|
+
*/
|
|
1973
|
+
description?: string | null;
|
|
1974
|
+
/**
|
|
1975
|
+
* 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.
|
|
1976
|
+
*/
|
|
1977
|
+
imageDigest?: string | null;
|
|
1978
|
+
/**
|
|
1979
|
+
* 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.
|
|
1980
|
+
*/
|
|
1981
|
+
imageUri?: string | null;
|
|
1982
|
+
/**
|
|
1983
|
+
* Optional. Set of labels associated with the `WasmPluginVersion` resource.
|
|
1984
|
+
*/
|
|
1985
|
+
labels?: {
|
|
1986
|
+
[key: string]: string;
|
|
1987
|
+
} | null;
|
|
1988
|
+
/**
|
|
1989
|
+
* Identifier. Name of the `WasmPluginVersion` resource in the following format: `projects/{project\}/locations/{location\}/wasmPlugins/{wasm_plugin\}/ versions/{wasm_plugin_version\}`.
|
|
1990
|
+
*/
|
|
1991
|
+
name?: string | null;
|
|
1992
|
+
/**
|
|
1993
|
+
* 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.
|
|
1994
|
+
*/
|
|
1995
|
+
pluginConfigData?: string | null;
|
|
1996
|
+
/**
|
|
1997
|
+
* 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.
|
|
1998
|
+
*/
|
|
1999
|
+
pluginConfigDigest?: string | null;
|
|
2000
|
+
/**
|
|
2001
|
+
* 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.
|
|
2002
|
+
*/
|
|
2003
|
+
pluginConfigUri?: string | null;
|
|
2004
|
+
/**
|
|
2005
|
+
* Output only. The timestamp when the resource was updated.
|
|
2006
|
+
*/
|
|
2007
|
+
updateTime?: string | null;
|
|
2008
|
+
}
|
|
2009
|
+
/**
|
|
2010
|
+
* Details of a `WasmPluginVersion` resource to be inlined in the `WasmPlugin` resource.
|
|
2011
|
+
*/
|
|
2012
|
+
export interface Schema$WasmPluginVersionDetails {
|
|
2013
|
+
/**
|
|
2014
|
+
* Output only. The timestamp when the resource was created.
|
|
2015
|
+
*/
|
|
2016
|
+
createTime?: string | null;
|
|
2017
|
+
/**
|
|
2018
|
+
* Optional. A human-readable description of the resource.
|
|
2019
|
+
*/
|
|
2020
|
+
description?: string | null;
|
|
2021
|
+
/**
|
|
2022
|
+
* 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.
|
|
2023
|
+
*/
|
|
2024
|
+
imageDigest?: string | null;
|
|
2025
|
+
/**
|
|
2026
|
+
* 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.
|
|
2027
|
+
*/
|
|
2028
|
+
imageUri?: string | null;
|
|
2029
|
+
/**
|
|
2030
|
+
* Optional. Set of labels associated with the `WasmPluginVersion` resource.
|
|
2031
|
+
*/
|
|
2032
|
+
labels?: {
|
|
2033
|
+
[key: string]: string;
|
|
2034
|
+
} | null;
|
|
2035
|
+
/**
|
|
2036
|
+
* 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.
|
|
2037
|
+
*/
|
|
2038
|
+
pluginConfigData?: string | null;
|
|
2039
|
+
/**
|
|
2040
|
+
* 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.
|
|
2041
|
+
*/
|
|
2042
|
+
pluginConfigDigest?: string | null;
|
|
2043
|
+
/**
|
|
2044
|
+
* 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.
|
|
2045
|
+
*/
|
|
2046
|
+
pluginConfigUri?: string | null;
|
|
2047
|
+
/**
|
|
2048
|
+
* Output only. The timestamp when the resource was updated.
|
|
2049
|
+
*/
|
|
2050
|
+
updateTime?: string | null;
|
|
2051
|
+
}
|
|
1868
2052
|
export class Resource$Projects {
|
|
1869
2053
|
context: APIRequestContext;
|
|
1870
2054
|
locations: Resource$Projects$Locations;
|
|
@@ -1885,6 +2069,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1885
2069
|
serviceLbPolicies: Resource$Projects$Locations$Servicelbpolicies;
|
|
1886
2070
|
tcpRoutes: Resource$Projects$Locations$Tcproutes;
|
|
1887
2071
|
tlsRoutes: Resource$Projects$Locations$Tlsroutes;
|
|
2072
|
+
wasmPlugins: Resource$Projects$Locations$Wasmplugins;
|
|
1888
2073
|
constructor(context: APIRequestContext);
|
|
1889
2074
|
/**
|
|
1890
2075
|
* Gets information about a location.
|
|
@@ -2079,7 +2264,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2079
2264
|
*/
|
|
2080
2265
|
requestId?: string;
|
|
2081
2266
|
/**
|
|
2082
|
-
* 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.
|
|
2267
|
+
* 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.
|
|
2083
2268
|
*/
|
|
2084
2269
|
updateMask?: string;
|
|
2085
2270
|
/**
|
|
@@ -2217,6 +2402,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2217
2402
|
}
|
|
2218
2403
|
export class Resource$Projects$Locations$Gateways {
|
|
2219
2404
|
context: APIRequestContext;
|
|
2405
|
+
routeViews: Resource$Projects$Locations$Gateways$Routeviews;
|
|
2220
2406
|
constructor(context: APIRequestContext);
|
|
2221
2407
|
/**
|
|
2222
2408
|
* Creates a new Gateway in a given project and location.
|
|
@@ -2343,6 +2529,58 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2343
2529
|
*/
|
|
2344
2530
|
requestBody?: Schema$Gateway;
|
|
2345
2531
|
}
|
|
2532
|
+
export class Resource$Projects$Locations$Gateways$Routeviews {
|
|
2533
|
+
context: APIRequestContext;
|
|
2534
|
+
constructor(context: APIRequestContext);
|
|
2535
|
+
/**
|
|
2536
|
+
* Get a single RouteView of a Gateway.
|
|
2537
|
+
*
|
|
2538
|
+
* @param params - Parameters for request
|
|
2539
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2540
|
+
* @param callback - Optional callback that handles the response.
|
|
2541
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2542
|
+
*/
|
|
2543
|
+
get(params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2544
|
+
get(params?: Params$Resource$Projects$Locations$Gateways$Routeviews$Get, options?: MethodOptions): GaxiosPromise<Schema$GatewayRouteView>;
|
|
2545
|
+
get(params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2546
|
+
get(params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get, options: MethodOptions | BodyResponseCallback<Schema$GatewayRouteView>, callback: BodyResponseCallback<Schema$GatewayRouteView>): void;
|
|
2547
|
+
get(params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get, callback: BodyResponseCallback<Schema$GatewayRouteView>): void;
|
|
2548
|
+
get(callback: BodyResponseCallback<Schema$GatewayRouteView>): void;
|
|
2549
|
+
/**
|
|
2550
|
+
* Lists RouteViews
|
|
2551
|
+
*
|
|
2552
|
+
* @param params - Parameters for request
|
|
2553
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2554
|
+
* @param callback - Optional callback that handles the response.
|
|
2555
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2556
|
+
*/
|
|
2557
|
+
list(params: Params$Resource$Projects$Locations$Gateways$Routeviews$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2558
|
+
list(params?: Params$Resource$Projects$Locations$Gateways$Routeviews$List, options?: MethodOptions): GaxiosPromise<Schema$ListGatewayRouteViewsResponse>;
|
|
2559
|
+
list(params: Params$Resource$Projects$Locations$Gateways$Routeviews$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2560
|
+
list(params: Params$Resource$Projects$Locations$Gateways$Routeviews$List, options: MethodOptions | BodyResponseCallback<Schema$ListGatewayRouteViewsResponse>, callback: BodyResponseCallback<Schema$ListGatewayRouteViewsResponse>): void;
|
|
2561
|
+
list(params: Params$Resource$Projects$Locations$Gateways$Routeviews$List, callback: BodyResponseCallback<Schema$ListGatewayRouteViewsResponse>): void;
|
|
2562
|
+
list(callback: BodyResponseCallback<Schema$ListGatewayRouteViewsResponse>): void;
|
|
2563
|
+
}
|
|
2564
|
+
export interface Params$Resource$Projects$Locations$Gateways$Routeviews$Get extends StandardParameters {
|
|
2565
|
+
/**
|
|
2566
|
+
* Required. Name of the GatewayRouteView resource. Formats: projects/{project_number\}/locations/{location\}/gateways/{gateway_name\}/routeViews/{route_view_name\}
|
|
2567
|
+
*/
|
|
2568
|
+
name?: string;
|
|
2569
|
+
}
|
|
2570
|
+
export interface Params$Resource$Projects$Locations$Gateways$Routeviews$List extends StandardParameters {
|
|
2571
|
+
/**
|
|
2572
|
+
* Maximum number of GatewayRouteViews to return per call.
|
|
2573
|
+
*/
|
|
2574
|
+
pageSize?: number;
|
|
2575
|
+
/**
|
|
2576
|
+
* 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.
|
|
2577
|
+
*/
|
|
2578
|
+
pageToken?: string;
|
|
2579
|
+
/**
|
|
2580
|
+
* Required. The Gateway to which a Route is associated. Formats: projects/{project_number\}/locations/{location\}/gateways/{gateway_name\}
|
|
2581
|
+
*/
|
|
2582
|
+
parent?: string;
|
|
2583
|
+
}
|
|
2346
2584
|
export class Resource$Projects$Locations$Grpcroutes {
|
|
2347
2585
|
context: APIRequestContext;
|
|
2348
2586
|
constructor(context: APIRequestContext);
|
|
@@ -2432,6 +2670,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2432
2670
|
requestBody?: Schema$GrpcRoute;
|
|
2433
2671
|
}
|
|
2434
2672
|
export interface Params$Resource$Projects$Locations$Grpcroutes$Delete extends StandardParameters {
|
|
2673
|
+
/**
|
|
2674
|
+
* 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.
|
|
2675
|
+
*/
|
|
2676
|
+
etag?: string;
|
|
2435
2677
|
/**
|
|
2436
2678
|
* Required. A name of the GrpcRoute to delete. Must be in the format `projects/x/locations/global/grpcRoutes/x`.
|
|
2437
2679
|
*/
|
|
@@ -2560,6 +2802,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2560
2802
|
requestBody?: Schema$HttpRoute;
|
|
2561
2803
|
}
|
|
2562
2804
|
export interface Params$Resource$Projects$Locations$Httproutes$Delete extends StandardParameters {
|
|
2805
|
+
/**
|
|
2806
|
+
* 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.
|
|
2807
|
+
*/
|
|
2808
|
+
etag?: string;
|
|
2563
2809
|
/**
|
|
2564
2810
|
* Required. A name of the HttpRoute to delete. Must be in the format `projects/x/locations/global/httpRoutes/x`.
|
|
2565
2811
|
*/
|
|
@@ -2739,7 +2985,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2739
2985
|
*/
|
|
2740
2986
|
requestId?: string;
|
|
2741
2987
|
/**
|
|
2742
|
-
* 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.
|
|
2988
|
+
* 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.
|
|
2743
2989
|
*/
|
|
2744
2990
|
updateMask?: string;
|
|
2745
2991
|
/**
|
|
@@ -2887,7 +3133,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2887
3133
|
*/
|
|
2888
3134
|
requestId?: string;
|
|
2889
3135
|
/**
|
|
2890
|
-
* 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.
|
|
3136
|
+
* 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.
|
|
2891
3137
|
*/
|
|
2892
3138
|
updateMask?: string;
|
|
2893
3139
|
/**
|
|
@@ -2897,6 +3143,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
2897
3143
|
}
|
|
2898
3144
|
export class Resource$Projects$Locations$Meshes {
|
|
2899
3145
|
context: APIRequestContext;
|
|
3146
|
+
routeViews: Resource$Projects$Locations$Meshes$Routeviews;
|
|
2900
3147
|
constructor(context: APIRequestContext);
|
|
2901
3148
|
/**
|
|
2902
3149
|
* Creates a new Mesh in a given project and location.
|
|
@@ -3023,11 +3270,63 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3023
3270
|
*/
|
|
3024
3271
|
requestBody?: Schema$Mesh;
|
|
3025
3272
|
}
|
|
3273
|
+
export class Resource$Projects$Locations$Meshes$Routeviews {
|
|
3274
|
+
context: APIRequestContext;
|
|
3275
|
+
constructor(context: APIRequestContext);
|
|
3276
|
+
/**
|
|
3277
|
+
* Get a single RouteView of a Mesh.
|
|
3278
|
+
*
|
|
3279
|
+
* @param params - Parameters for request
|
|
3280
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3281
|
+
* @param callback - Optional callback that handles the response.
|
|
3282
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3283
|
+
*/
|
|
3284
|
+
get(params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3285
|
+
get(params?: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options?: MethodOptions): GaxiosPromise<Schema$MeshRouteView>;
|
|
3286
|
+
get(params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3287
|
+
get(params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, options: MethodOptions | BodyResponseCallback<Schema$MeshRouteView>, callback: BodyResponseCallback<Schema$MeshRouteView>): void;
|
|
3288
|
+
get(params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get, callback: BodyResponseCallback<Schema$MeshRouteView>): void;
|
|
3289
|
+
get(callback: BodyResponseCallback<Schema$MeshRouteView>): void;
|
|
3290
|
+
/**
|
|
3291
|
+
* Lists RouteViews
|
|
3292
|
+
*
|
|
3293
|
+
* @param params - Parameters for request
|
|
3294
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3295
|
+
* @param callback - Optional callback that handles the response.
|
|
3296
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3297
|
+
*/
|
|
3298
|
+
list(params: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3299
|
+
list(params?: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options?: MethodOptions): GaxiosPromise<Schema$ListMeshRouteViewsResponse>;
|
|
3300
|
+
list(params: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3301
|
+
list(params: Params$Resource$Projects$Locations$Meshes$Routeviews$List, options: MethodOptions | BodyResponseCallback<Schema$ListMeshRouteViewsResponse>, callback: BodyResponseCallback<Schema$ListMeshRouteViewsResponse>): void;
|
|
3302
|
+
list(params: Params$Resource$Projects$Locations$Meshes$Routeviews$List, callback: BodyResponseCallback<Schema$ListMeshRouteViewsResponse>): void;
|
|
3303
|
+
list(callback: BodyResponseCallback<Schema$ListMeshRouteViewsResponse>): void;
|
|
3304
|
+
}
|
|
3305
|
+
export interface Params$Resource$Projects$Locations$Meshes$Routeviews$Get extends StandardParameters {
|
|
3306
|
+
/**
|
|
3307
|
+
* Required. Name of the MeshRouteView resource. Format: projects/{project_number\}/locations/{location\}/meshes/{mesh_name\}/routeViews/{route_view_name\}
|
|
3308
|
+
*/
|
|
3309
|
+
name?: string;
|
|
3310
|
+
}
|
|
3311
|
+
export interface Params$Resource$Projects$Locations$Meshes$Routeviews$List extends StandardParameters {
|
|
3312
|
+
/**
|
|
3313
|
+
* Maximum number of MeshRouteViews to return per call.
|
|
3314
|
+
*/
|
|
3315
|
+
pageSize?: number;
|
|
3316
|
+
/**
|
|
3317
|
+
* 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.
|
|
3318
|
+
*/
|
|
3319
|
+
pageToken?: string;
|
|
3320
|
+
/**
|
|
3321
|
+
* Required. The Mesh to which a Route is associated. Format: projects/{project_number\}/locations/{location\}/meshes/{mesh_name\}
|
|
3322
|
+
*/
|
|
3323
|
+
parent?: string;
|
|
3324
|
+
}
|
|
3026
3325
|
export class Resource$Projects$Locations$Operations {
|
|
3027
3326
|
context: APIRequestContext;
|
|
3028
3327
|
constructor(context: APIRequestContext);
|
|
3029
3328
|
/**
|
|
3030
|
-
* 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
|
|
3329
|
+
* 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`.
|
|
3031
3330
|
*
|
|
3032
3331
|
* @param params - Parameters for request
|
|
3033
3332
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -3268,20 +3567,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3268
3567
|
get(params: Params$Resource$Projects$Locations$Servicelbpolicies$Get, options: MethodOptions | BodyResponseCallback<Schema$ServiceLbPolicy>, callback: BodyResponseCallback<Schema$ServiceLbPolicy>): void;
|
|
3269
3568
|
get(params: Params$Resource$Projects$Locations$Servicelbpolicies$Get, callback: BodyResponseCallback<Schema$ServiceLbPolicy>): void;
|
|
3270
3569
|
get(callback: BodyResponseCallback<Schema$ServiceLbPolicy>): void;
|
|
3271
|
-
/**
|
|
3272
|
-
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
3273
|
-
*
|
|
3274
|
-
* @param params - Parameters for request
|
|
3275
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3276
|
-
* @param callback - Optional callback that handles the response.
|
|
3277
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3278
|
-
*/
|
|
3279
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3280
|
-
getIamPolicy(params?: Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
|
|
3281
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3282
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3283
|
-
getIamPolicy(params: Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3284
|
-
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3285
3570
|
/**
|
|
3286
3571
|
* Lists ServiceLbPolicies in a given project and location.
|
|
3287
3572
|
*
|
|
@@ -3310,34 +3595,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3310
3595
|
patch(params: Params$Resource$Projects$Locations$Servicelbpolicies$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3311
3596
|
patch(params: Params$Resource$Projects$Locations$Servicelbpolicies$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3312
3597
|
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3313
|
-
/**
|
|
3314
|
-
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
3315
|
-
*
|
|
3316
|
-
* @param params - Parameters for request
|
|
3317
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3318
|
-
* @param callback - Optional callback that handles the response.
|
|
3319
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3320
|
-
*/
|
|
3321
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3322
|
-
setIamPolicy(params?: Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
|
|
3323
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3324
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3325
|
-
setIamPolicy(params: Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3326
|
-
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3327
|
-
/**
|
|
3328
|
-
* 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.
|
|
3329
|
-
*
|
|
3330
|
-
* @param params - Parameters for request
|
|
3331
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3332
|
-
* @param callback - Optional callback that handles the response.
|
|
3333
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3334
|
-
*/
|
|
3335
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3336
|
-
testIamPermissions(params?: Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions, options?: MethodOptions): GaxiosPromise<Schema$TestIamPermissionsResponse>;
|
|
3337
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3338
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
3339
|
-
testIamPermissions(params: Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
3340
|
-
testIamPermissions(callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
3341
3598
|
}
|
|
3342
3599
|
export interface Params$Resource$Projects$Locations$Servicelbpolicies$Create extends StandardParameters {
|
|
3343
3600
|
/**
|
|
@@ -3365,16 +3622,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3365
3622
|
*/
|
|
3366
3623
|
name?: string;
|
|
3367
3624
|
}
|
|
3368
|
-
export interface Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy extends StandardParameters {
|
|
3369
|
-
/**
|
|
3370
|
-
* 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).
|
|
3371
|
-
*/
|
|
3372
|
-
'options.requestedPolicyVersion'?: number;
|
|
3373
|
-
/**
|
|
3374
|
-
* 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.
|
|
3375
|
-
*/
|
|
3376
|
-
resource?: string;
|
|
3377
|
-
}
|
|
3378
3625
|
export interface Params$Resource$Projects$Locations$Servicelbpolicies$List extends StandardParameters {
|
|
3379
3626
|
/**
|
|
3380
3627
|
* Maximum number of ServiceLbPolicies to return per call.
|
|
@@ -3391,7 +3638,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3391
3638
|
}
|
|
3392
3639
|
export interface Params$Resource$Projects$Locations$Servicelbpolicies$Patch extends StandardParameters {
|
|
3393
3640
|
/**
|
|
3394
|
-
*
|
|
3641
|
+
* Identifier. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project\}/locations/{location\}/serviceLbPolicies/{service_lb_policy_name\}`.
|
|
3395
3642
|
*/
|
|
3396
3643
|
name?: string;
|
|
3397
3644
|
/**
|
|
@@ -3403,26 +3650,6 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3403
3650
|
*/
|
|
3404
3651
|
requestBody?: Schema$ServiceLbPolicy;
|
|
3405
3652
|
}
|
|
3406
|
-
export interface Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy extends StandardParameters {
|
|
3407
|
-
/**
|
|
3408
|
-
* 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.
|
|
3409
|
-
*/
|
|
3410
|
-
resource?: string;
|
|
3411
|
-
/**
|
|
3412
|
-
* Request body metadata
|
|
3413
|
-
*/
|
|
3414
|
-
requestBody?: Schema$SetIamPolicyRequest;
|
|
3415
|
-
}
|
|
3416
|
-
export interface Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions extends StandardParameters {
|
|
3417
|
-
/**
|
|
3418
|
-
* 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.
|
|
3419
|
-
*/
|
|
3420
|
-
resource?: string;
|
|
3421
|
-
/**
|
|
3422
|
-
* Request body metadata
|
|
3423
|
-
*/
|
|
3424
|
-
requestBody?: Schema$TestIamPermissionsRequest;
|
|
3425
|
-
}
|
|
3426
3653
|
export class Resource$Projects$Locations$Tcproutes {
|
|
3427
3654
|
context: APIRequestContext;
|
|
3428
3655
|
constructor(context: APIRequestContext);
|
|
@@ -3512,6 +3739,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3512
3739
|
requestBody?: Schema$TcpRoute;
|
|
3513
3740
|
}
|
|
3514
3741
|
export interface Params$Resource$Projects$Locations$Tcproutes$Delete extends StandardParameters {
|
|
3742
|
+
/**
|
|
3743
|
+
* 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.
|
|
3744
|
+
*/
|
|
3745
|
+
etag?: string;
|
|
3515
3746
|
/**
|
|
3516
3747
|
* Required. A name of the TcpRoute to delete. Must be in the format `projects/x/locations/global/tcpRoutes/x`.
|
|
3517
3748
|
*/
|
|
@@ -3640,6 +3871,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3640
3871
|
requestBody?: Schema$TlsRoute;
|
|
3641
3872
|
}
|
|
3642
3873
|
export interface Params$Resource$Projects$Locations$Tlsroutes$Delete extends StandardParameters {
|
|
3874
|
+
/**
|
|
3875
|
+
* 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.
|
|
3876
|
+
*/
|
|
3877
|
+
etag?: string;
|
|
3643
3878
|
/**
|
|
3644
3879
|
* Required. A name of the TlsRoute to delete. Must be in the format `projects/x/locations/global/tlsRoutes/x`.
|
|
3645
3880
|
*/
|
|
@@ -3679,5 +3914,238 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3679
3914
|
*/
|
|
3680
3915
|
requestBody?: Schema$TlsRoute;
|
|
3681
3916
|
}
|
|
3917
|
+
export class Resource$Projects$Locations$Wasmplugins {
|
|
3918
|
+
context: APIRequestContext;
|
|
3919
|
+
versions: Resource$Projects$Locations$Wasmplugins$Versions;
|
|
3920
|
+
constructor(context: APIRequestContext);
|
|
3921
|
+
/**
|
|
3922
|
+
* Creates a new `WasmPlugin` resource in a given project and location.
|
|
3923
|
+
*
|
|
3924
|
+
* @param params - Parameters for request
|
|
3925
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3926
|
+
* @param callback - Optional callback that handles the response.
|
|
3927
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3928
|
+
*/
|
|
3929
|
+
create(params: Params$Resource$Projects$Locations$Wasmplugins$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3930
|
+
create(params?: Params$Resource$Projects$Locations$Wasmplugins$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
3931
|
+
create(params: Params$Resource$Projects$Locations$Wasmplugins$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3932
|
+
create(params: Params$Resource$Projects$Locations$Wasmplugins$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3933
|
+
create(params: Params$Resource$Projects$Locations$Wasmplugins$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3934
|
+
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3935
|
+
/**
|
|
3936
|
+
* Deletes the specified `WasmPlugin` resource.
|
|
3937
|
+
*
|
|
3938
|
+
* @param params - Parameters for request
|
|
3939
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3940
|
+
* @param callback - Optional callback that handles the response.
|
|
3941
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3942
|
+
*/
|
|
3943
|
+
delete(params: Params$Resource$Projects$Locations$Wasmplugins$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3944
|
+
delete(params?: Params$Resource$Projects$Locations$Wasmplugins$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
3945
|
+
delete(params: Params$Resource$Projects$Locations$Wasmplugins$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3946
|
+
delete(params: Params$Resource$Projects$Locations$Wasmplugins$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3947
|
+
delete(params: Params$Resource$Projects$Locations$Wasmplugins$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3948
|
+
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3949
|
+
/**
|
|
3950
|
+
* Gets details of the specified `WasmPlugin` resource.
|
|
3951
|
+
*
|
|
3952
|
+
* @param params - Parameters for request
|
|
3953
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3954
|
+
* @param callback - Optional callback that handles the response.
|
|
3955
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3956
|
+
*/
|
|
3957
|
+
get(params: Params$Resource$Projects$Locations$Wasmplugins$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3958
|
+
get(params?: Params$Resource$Projects$Locations$Wasmplugins$Get, options?: MethodOptions): GaxiosPromise<Schema$WasmPlugin>;
|
|
3959
|
+
get(params: Params$Resource$Projects$Locations$Wasmplugins$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3960
|
+
get(params: Params$Resource$Projects$Locations$Wasmplugins$Get, options: MethodOptions | BodyResponseCallback<Schema$WasmPlugin>, callback: BodyResponseCallback<Schema$WasmPlugin>): void;
|
|
3961
|
+
get(params: Params$Resource$Projects$Locations$Wasmplugins$Get, callback: BodyResponseCallback<Schema$WasmPlugin>): void;
|
|
3962
|
+
get(callback: BodyResponseCallback<Schema$WasmPlugin>): void;
|
|
3963
|
+
/**
|
|
3964
|
+
* Lists `WasmPlugin` resources in a given project and location.
|
|
3965
|
+
*
|
|
3966
|
+
* @param params - Parameters for request
|
|
3967
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3968
|
+
* @param callback - Optional callback that handles the response.
|
|
3969
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3970
|
+
*/
|
|
3971
|
+
list(params: Params$Resource$Projects$Locations$Wasmplugins$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3972
|
+
list(params?: Params$Resource$Projects$Locations$Wasmplugins$List, options?: MethodOptions): GaxiosPromise<Schema$ListWasmPluginsResponse>;
|
|
3973
|
+
list(params: Params$Resource$Projects$Locations$Wasmplugins$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3974
|
+
list(params: Params$Resource$Projects$Locations$Wasmplugins$List, options: MethodOptions | BodyResponseCallback<Schema$ListWasmPluginsResponse>, callback: BodyResponseCallback<Schema$ListWasmPluginsResponse>): void;
|
|
3975
|
+
list(params: Params$Resource$Projects$Locations$Wasmplugins$List, callback: BodyResponseCallback<Schema$ListWasmPluginsResponse>): void;
|
|
3976
|
+
list(callback: BodyResponseCallback<Schema$ListWasmPluginsResponse>): void;
|
|
3977
|
+
/**
|
|
3978
|
+
* Updates the parameters of the specified `WasmPlugin` resource.
|
|
3979
|
+
*
|
|
3980
|
+
* @param params - Parameters for request
|
|
3981
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3982
|
+
* @param callback - Optional callback that handles the response.
|
|
3983
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3984
|
+
*/
|
|
3985
|
+
patch(params: Params$Resource$Projects$Locations$Wasmplugins$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3986
|
+
patch(params?: Params$Resource$Projects$Locations$Wasmplugins$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
3987
|
+
patch(params: Params$Resource$Projects$Locations$Wasmplugins$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3988
|
+
patch(params: Params$Resource$Projects$Locations$Wasmplugins$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3989
|
+
patch(params: Params$Resource$Projects$Locations$Wasmplugins$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3990
|
+
patch(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3991
|
+
}
|
|
3992
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$Create extends StandardParameters {
|
|
3993
|
+
/**
|
|
3994
|
+
* Required. The parent resource of the `WasmPlugin` resource. Must be in the format `projects/{project\}/locations/global`.
|
|
3995
|
+
*/
|
|
3996
|
+
parent?: string;
|
|
3997
|
+
/**
|
|
3998
|
+
* Required. User-provided ID of the `WasmPlugin` resource to be created.
|
|
3999
|
+
*/
|
|
4000
|
+
wasmPluginId?: string;
|
|
4001
|
+
/**
|
|
4002
|
+
* Request body metadata
|
|
4003
|
+
*/
|
|
4004
|
+
requestBody?: Schema$WasmPlugin;
|
|
4005
|
+
}
|
|
4006
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$Delete extends StandardParameters {
|
|
4007
|
+
/**
|
|
4008
|
+
* Required. A name of the `WasmPlugin` resource to delete. Must be in the format `projects/{project\}/locations/global/wasmPlugins/{wasm_plugin\}`.
|
|
4009
|
+
*/
|
|
4010
|
+
name?: string;
|
|
4011
|
+
}
|
|
4012
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$Get extends StandardParameters {
|
|
4013
|
+
/**
|
|
4014
|
+
* Required. A name of the `WasmPlugin` resource to get. Must be in the format `projects/{project\}/locations/global/wasmPlugins/{wasm_plugin\}`.
|
|
4015
|
+
*/
|
|
4016
|
+
name?: string;
|
|
4017
|
+
/**
|
|
4018
|
+
* Determines how much data must be returned in the response. See [AIP-157](https://google.aip.dev/157).
|
|
4019
|
+
*/
|
|
4020
|
+
view?: string;
|
|
4021
|
+
}
|
|
4022
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$List extends StandardParameters {
|
|
4023
|
+
/**
|
|
4024
|
+
* 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.
|
|
4025
|
+
*/
|
|
4026
|
+
pageSize?: number;
|
|
4027
|
+
/**
|
|
4028
|
+
* 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.
|
|
4029
|
+
*/
|
|
4030
|
+
pageToken?: string;
|
|
4031
|
+
/**
|
|
4032
|
+
* Required. The project and location from which the `WasmPlugin` resources are listed, specified in the following format: `projects/{project\}/locations/global`.
|
|
4033
|
+
*/
|
|
4034
|
+
parent?: string;
|
|
4035
|
+
}
|
|
4036
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$Patch extends StandardParameters {
|
|
4037
|
+
/**
|
|
4038
|
+
* Identifier. Name of the `WasmPlugin` resource in the following format: `projects/{project\}/locations/{location\}/wasmPlugins/{wasm_plugin\}`.
|
|
4039
|
+
*/
|
|
4040
|
+
name?: string;
|
|
4041
|
+
/**
|
|
4042
|
+
* 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.
|
|
4043
|
+
*/
|
|
4044
|
+
updateMask?: string;
|
|
4045
|
+
/**
|
|
4046
|
+
* Request body metadata
|
|
4047
|
+
*/
|
|
4048
|
+
requestBody?: Schema$WasmPlugin;
|
|
4049
|
+
}
|
|
4050
|
+
export class Resource$Projects$Locations$Wasmplugins$Versions {
|
|
4051
|
+
context: APIRequestContext;
|
|
4052
|
+
constructor(context: APIRequestContext);
|
|
4053
|
+
/**
|
|
4054
|
+
* Creates a new `WasmPluginVersion` resource in a given project and location.
|
|
4055
|
+
*
|
|
4056
|
+
* @param params - Parameters for request
|
|
4057
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4058
|
+
* @param callback - Optional callback that handles the response.
|
|
4059
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4060
|
+
*/
|
|
4061
|
+
create(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
4062
|
+
create(params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
4063
|
+
create(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4064
|
+
create(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4065
|
+
create(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4066
|
+
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4067
|
+
/**
|
|
4068
|
+
* Deletes the specified `WasmPluginVersion` resource.
|
|
4069
|
+
*
|
|
4070
|
+
* @param params - Parameters for request
|
|
4071
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4072
|
+
* @param callback - Optional callback that handles the response.
|
|
4073
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4074
|
+
*/
|
|
4075
|
+
delete(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
4076
|
+
delete(params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
4077
|
+
delete(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4078
|
+
delete(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4079
|
+
delete(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4080
|
+
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4081
|
+
/**
|
|
4082
|
+
* Gets details of the specified `WasmPluginVersion` resource.
|
|
4083
|
+
*
|
|
4084
|
+
* @param params - Parameters for request
|
|
4085
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4086
|
+
* @param callback - Optional callback that handles the response.
|
|
4087
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4088
|
+
*/
|
|
4089
|
+
get(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
4090
|
+
get(params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get, options?: MethodOptions): GaxiosPromise<Schema$WasmPluginVersion>;
|
|
4091
|
+
get(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4092
|
+
get(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get, options: MethodOptions | BodyResponseCallback<Schema$WasmPluginVersion>, callback: BodyResponseCallback<Schema$WasmPluginVersion>): void;
|
|
4093
|
+
get(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get, callback: BodyResponseCallback<Schema$WasmPluginVersion>): void;
|
|
4094
|
+
get(callback: BodyResponseCallback<Schema$WasmPluginVersion>): void;
|
|
4095
|
+
/**
|
|
4096
|
+
* Lists `WasmPluginVersion` resources in a given project and location.
|
|
4097
|
+
*
|
|
4098
|
+
* @param params - Parameters for request
|
|
4099
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4100
|
+
* @param callback - Optional callback that handles the response.
|
|
4101
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4102
|
+
*/
|
|
4103
|
+
list(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
4104
|
+
list(params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$List, options?: MethodOptions): GaxiosPromise<Schema$ListWasmPluginVersionsResponse>;
|
|
4105
|
+
list(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4106
|
+
list(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List, options: MethodOptions | BodyResponseCallback<Schema$ListWasmPluginVersionsResponse>, callback: BodyResponseCallback<Schema$ListWasmPluginVersionsResponse>): void;
|
|
4107
|
+
list(params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List, callback: BodyResponseCallback<Schema$ListWasmPluginVersionsResponse>): void;
|
|
4108
|
+
list(callback: BodyResponseCallback<Schema$ListWasmPluginVersionsResponse>): void;
|
|
4109
|
+
}
|
|
4110
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$Versions$Create extends StandardParameters {
|
|
4111
|
+
/**
|
|
4112
|
+
* Required. The parent resource of the `WasmPluginVersion` resource. Must be in the format `projects/{project\}/locations/global/wasmPlugins/{wasm_plugin\}`.
|
|
4113
|
+
*/
|
|
4114
|
+
parent?: string;
|
|
4115
|
+
/**
|
|
4116
|
+
* Required. User-provided ID of the `WasmPluginVersion` resource to be created.
|
|
4117
|
+
*/
|
|
4118
|
+
wasmPluginVersionId?: string;
|
|
4119
|
+
/**
|
|
4120
|
+
* Request body metadata
|
|
4121
|
+
*/
|
|
4122
|
+
requestBody?: Schema$WasmPluginVersion;
|
|
4123
|
+
}
|
|
4124
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete extends StandardParameters {
|
|
4125
|
+
/**
|
|
4126
|
+
* 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\}`.
|
|
4127
|
+
*/
|
|
4128
|
+
name?: string;
|
|
4129
|
+
}
|
|
4130
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$Versions$Get extends StandardParameters {
|
|
4131
|
+
/**
|
|
4132
|
+
* 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\}`.
|
|
4133
|
+
*/
|
|
4134
|
+
name?: string;
|
|
4135
|
+
}
|
|
4136
|
+
export interface Params$Resource$Projects$Locations$Wasmplugins$Versions$List extends StandardParameters {
|
|
4137
|
+
/**
|
|
4138
|
+
* 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.
|
|
4139
|
+
*/
|
|
4140
|
+
pageSize?: number;
|
|
4141
|
+
/**
|
|
4142
|
+
* 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.
|
|
4143
|
+
*/
|
|
4144
|
+
pageToken?: string;
|
|
4145
|
+
/**
|
|
4146
|
+
* Required. The `WasmPlugin` resource whose `WasmPluginVersion`s are listed, specified in the following format: `projects/{project\}/locations/global/wasmPlugins/{wasm_plugin\}`.
|
|
4147
|
+
*/
|
|
4148
|
+
parent?: string;
|
|
4149
|
+
}
|
|
3682
4150
|
export {};
|
|
3683
4151
|
}
|