@googleapis/networkservices 20.0.0 → 24.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/v1beta1.ts CHANGED
@@ -125,33 +125,7 @@ export namespace networkservices_v1beta1 {
125
125
  }
126
126
 
127
127
  /**
128
- * Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \}, { "log_type": "ADMIN_READ" \} ] \}, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" \}, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] \} ] \} ] \} For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
129
- */
130
- export interface Schema$AuditConfig {
131
- /**
132
- * The configuration for logging of each type of permission.
133
- */
134
- auditLogConfigs?: Schema$AuditLogConfig[];
135
- /**
136
- * 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.
137
- */
138
- service?: string | null;
139
- }
140
- /**
141
- * 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.
142
- */
143
- export interface Schema$AuditLogConfig {
144
- /**
145
- * Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
146
- */
147
- exemptedMembers?: string[] | null;
148
- /**
149
- * The log type that this config enables.
150
- */
151
- logType?: string | null;
152
- }
153
- /**
154
- * `AuthzExtension` is a resource that allows traffic forwarding to a callout backend to make an authorization decision.
128
+ * `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an authorization decision.
155
129
  */
156
130
  export interface Schema$AuthzExtension {
157
131
  /**
@@ -179,7 +153,7 @@ export namespace networkservices_v1beta1 {
179
153
  */
180
154
  labels?: {[key: string]: string} | null;
181
155
  /**
182
- * 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 [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service).
156
+ * 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).
183
157
  */
184
158
  loadBalancingScheme?: string | null;
185
159
  /**
@@ -191,7 +165,7 @@ export namespace networkservices_v1beta1 {
191
165
  */
192
166
  name?: string | null;
193
167
  /**
194
- * Required. The reference to the service that runs the extension. Currently only callout extensions are supported here. 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\}`.
168
+ * 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\}`.
195
169
  */
196
170
  service?: string | null;
197
171
  /**
@@ -203,27 +177,10 @@ export namespace networkservices_v1beta1 {
203
177
  */
204
178
  updateTime?: string | null;
205
179
  /**
206
- * Optional. The format of communication supported by the callout extension. If not specified, the default is `EXT_PROC_GRPC`.
180
+ * Optional. The format of communication supported by the callout extension. If not specified, the default value `EXT_PROC_GRPC` is used.
207
181
  */
208
182
  wireFormat?: string | null;
209
183
  }
210
- /**
211
- * Associates `members`, or principals, with a `role`.
212
- */
213
- export interface Schema$Binding {
214
- /**
215
- * 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).
216
- */
217
- condition?: Schema$Expr;
218
- /**
219
- * 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`.
220
- */
221
- members?: string[] | null;
222
- /**
223
- * 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).
224
- */
225
- role?: string | null;
226
- }
227
184
  /**
228
185
  * The request message for Operations.CancelOperation.
229
186
  */
@@ -290,27 +247,6 @@ export namespace networkservices_v1beta1 {
290
247
  */
291
248
  updateTime?: string | null;
292
249
  }
293
- /**
294
- * 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.
295
- */
296
- export interface Schema$Expr {
297
- /**
298
- * Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
299
- */
300
- description?: string | null;
301
- /**
302
- * Textual representation of an expression in Common Expression Language syntax.
303
- */
304
- expression?: string | null;
305
- /**
306
- * Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
307
- */
308
- location?: string | null;
309
- /**
310
- * 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.
311
- */
312
- title?: string | null;
313
- }
314
250
  /**
315
251
  * A single extension chain wrapper that contains the match conditions and extensions to execute.
316
252
  */
@@ -333,7 +269,7 @@ export namespace networkservices_v1beta1 {
333
269
  */
334
270
  export interface Schema$ExtensionChainExtension {
335
271
  /**
336
- * Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions.
272
+ * 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.
337
273
  */
338
274
  authority?: string | null;
339
275
  /**
@@ -344,20 +280,24 @@ export namespace networkservices_v1beta1 {
344
280
  * 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.
345
281
  */
346
282
  forwardHeaders?: string[] | null;
283
+ /**
284
+ * Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google....`. For example: `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are supported in the metadata: `{forwarding_rule_id\}` - substituted with the forwarding rule's fully qualified resource name. This field is not supported for plugin extensions. Setting it results in a validation error.
285
+ */
286
+ metadata?: {[key: string]: any} | null;
347
287
  /**
348
288
  * 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.
349
289
  */
350
290
  name?: string | null;
351
291
  /**
352
- * Required. The reference to the service that runs the extension. Currently only callout extensions are supported here. 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\}`.
292
+ * 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.
353
293
  */
354
294
  service?: string | null;
355
295
  /**
356
- * 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.
296
+ * 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 is optional for the `LbRouteExtension` resource. If unspecified `REQUEST_HEADERS` event is assumed as supported.
357
297
  */
358
298
  supportedEvents?: string[] | null;
359
299
  /**
360
- * Optional. Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds. Required for Callout extensions.
300
+ * 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.
361
301
  */
362
302
  timeout?: string | null;
363
303
  }
@@ -371,7 +311,7 @@ export namespace networkservices_v1beta1 {
371
311
  celExpression?: string | null;
372
312
  }
373
313
  /**
374
- * 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. Next id: 33
314
+ * 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.
375
315
  */
376
316
  export interface Schema$Gateway {
377
317
  /**
@@ -423,7 +363,7 @@ export namespace networkservices_v1beta1 {
423
363
  */
424
364
  routingMode?: string | null;
425
365
  /**
426
- * 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 coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
366
+ * 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.
427
367
  */
428
368
  scope?: string | null;
429
369
  /**
@@ -447,6 +387,31 @@ export namespace networkservices_v1beta1 {
447
387
  */
448
388
  updateTime?: string | null;
449
389
  }
390
+ /**
391
+ * GatewayRouteView defines view-only resource for Routes to a Gateway
392
+ */
393
+ export interface Schema$GatewayRouteView {
394
+ /**
395
+ * Output only. Identifier. Full path name of the GatewayRouteView resource. Format: projects/{project_number\}/locations/{location\}/gateways/{gateway_name\}/routeViews/{route_view_name\}
396
+ */
397
+ name?: string | null;
398
+ /**
399
+ * Output only. The resource id for the route.
400
+ */
401
+ routeId?: string | null;
402
+ /**
403
+ * Output only. Location where the route exists.
404
+ */
405
+ routeLocation?: string | null;
406
+ /**
407
+ * Output only. Project number where the route exists.
408
+ */
409
+ routeProjectNumber?: string | null;
410
+ /**
411
+ * Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute
412
+ */
413
+ routeType?: string | null;
414
+ }
450
415
  /**
451
416
  * GrpcRoute is the resource defining how gRPC traffic routed by a Mesh or Gateway resource is routed.
452
417
  */
@@ -1107,7 +1072,7 @@ export namespace networkservices_v1beta1 {
1107
1072
  */
1108
1073
  extensionChains?: Schema$ExtensionChain[];
1109
1074
  /**
1110
- * Required. A list of references to the forwarding rules to which this service extension is attached to. At least one forwarding rule is required. There can be only one `LbRouteExtension` resource per forwarding rule.
1075
+ * 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.
1111
1076
  */
1112
1077
  forwardingRules?: string[] | null;
1113
1078
  /**
@@ -1115,11 +1080,11 @@ export namespace networkservices_v1beta1 {
1115
1080
  */
1116
1081
  labels?: {[key: string]: string} | null;
1117
1082
  /**
1118
- * 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 [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service).
1083
+ * 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).
1119
1084
  */
1120
1085
  loadBalancingScheme?: string | null;
1121
1086
  /**
1122
- * 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.
1087
+ * Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the 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.
1123
1088
  */
1124
1089
  metadata?: {[key: string]: any} | null;
1125
1090
  /**
@@ -1148,7 +1113,7 @@ export namespace networkservices_v1beta1 {
1148
1113
  */
1149
1114
  extensionChains?: Schema$ExtensionChain[];
1150
1115
  /**
1151
- * Required. A list of references to the forwarding rules to which this service extension is attached to. At least one forwarding rule is required. There can be only one `LBTrafficExtension` resource per forwarding rule.
1116
+ * 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.
1152
1117
  */
1153
1118
  forwardingRules?: string[] | null;
1154
1119
  /**
@@ -1156,11 +1121,11 @@ export namespace networkservices_v1beta1 {
1156
1121
  */
1157
1122
  labels?: {[key: string]: string} | null;
1158
1123
  /**
1159
- * 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 [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service).
1124
+ * Required. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).
1160
1125
  */
1161
1126
  loadBalancingScheme?: string | null;
1162
1127
  /**
1163
- * 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.
1128
+ * 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.
1164
1129
  */
1165
1130
  metadata?: {[key: string]: any} | null;
1166
1131
  /**
@@ -1202,6 +1167,23 @@ export namespace networkservices_v1beta1 {
1202
1167
  */
1203
1168
  nextPageToken?: string | null;
1204
1169
  }
1170
+ /**
1171
+ * Response returned by the ListGatewayRouteViews method.
1172
+ */
1173
+ export interface Schema$ListGatewayRouteViewsResponse {
1174
+ /**
1175
+ * List of GatewayRouteView resources.
1176
+ */
1177
+ gatewayRouteViews?: Schema$GatewayRouteView[];
1178
+ /**
1179
+ * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
1180
+ */
1181
+ nextPageToken?: string | null;
1182
+ /**
1183
+ * Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
1184
+ */
1185
+ unreachable?: string[] | null;
1186
+ }
1205
1187
  /**
1206
1188
  * Response returned by the ListGateways method.
1207
1189
  */
@@ -1304,6 +1286,27 @@ export namespace networkservices_v1beta1 {
1304
1286
  * 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`.
1305
1287
  */
1306
1288
  nextPageToken?: string | null;
1289
+ /**
1290
+ * Unreachable resources. Populated when the request opts into `return_partial_success` and reading across collections e.g. when attempting to list all resources across all supported locations.
1291
+ */
1292
+ unreachable?: string[] | null;
1293
+ }
1294
+ /**
1295
+ * Response returned by the ListMeshRouteViews method.
1296
+ */
1297
+ export interface Schema$ListMeshRouteViewsResponse {
1298
+ /**
1299
+ * List of MeshRouteView resources.
1300
+ */
1301
+ meshRouteViews?: Schema$MeshRouteView[];
1302
+ /**
1303
+ * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
1304
+ */
1305
+ nextPageToken?: string | null;
1306
+ /**
1307
+ * Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
1308
+ */
1309
+ unreachable?: string[] | null;
1307
1310
  }
1308
1311
  /**
1309
1312
  * The response message for Operations.ListOperations.
@@ -1330,6 +1333,10 @@ export namespace networkservices_v1beta1 {
1330
1333
  * List of ServiceBinding resources.
1331
1334
  */
1332
1335
  serviceBindings?: Schema$ServiceBinding[];
1336
+ /**
1337
+ * Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
1338
+ */
1339
+ unreachable?: string[] | null;
1333
1340
  }
1334
1341
  /**
1335
1342
  * Response returned by the ListServiceLbPolicies method.
@@ -1343,6 +1350,10 @@ export namespace networkservices_v1beta1 {
1343
1350
  * List of ServiceLbPolicy resources.
1344
1351
  */
1345
1352
  serviceLbPolicies?: Schema$ServiceLbPolicy[];
1353
+ /**
1354
+ * Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
1355
+ */
1356
+ unreachable?: string[] | null;
1346
1357
  }
1347
1358
  /**
1348
1359
  * Response returned by the ListTcpRoutes method.
@@ -1370,6 +1381,32 @@ export namespace networkservices_v1beta1 {
1370
1381
  */
1371
1382
  tlsRoutes?: Schema$TlsRoute[];
1372
1383
  }
1384
+ /**
1385
+ * Response returned by the `ListWasmPlugins` method.
1386
+ */
1387
+ export interface Schema$ListWasmPluginsResponse {
1388
+ /**
1389
+ * If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
1390
+ */
1391
+ nextPageToken?: string | null;
1392
+ /**
1393
+ * List of `WasmPlugin` resources.
1394
+ */
1395
+ wasmPlugins?: Schema$WasmPlugin[];
1396
+ }
1397
+ /**
1398
+ * Response returned by the `ListWasmPluginVersions` method.
1399
+ */
1400
+ export interface Schema$ListWasmPluginVersionsResponse {
1401
+ /**
1402
+ * If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
1403
+ */
1404
+ nextPageToken?: string | null;
1405
+ /**
1406
+ * List of `WasmPluginVersion` resources.
1407
+ */
1408
+ wasmPluginVersions?: Schema$WasmPluginVersion[];
1409
+ }
1373
1410
  /**
1374
1411
  * A resource that represents a Google Cloud location.
1375
1412
  */
@@ -1395,6 +1432,15 @@ export namespace networkservices_v1beta1 {
1395
1432
  */
1396
1433
  name?: string | null;
1397
1434
  }
1435
+ /**
1436
+ * The configuration for Platform Telemetry logging for Eventarc Advanced resources.
1437
+ */
1438
+ export interface Schema$LoggingConfig {
1439
+ /**
1440
+ * 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.
1441
+ */
1442
+ logSeverity?: string | null;
1443
+ }
1398
1444
  /**
1399
1445
  * 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.
1400
1446
  */
@@ -1432,6 +1478,31 @@ export namespace networkservices_v1beta1 {
1432
1478
  */
1433
1479
  updateTime?: string | null;
1434
1480
  }
1481
+ /**
1482
+ * MeshRouteView defines view-only resource for Routes to a Mesh
1483
+ */
1484
+ export interface Schema$MeshRouteView {
1485
+ /**
1486
+ * Output only. Identifier. Full path name of the MeshRouteView resource. Format: projects/{project_number\}/locations/{location\}/meshes/{mesh_name\}/routeViews/{route_view_name\}
1487
+ */
1488
+ name?: string | null;
1489
+ /**
1490
+ * Output only. The resource id for the route.
1491
+ */
1492
+ routeId?: string | null;
1493
+ /**
1494
+ * Output only. Location where the route exists.
1495
+ */
1496
+ routeLocation?: string | null;
1497
+ /**
1498
+ * Output only. Project number where the route exists.
1499
+ */
1500
+ routeProjectNumber?: string | null;
1501
+ /**
1502
+ * Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute
1503
+ */
1504
+ routeType?: string | null;
1505
+ }
1435
1506
  /**
1436
1507
  * The matcher that is based on node metadata presented by xDS clients.
1437
1508
  */
@@ -1516,29 +1587,14 @@ export namespace networkservices_v1beta1 {
1516
1587
  */
1517
1588
  verb?: string | null;
1518
1589
  }
1519
- /**
1520
- * 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/).
1521
- */
1522
- export interface Schema$Policy {
1523
- /**
1524
- * Specifies cloud audit logging configuration for this policy.
1525
- */
1526
- auditConfigs?: Schema$AuditConfig[];
1527
- /**
1528
- * 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`.
1529
- */
1530
- bindings?: Schema$Binding[];
1531
- /**
1532
- * `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **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.
1533
- */
1534
- etag?: string | null;
1590
+ export interface Schema$RetryFilterPerRouteConfig {
1535
1591
  /**
1536
- * 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).
1592
+ * The name of the crypto key to use for encrypting event data.
1537
1593
  */
1538
- version?: number | null;
1594
+ cryptoKeyName?: string | null;
1539
1595
  }
1540
1596
  /**
1541
- * ServiceBinding is the resource that defines a Service Directory Service to be used in a BackendService resource.
1597
+ * ServiceBinding can be used to: - Bind a Service Directory Service to be used in a BackendService resource. - Bind a Private Service Connect producer service to be used in consumer Cloud Service Mesh or Application Load Balancers.
1542
1598
  */
1543
1599
  export interface Schema$ServiceBinding {
1544
1600
  /**
@@ -1554,15 +1610,15 @@ export namespace networkservices_v1beta1 {
1554
1610
  */
1555
1611
  labels?: {[key: string]: string} | null;
1556
1612
  /**
1557
- * Identifier. Name of the ServiceBinding resource. It matches pattern `projects/x/locations/global/serviceBindings/service_binding_name`.
1613
+ * Identifier. Name of the ServiceBinding resource. It matches pattern `projects/x/locations/x/serviceBindings/`.
1558
1614
  */
1559
1615
  name?: string | null;
1560
1616
  /**
1561
- * Required. The full Service Directory Service name of the format projects/x/locations/x/namespaces/x/services/x
1617
+ * Optional. The full Service Directory Service name of the format `projects/x/locations/x/namespaces/x/services/x`. This field must be set.
1562
1618
  */
1563
1619
  service?: string | null;
1564
1620
  /**
1565
- * Output only. The unique identifier of the Service Directory Service against which the Service Binding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format.
1621
+ * Output only. The unique identifier of the Service Directory Service against which the ServiceBinding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format.
1566
1622
  */
1567
1623
  serviceId?: string | null;
1568
1624
  /**
@@ -1599,7 +1655,7 @@ export namespace networkservices_v1beta1 {
1599
1655
  */
1600
1656
  loadBalancingAlgorithm?: string | null;
1601
1657
  /**
1602
- * Required. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project\}/locations/{location\}/serviceLbPolicies/{service_lb_policy_name\}`.
1658
+ * Identifier. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project\}/locations/{location\}/serviceLbPolicies/{service_lb_policy_name\}`.
1603
1659
  */
1604
1660
  name?: string | null;
1605
1661
  /**
@@ -1625,19 +1681,6 @@ export namespace networkservices_v1beta1 {
1625
1681
  */
1626
1682
  failoverHealthThreshold?: number | null;
1627
1683
  }
1628
- /**
1629
- * Request message for `SetIamPolicy` method.
1630
- */
1631
- export interface Schema$SetIamPolicyRequest {
1632
- /**
1633
- * 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.
1634
- */
1635
- policy?: Schema$Policy;
1636
- /**
1637
- * 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"`
1638
- */
1639
- updateMask?: string | null;
1640
- }
1641
1684
  /**
1642
1685
  * 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).
1643
1686
  */
@@ -1752,24 +1795,6 @@ export namespace networkservices_v1beta1 {
1752
1795
  */
1753
1796
  matches?: Schema$TcpRouteRouteMatch[];
1754
1797
  }
1755
- /**
1756
- * Request message for `TestIamPermissions` method.
1757
- */
1758
- export interface Schema$TestIamPermissionsRequest {
1759
- /**
1760
- * 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).
1761
- */
1762
- permissions?: string[] | null;
1763
- }
1764
- /**
1765
- * Response message for `TestIamPermissions` method.
1766
- */
1767
- export interface Schema$TestIamPermissionsResponse {
1768
- /**
1769
- * A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
1770
- */
1771
- permissions?: string[] | null;
1772
- }
1773
1798
  /**
1774
1799
  * TlsRoute defines how traffic should be routed based on SNI and other matching L3 attributes.
1775
1800
  */
@@ -1838,7 +1863,7 @@ export namespace networkservices_v1beta1 {
1838
1863
  weight?: number | null;
1839
1864
  }
1840
1865
  /**
1841
- * RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "AND"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic.
1866
+ * RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "AND"ed for evaluation.
1842
1867
  */
1843
1868
  export interface Schema$TlsRouteRouteMatch {
1844
1869
  /**
@@ -1859,7 +1884,7 @@ export namespace networkservices_v1beta1 {
1859
1884
  */
1860
1885
  action?: Schema$TlsRouteRouteAction;
1861
1886
  /**
1862
- * Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
1887
+ * Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation. Atleast one RouteMatch must be supplied.
1863
1888
  */
1864
1889
  matches?: Schema$TlsRouteRouteMatch[];
1865
1890
  }
@@ -1872,6 +1897,159 @@ export namespace networkservices_v1beta1 {
1872
1897
  */
1873
1898
  ports?: string[] | null;
1874
1899
  }
1900
+ /**
1901
+ * `WasmPlugin` is a resource representing a service executing a customer-provided Wasm module.
1902
+ */
1903
+ export interface Schema$WasmPlugin {
1904
+ /**
1905
+ * Output only. The timestamp when the resource was created.
1906
+ */
1907
+ createTime?: string | null;
1908
+ /**
1909
+ * Optional. A human-readable description of the resource.
1910
+ */
1911
+ description?: string | null;
1912
+ /**
1913
+ * Optional. Set of labels associated with the `WasmPlugin` resource. The format must comply with [the following requirements](/compute/docs/labeling-resources#requirements).
1914
+ */
1915
+ labels?: {[key: string]: string} | null;
1916
+ /**
1917
+ * 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.
1918
+ */
1919
+ logConfig?: Schema$WasmPluginLogConfig;
1920
+ /**
1921
+ * 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.
1922
+ */
1923
+ mainVersionId?: string | null;
1924
+ /**
1925
+ * Identifier. Name of the `WasmPlugin` resource in the following format: `projects/{project\}/locations/{location\}/wasmPlugins/{wasm_plugin\}`.
1926
+ */
1927
+ name?: string | null;
1928
+ /**
1929
+ * Output only. The timestamp when the resource was updated.
1930
+ */
1931
+ updateTime?: string | null;
1932
+ /**
1933
+ * Output only. List of all [extensions](https://cloud.google.com/service-extensions/docs/overview) that use this `WasmPlugin` resource.
1934
+ */
1935
+ usedBy?: Schema$WasmPluginUsedBy[];
1936
+ /**
1937
+ * 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`.
1938
+ */
1939
+ versions?: {[key: string]: Schema$WasmPluginVersionDetails} | null;
1940
+ }
1941
+ /**
1942
+ * Specifies the logging options for the activity performed by this plugin. If logging is enabled, plugin logs are exported to Cloud Logging.
1943
+ */
1944
+ export interface Schema$WasmPluginLogConfig {
1945
+ /**
1946
+ * Optional. Specifies whether to enable logging for activity by this plugin. Defaults to `false`.
1947
+ */
1948
+ enable?: boolean | null;
1949
+ /**
1950
+ * 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.
1951
+ */
1952
+ minLogLevel?: string | null;
1953
+ /**
1954
+ * 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.
1955
+ */
1956
+ sampleRate?: number | null;
1957
+ }
1958
+ /**
1959
+ * Defines a resource that uses the `WasmPlugin` resource.
1960
+ */
1961
+ export interface Schema$WasmPluginUsedBy {
1962
+ /**
1963
+ * 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\}`
1964
+ */
1965
+ name?: string | null;
1966
+ }
1967
+ /**
1968
+ * A single immutable version of a `WasmPlugin` resource. Defines the Wasm module used and optionally its runtime config.
1969
+ */
1970
+ export interface Schema$WasmPluginVersion {
1971
+ /**
1972
+ * Output only. The timestamp when the resource was created.
1973
+ */
1974
+ createTime?: string | null;
1975
+ /**
1976
+ * Optional. A human-readable description of the resource.
1977
+ */
1978
+ description?: string | null;
1979
+ /**
1980
+ * 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.
1981
+ */
1982
+ imageDigest?: string | null;
1983
+ /**
1984
+ * 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.
1985
+ */
1986
+ imageUri?: string | null;
1987
+ /**
1988
+ * Optional. Set of labels associated with the `WasmPluginVersion` resource.
1989
+ */
1990
+ labels?: {[key: string]: string} | null;
1991
+ /**
1992
+ * Identifier. Name of the `WasmPluginVersion` resource in the following format: `projects/{project\}/locations/{location\}/wasmPlugins/{wasm_plugin\}/ versions/{wasm_plugin_version\}`.
1993
+ */
1994
+ name?: string | null;
1995
+ /**
1996
+ * 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.
1997
+ */
1998
+ pluginConfigData?: string | null;
1999
+ /**
2000
+ * 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.
2001
+ */
2002
+ pluginConfigDigest?: string | null;
2003
+ /**
2004
+ * 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.
2005
+ */
2006
+ pluginConfigUri?: string | null;
2007
+ /**
2008
+ * Output only. The timestamp when the resource was updated.
2009
+ */
2010
+ updateTime?: string | null;
2011
+ }
2012
+ /**
2013
+ * Details of a `WasmPluginVersion` resource to be inlined in the `WasmPlugin` resource.
2014
+ */
2015
+ export interface Schema$WasmPluginVersionDetails {
2016
+ /**
2017
+ * Output only. The timestamp when the resource was created.
2018
+ */
2019
+ createTime?: string | null;
2020
+ /**
2021
+ * Optional. A human-readable description of the resource.
2022
+ */
2023
+ description?: string | null;
2024
+ /**
2025
+ * 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.
2026
+ */
2027
+ imageDigest?: string | null;
2028
+ /**
2029
+ * 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.
2030
+ */
2031
+ imageUri?: string | null;
2032
+ /**
2033
+ * Optional. Set of labels associated with the `WasmPluginVersion` resource.
2034
+ */
2035
+ labels?: {[key: string]: string} | null;
2036
+ /**
2037
+ * 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.
2038
+ */
2039
+ pluginConfigData?: string | null;
2040
+ /**
2041
+ * 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.
2042
+ */
2043
+ pluginConfigDigest?: string | null;
2044
+ /**
2045
+ * 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.
2046
+ */
2047
+ pluginConfigUri?: string | null;
2048
+ /**
2049
+ * Output only. The timestamp when the resource was updated.
2050
+ */
2051
+ updateTime?: string | null;
2052
+ }
1875
2053
 
1876
2054
  export class Resource$Projects {
1877
2055
  context: APIRequestContext;
@@ -1897,6 +2075,7 @@ export namespace networkservices_v1beta1 {
1897
2075
  serviceLbPolicies: Resource$Projects$Locations$Servicelbpolicies;
1898
2076
  tcpRoutes: Resource$Projects$Locations$Tcproutes;
1899
2077
  tlsRoutes: Resource$Projects$Locations$Tlsroutes;
2078
+ wasmPlugins: Resource$Projects$Locations$Wasmplugins;
1900
2079
  constructor(context: APIRequestContext) {
1901
2080
  this.context = context;
1902
2081
  this.authzExtensions = new Resource$Projects$Locations$Authzextensions(
@@ -1927,6 +2106,9 @@ export namespace networkservices_v1beta1 {
1927
2106
  new Resource$Projects$Locations$Servicelbpolicies(this.context);
1928
2107
  this.tcpRoutes = new Resource$Projects$Locations$Tcproutes(this.context);
1929
2108
  this.tlsRoutes = new Resource$Projects$Locations$Tlsroutes(this.context);
2109
+ this.wasmPlugins = new Resource$Projects$Locations$Wasmplugins(
2110
+ this.context
2111
+ );
1930
2112
  }
1931
2113
 
1932
2114
  /**
@@ -2600,7 +2782,7 @@ export namespace networkservices_v1beta1 {
2600
2782
  */
2601
2783
  parent?: string;
2602
2784
  /**
2603
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2785
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2604
2786
  */
2605
2787
  requestId?: string;
2606
2788
 
@@ -2616,7 +2798,7 @@ export namespace networkservices_v1beta1 {
2616
2798
  */
2617
2799
  name?: string;
2618
2800
  /**
2619
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2801
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2620
2802
  */
2621
2803
  requestId?: string;
2622
2804
  }
@@ -2634,7 +2816,7 @@ export namespace networkservices_v1beta1 {
2634
2816
  */
2635
2817
  filter?: string;
2636
2818
  /**
2637
- * Optional. Hint for how to order the results.
2819
+ * Optional. Hint about how to order the results.
2638
2820
  */
2639
2821
  orderBy?: string;
2640
2822
  /**
@@ -2646,7 +2828,7 @@ export namespace networkservices_v1beta1 {
2646
2828
  */
2647
2829
  pageToken?: string;
2648
2830
  /**
2649
- * Required. The project and location from which the `AuthzExtension` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`.
2831
+ * Required. The project and location from which the `AuthzExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
2650
2832
  */
2651
2833
  parent?: string;
2652
2834
  }
@@ -2657,11 +2839,11 @@ export namespace networkservices_v1beta1 {
2657
2839
  */
2658
2840
  name?: string;
2659
2841
  /**
2660
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2842
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2661
2843
  */
2662
2844
  requestId?: string;
2663
2845
  /**
2664
- * 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.
2846
+ * 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.
2665
2847
  */
2666
2848
  updateMask?: string;
2667
2849
 
@@ -3190,8 +3372,12 @@ export namespace networkservices_v1beta1 {
3190
3372
 
3191
3373
  export class Resource$Projects$Locations$Gateways {
3192
3374
  context: APIRequestContext;
3375
+ routeViews: Resource$Projects$Locations$Gateways$Routeviews;
3193
3376
  constructor(context: APIRequestContext) {
3194
3377
  this.context = context;
3378
+ this.routeViews = new Resource$Projects$Locations$Gateways$Routeviews(
3379
+ this.context
3380
+ );
3195
3381
  }
3196
3382
 
3197
3383
  /**
@@ -3698,14 +3884,230 @@ export namespace networkservices_v1beta1 {
3698
3884
  requestBody?: Schema$Gateway;
3699
3885
  }
3700
3886
 
3701
- export class Resource$Projects$Locations$Grpcroutes {
3887
+ export class Resource$Projects$Locations$Gateways$Routeviews {
3702
3888
  context: APIRequestContext;
3703
3889
  constructor(context: APIRequestContext) {
3704
3890
  this.context = context;
3705
3891
  }
3706
3892
 
3707
3893
  /**
3708
- * Creates a new GrpcRoute in a given project and location.
3894
+ * Get a single RouteView of a Gateway.
3895
+ *
3896
+ * @param params - Parameters for request
3897
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3898
+ * @param callback - Optional callback that handles the response.
3899
+ * @returns A promise if used with async/await, or void if used with a callback.
3900
+ */
3901
+ get(
3902
+ params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get,
3903
+ options: StreamMethodOptions
3904
+ ): GaxiosPromise<Readable>;
3905
+ get(
3906
+ params?: Params$Resource$Projects$Locations$Gateways$Routeviews$Get,
3907
+ options?: MethodOptions
3908
+ ): GaxiosPromise<Schema$GatewayRouteView>;
3909
+ get(
3910
+ params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get,
3911
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3912
+ callback: BodyResponseCallback<Readable>
3913
+ ): void;
3914
+ get(
3915
+ params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get,
3916
+ options: MethodOptions | BodyResponseCallback<Schema$GatewayRouteView>,
3917
+ callback: BodyResponseCallback<Schema$GatewayRouteView>
3918
+ ): void;
3919
+ get(
3920
+ params: Params$Resource$Projects$Locations$Gateways$Routeviews$Get,
3921
+ callback: BodyResponseCallback<Schema$GatewayRouteView>
3922
+ ): void;
3923
+ get(callback: BodyResponseCallback<Schema$GatewayRouteView>): void;
3924
+ get(
3925
+ paramsOrCallback?:
3926
+ | Params$Resource$Projects$Locations$Gateways$Routeviews$Get
3927
+ | BodyResponseCallback<Schema$GatewayRouteView>
3928
+ | BodyResponseCallback<Readable>,
3929
+ optionsOrCallback?:
3930
+ | MethodOptions
3931
+ | StreamMethodOptions
3932
+ | BodyResponseCallback<Schema$GatewayRouteView>
3933
+ | BodyResponseCallback<Readable>,
3934
+ callback?:
3935
+ | BodyResponseCallback<Schema$GatewayRouteView>
3936
+ | BodyResponseCallback<Readable>
3937
+ ): void | GaxiosPromise<Schema$GatewayRouteView> | GaxiosPromise<Readable> {
3938
+ let params = (paramsOrCallback ||
3939
+ {}) as Params$Resource$Projects$Locations$Gateways$Routeviews$Get;
3940
+ let options = (optionsOrCallback || {}) as MethodOptions;
3941
+
3942
+ if (typeof paramsOrCallback === 'function') {
3943
+ callback = paramsOrCallback;
3944
+ params =
3945
+ {} as Params$Resource$Projects$Locations$Gateways$Routeviews$Get;
3946
+ options = {};
3947
+ }
3948
+
3949
+ if (typeof optionsOrCallback === 'function') {
3950
+ callback = optionsOrCallback;
3951
+ options = {};
3952
+ }
3953
+
3954
+ const rootUrl =
3955
+ options.rootUrl || 'https://networkservices.googleapis.com/';
3956
+ const parameters = {
3957
+ options: Object.assign(
3958
+ {
3959
+ url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
3960
+ method: 'GET',
3961
+ apiVersion: '',
3962
+ },
3963
+ options
3964
+ ),
3965
+ params,
3966
+ requiredParams: ['name'],
3967
+ pathParams: ['name'],
3968
+ context: this.context,
3969
+ };
3970
+ if (callback) {
3971
+ createAPIRequest<Schema$GatewayRouteView>(
3972
+ parameters,
3973
+ callback as BodyResponseCallback<unknown>
3974
+ );
3975
+ } else {
3976
+ return createAPIRequest<Schema$GatewayRouteView>(parameters);
3977
+ }
3978
+ }
3979
+
3980
+ /**
3981
+ * Lists RouteViews
3982
+ *
3983
+ * @param params - Parameters for request
3984
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3985
+ * @param callback - Optional callback that handles the response.
3986
+ * @returns A promise if used with async/await, or void if used with a callback.
3987
+ */
3988
+ list(
3989
+ params: Params$Resource$Projects$Locations$Gateways$Routeviews$List,
3990
+ options: StreamMethodOptions
3991
+ ): GaxiosPromise<Readable>;
3992
+ list(
3993
+ params?: Params$Resource$Projects$Locations$Gateways$Routeviews$List,
3994
+ options?: MethodOptions
3995
+ ): GaxiosPromise<Schema$ListGatewayRouteViewsResponse>;
3996
+ list(
3997
+ params: Params$Resource$Projects$Locations$Gateways$Routeviews$List,
3998
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3999
+ callback: BodyResponseCallback<Readable>
4000
+ ): void;
4001
+ list(
4002
+ params: Params$Resource$Projects$Locations$Gateways$Routeviews$List,
4003
+ options:
4004
+ | MethodOptions
4005
+ | BodyResponseCallback<Schema$ListGatewayRouteViewsResponse>,
4006
+ callback: BodyResponseCallback<Schema$ListGatewayRouteViewsResponse>
4007
+ ): void;
4008
+ list(
4009
+ params: Params$Resource$Projects$Locations$Gateways$Routeviews$List,
4010
+ callback: BodyResponseCallback<Schema$ListGatewayRouteViewsResponse>
4011
+ ): void;
4012
+ list(
4013
+ callback: BodyResponseCallback<Schema$ListGatewayRouteViewsResponse>
4014
+ ): void;
4015
+ list(
4016
+ paramsOrCallback?:
4017
+ | Params$Resource$Projects$Locations$Gateways$Routeviews$List
4018
+ | BodyResponseCallback<Schema$ListGatewayRouteViewsResponse>
4019
+ | BodyResponseCallback<Readable>,
4020
+ optionsOrCallback?:
4021
+ | MethodOptions
4022
+ | StreamMethodOptions
4023
+ | BodyResponseCallback<Schema$ListGatewayRouteViewsResponse>
4024
+ | BodyResponseCallback<Readable>,
4025
+ callback?:
4026
+ | BodyResponseCallback<Schema$ListGatewayRouteViewsResponse>
4027
+ | BodyResponseCallback<Readable>
4028
+ ):
4029
+ | void
4030
+ | GaxiosPromise<Schema$ListGatewayRouteViewsResponse>
4031
+ | GaxiosPromise<Readable> {
4032
+ let params = (paramsOrCallback ||
4033
+ {}) as Params$Resource$Projects$Locations$Gateways$Routeviews$List;
4034
+ let options = (optionsOrCallback || {}) as MethodOptions;
4035
+
4036
+ if (typeof paramsOrCallback === 'function') {
4037
+ callback = paramsOrCallback;
4038
+ params =
4039
+ {} as Params$Resource$Projects$Locations$Gateways$Routeviews$List;
4040
+ options = {};
4041
+ }
4042
+
4043
+ if (typeof optionsOrCallback === 'function') {
4044
+ callback = optionsOrCallback;
4045
+ options = {};
4046
+ }
4047
+
4048
+ const rootUrl =
4049
+ options.rootUrl || 'https://networkservices.googleapis.com/';
4050
+ const parameters = {
4051
+ options: Object.assign(
4052
+ {
4053
+ url: (rootUrl + '/v1beta1/{+parent}/routeViews').replace(
4054
+ /([^:]\/)\/+/g,
4055
+ '$1'
4056
+ ),
4057
+ method: 'GET',
4058
+ apiVersion: '',
4059
+ },
4060
+ options
4061
+ ),
4062
+ params,
4063
+ requiredParams: ['parent'],
4064
+ pathParams: ['parent'],
4065
+ context: this.context,
4066
+ };
4067
+ if (callback) {
4068
+ createAPIRequest<Schema$ListGatewayRouteViewsResponse>(
4069
+ parameters,
4070
+ callback as BodyResponseCallback<unknown>
4071
+ );
4072
+ } else {
4073
+ return createAPIRequest<Schema$ListGatewayRouteViewsResponse>(
4074
+ parameters
4075
+ );
4076
+ }
4077
+ }
4078
+ }
4079
+
4080
+ export interface Params$Resource$Projects$Locations$Gateways$Routeviews$Get
4081
+ extends StandardParameters {
4082
+ /**
4083
+ * Required. Name of the GatewayRouteView resource. Formats: projects/{project_number\}/locations/{location\}/gateways/{gateway_name\}/routeViews/{route_view_name\}
4084
+ */
4085
+ name?: string;
4086
+ }
4087
+ export interface Params$Resource$Projects$Locations$Gateways$Routeviews$List
4088
+ extends StandardParameters {
4089
+ /**
4090
+ * Maximum number of GatewayRouteViews to return per call.
4091
+ */
4092
+ pageSize?: number;
4093
+ /**
4094
+ * 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.
4095
+ */
4096
+ pageToken?: string;
4097
+ /**
4098
+ * Required. The Gateway to which a Route is associated. Formats: projects/{project_number\}/locations/{location\}/gateways/{gateway_name\}
4099
+ */
4100
+ parent?: string;
4101
+ }
4102
+
4103
+ export class Resource$Projects$Locations$Grpcroutes {
4104
+ context: APIRequestContext;
4105
+ constructor(context: APIRequestContext) {
4106
+ this.context = context;
4107
+ }
4108
+
4109
+ /**
4110
+ * Creates a new GrpcRoute in a given project and location.
3709
4111
  *
3710
4112
  * @param params - Parameters for request
3711
4113
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -5185,7 +5587,7 @@ export namespace networkservices_v1beta1 {
5185
5587
  */
5186
5588
  parent?: string;
5187
5589
  /**
5188
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5590
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5189
5591
  */
5190
5592
  requestId?: string;
5191
5593
 
@@ -5201,7 +5603,7 @@ export namespace networkservices_v1beta1 {
5201
5603
  */
5202
5604
  name?: string;
5203
5605
  /**
5204
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5606
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5205
5607
  */
5206
5608
  requestId?: string;
5207
5609
  }
@@ -5219,7 +5621,7 @@ export namespace networkservices_v1beta1 {
5219
5621
  */
5220
5622
  filter?: string;
5221
5623
  /**
5222
- * Optional. Hint for how to order the results.
5624
+ * Optional. Hint about how to order the results.
5223
5625
  */
5224
5626
  orderBy?: string;
5225
5627
  /**
@@ -5231,7 +5633,7 @@ export namespace networkservices_v1beta1 {
5231
5633
  */
5232
5634
  pageToken?: string;
5233
5635
  /**
5234
- * Required. The project and location from which the `LbRouteExtension` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`.
5636
+ * Required. The project and location from which the `LbRouteExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
5235
5637
  */
5236
5638
  parent?: string;
5237
5639
  }
@@ -5242,11 +5644,11 @@ export namespace networkservices_v1beta1 {
5242
5644
  */
5243
5645
  name?: string;
5244
5646
  /**
5245
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5647
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5246
5648
  */
5247
5649
  requestId?: string;
5248
5650
  /**
5249
- * 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.
5651
+ * 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.
5250
5652
  */
5251
5653
  updateMask?: string;
5252
5654
 
@@ -5727,7 +6129,7 @@ export namespace networkservices_v1beta1 {
5727
6129
  */
5728
6130
  parent?: string;
5729
6131
  /**
5730
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6132
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5731
6133
  */
5732
6134
  requestId?: string;
5733
6135
 
@@ -5743,7 +6145,7 @@ export namespace networkservices_v1beta1 {
5743
6145
  */
5744
6146
  name?: string;
5745
6147
  /**
5746
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6148
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5747
6149
  */
5748
6150
  requestId?: string;
5749
6151
  }
@@ -5761,7 +6163,7 @@ export namespace networkservices_v1beta1 {
5761
6163
  */
5762
6164
  filter?: string;
5763
6165
  /**
5764
- * Optional. Hint for how to order the results.
6166
+ * Optional. Hint about how to order the results.
5765
6167
  */
5766
6168
  orderBy?: string;
5767
6169
  /**
@@ -5773,7 +6175,7 @@ export namespace networkservices_v1beta1 {
5773
6175
  */
5774
6176
  pageToken?: string;
5775
6177
  /**
5776
- * Required. The project and location from which the `LbTrafficExtension` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`.
6178
+ * Required. The project and location from which the `LbTrafficExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
5777
6179
  */
5778
6180
  parent?: string;
5779
6181
  }
@@ -5784,11 +6186,11 @@ export namespace networkservices_v1beta1 {
5784
6186
  */
5785
6187
  name?: string;
5786
6188
  /**
5787
- * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6189
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5788
6190
  */
5789
6191
  requestId?: string;
5790
6192
  /**
5791
- * 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.
6193
+ * 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.
5792
6194
  */
5793
6195
  updateMask?: string;
5794
6196
 
@@ -5800,8 +6202,12 @@ export namespace networkservices_v1beta1 {
5800
6202
 
5801
6203
  export class Resource$Projects$Locations$Meshes {
5802
6204
  context: APIRequestContext;
6205
+ routeViews: Resource$Projects$Locations$Meshes$Routeviews;
5803
6206
  constructor(context: APIRequestContext) {
5804
6207
  this.context = context;
6208
+ this.routeViews = new Resource$Projects$Locations$Meshes$Routeviews(
6209
+ this.context
6210
+ );
5805
6211
  }
5806
6212
 
5807
6213
  /**
@@ -6288,6 +6694,10 @@ export namespace networkservices_v1beta1 {
6288
6694
  * Required. The project and location from which the Meshes should be listed, specified in the format `projects/x/locations/global`.
6289
6695
  */
6290
6696
  parent?: string;
6697
+ /**
6698
+ * Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
6699
+ */
6700
+ returnPartialSuccess?: boolean;
6291
6701
  }
6292
6702
  export interface Params$Resource$Projects$Locations$Meshes$Patch
6293
6703
  extends StandardParameters {
@@ -6306,64 +6716,64 @@ export namespace networkservices_v1beta1 {
6306
6716
  requestBody?: Schema$Mesh;
6307
6717
  }
6308
6718
 
6309
- export class Resource$Projects$Locations$Operations {
6719
+ export class Resource$Projects$Locations$Meshes$Routeviews {
6310
6720
  context: APIRequestContext;
6311
6721
  constructor(context: APIRequestContext) {
6312
6722
  this.context = context;
6313
6723
  }
6314
6724
 
6315
6725
  /**
6316
- * 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`.
6726
+ * Get a single RouteView of a Mesh.
6317
6727
  *
6318
6728
  * @param params - Parameters for request
6319
6729
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6320
6730
  * @param callback - Optional callback that handles the response.
6321
6731
  * @returns A promise if used with async/await, or void if used with a callback.
6322
6732
  */
6323
- cancel(
6324
- params: Params$Resource$Projects$Locations$Operations$Cancel,
6733
+ get(
6734
+ params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get,
6325
6735
  options: StreamMethodOptions
6326
6736
  ): GaxiosPromise<Readable>;
6327
- cancel(
6328
- params?: Params$Resource$Projects$Locations$Operations$Cancel,
6737
+ get(
6738
+ params?: Params$Resource$Projects$Locations$Meshes$Routeviews$Get,
6329
6739
  options?: MethodOptions
6330
- ): GaxiosPromise<Schema$Empty>;
6331
- cancel(
6332
- params: Params$Resource$Projects$Locations$Operations$Cancel,
6740
+ ): GaxiosPromise<Schema$MeshRouteView>;
6741
+ get(
6742
+ params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get,
6333
6743
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
6334
6744
  callback: BodyResponseCallback<Readable>
6335
6745
  ): void;
6336
- cancel(
6337
- params: Params$Resource$Projects$Locations$Operations$Cancel,
6338
- options: MethodOptions | BodyResponseCallback<Schema$Empty>,
6339
- callback: BodyResponseCallback<Schema$Empty>
6746
+ get(
6747
+ params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get,
6748
+ options: MethodOptions | BodyResponseCallback<Schema$MeshRouteView>,
6749
+ callback: BodyResponseCallback<Schema$MeshRouteView>
6340
6750
  ): void;
6341
- cancel(
6342
- params: Params$Resource$Projects$Locations$Operations$Cancel,
6343
- callback: BodyResponseCallback<Schema$Empty>
6751
+ get(
6752
+ params: Params$Resource$Projects$Locations$Meshes$Routeviews$Get,
6753
+ callback: BodyResponseCallback<Schema$MeshRouteView>
6344
6754
  ): void;
6345
- cancel(callback: BodyResponseCallback<Schema$Empty>): void;
6346
- cancel(
6755
+ get(callback: BodyResponseCallback<Schema$MeshRouteView>): void;
6756
+ get(
6347
6757
  paramsOrCallback?:
6348
- | Params$Resource$Projects$Locations$Operations$Cancel
6349
- | BodyResponseCallback<Schema$Empty>
6758
+ | Params$Resource$Projects$Locations$Meshes$Routeviews$Get
6759
+ | BodyResponseCallback<Schema$MeshRouteView>
6350
6760
  | BodyResponseCallback<Readable>,
6351
6761
  optionsOrCallback?:
6352
6762
  | MethodOptions
6353
6763
  | StreamMethodOptions
6354
- | BodyResponseCallback<Schema$Empty>
6764
+ | BodyResponseCallback<Schema$MeshRouteView>
6355
6765
  | BodyResponseCallback<Readable>,
6356
6766
  callback?:
6357
- | BodyResponseCallback<Schema$Empty>
6767
+ | BodyResponseCallback<Schema$MeshRouteView>
6358
6768
  | BodyResponseCallback<Readable>
6359
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
6769
+ ): void | GaxiosPromise<Schema$MeshRouteView> | GaxiosPromise<Readable> {
6360
6770
  let params = (paramsOrCallback ||
6361
- {}) as Params$Resource$Projects$Locations$Operations$Cancel;
6771
+ {}) as Params$Resource$Projects$Locations$Meshes$Routeviews$Get;
6362
6772
  let options = (optionsOrCallback || {}) as MethodOptions;
6363
6773
 
6364
6774
  if (typeof paramsOrCallback === 'function') {
6365
6775
  callback = paramsOrCallback;
6366
- params = {} as Params$Resource$Projects$Locations$Operations$Cancel;
6776
+ params = {} as Params$Resource$Projects$Locations$Meshes$Routeviews$Get;
6367
6777
  options = {};
6368
6778
  }
6369
6779
 
@@ -6377,11 +6787,8 @@ export namespace networkservices_v1beta1 {
6377
6787
  const parameters = {
6378
6788
  options: Object.assign(
6379
6789
  {
6380
- url: (rootUrl + '/v1beta1/{+name}:cancel').replace(
6381
- /([^:]\/)\/+/g,
6382
- '$1'
6383
- ),
6384
- method: 'POST',
6790
+ url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
6791
+ method: 'GET',
6385
6792
  apiVersion: '',
6386
6793
  },
6387
6794
  options
@@ -6392,67 +6799,75 @@ export namespace networkservices_v1beta1 {
6392
6799
  context: this.context,
6393
6800
  };
6394
6801
  if (callback) {
6395
- createAPIRequest<Schema$Empty>(
6802
+ createAPIRequest<Schema$MeshRouteView>(
6396
6803
  parameters,
6397
6804
  callback as BodyResponseCallback<unknown>
6398
6805
  );
6399
6806
  } else {
6400
- return createAPIRequest<Schema$Empty>(parameters);
6807
+ return createAPIRequest<Schema$MeshRouteView>(parameters);
6401
6808
  }
6402
6809
  }
6403
6810
 
6404
6811
  /**
6405
- * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
6812
+ * Lists RouteViews
6406
6813
  *
6407
6814
  * @param params - Parameters for request
6408
6815
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6409
6816
  * @param callback - Optional callback that handles the response.
6410
6817
  * @returns A promise if used with async/await, or void if used with a callback.
6411
6818
  */
6412
- delete(
6413
- params: Params$Resource$Projects$Locations$Operations$Delete,
6819
+ list(
6820
+ params: Params$Resource$Projects$Locations$Meshes$Routeviews$List,
6414
6821
  options: StreamMethodOptions
6415
6822
  ): GaxiosPromise<Readable>;
6416
- delete(
6417
- params?: Params$Resource$Projects$Locations$Operations$Delete,
6823
+ list(
6824
+ params?: Params$Resource$Projects$Locations$Meshes$Routeviews$List,
6418
6825
  options?: MethodOptions
6419
- ): GaxiosPromise<Schema$Empty>;
6420
- delete(
6421
- params: Params$Resource$Projects$Locations$Operations$Delete,
6826
+ ): GaxiosPromise<Schema$ListMeshRouteViewsResponse>;
6827
+ list(
6828
+ params: Params$Resource$Projects$Locations$Meshes$Routeviews$List,
6422
6829
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
6423
6830
  callback: BodyResponseCallback<Readable>
6424
6831
  ): void;
6425
- delete(
6426
- params: Params$Resource$Projects$Locations$Operations$Delete,
6427
- options: MethodOptions | BodyResponseCallback<Schema$Empty>,
6428
- callback: BodyResponseCallback<Schema$Empty>
6832
+ list(
6833
+ params: Params$Resource$Projects$Locations$Meshes$Routeviews$List,
6834
+ options:
6835
+ | MethodOptions
6836
+ | BodyResponseCallback<Schema$ListMeshRouteViewsResponse>,
6837
+ callback: BodyResponseCallback<Schema$ListMeshRouteViewsResponse>
6429
6838
  ): void;
6430
- delete(
6431
- params: Params$Resource$Projects$Locations$Operations$Delete,
6432
- callback: BodyResponseCallback<Schema$Empty>
6839
+ list(
6840
+ params: Params$Resource$Projects$Locations$Meshes$Routeviews$List,
6841
+ callback: BodyResponseCallback<Schema$ListMeshRouteViewsResponse>
6433
6842
  ): void;
6434
- delete(callback: BodyResponseCallback<Schema$Empty>): void;
6435
- delete(
6843
+ list(
6844
+ callback: BodyResponseCallback<Schema$ListMeshRouteViewsResponse>
6845
+ ): void;
6846
+ list(
6436
6847
  paramsOrCallback?:
6437
- | Params$Resource$Projects$Locations$Operations$Delete
6438
- | BodyResponseCallback<Schema$Empty>
6848
+ | Params$Resource$Projects$Locations$Meshes$Routeviews$List
6849
+ | BodyResponseCallback<Schema$ListMeshRouteViewsResponse>
6439
6850
  | BodyResponseCallback<Readable>,
6440
6851
  optionsOrCallback?:
6441
6852
  | MethodOptions
6442
6853
  | StreamMethodOptions
6443
- | BodyResponseCallback<Schema$Empty>
6854
+ | BodyResponseCallback<Schema$ListMeshRouteViewsResponse>
6444
6855
  | BodyResponseCallback<Readable>,
6445
6856
  callback?:
6446
- | BodyResponseCallback<Schema$Empty>
6857
+ | BodyResponseCallback<Schema$ListMeshRouteViewsResponse>
6447
6858
  | BodyResponseCallback<Readable>
6448
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
6859
+ ):
6860
+ | void
6861
+ | GaxiosPromise<Schema$ListMeshRouteViewsResponse>
6862
+ | GaxiosPromise<Readable> {
6449
6863
  let params = (paramsOrCallback ||
6450
- {}) as Params$Resource$Projects$Locations$Operations$Delete;
6864
+ {}) as Params$Resource$Projects$Locations$Meshes$Routeviews$List;
6451
6865
  let options = (optionsOrCallback || {}) as MethodOptions;
6452
6866
 
6453
6867
  if (typeof paramsOrCallback === 'function') {
6454
6868
  callback = paramsOrCallback;
6455
- params = {} as Params$Resource$Projects$Locations$Operations$Delete;
6869
+ params =
6870
+ {} as Params$Resource$Projects$Locations$Meshes$Routeviews$List;
6456
6871
  options = {};
6457
6872
  }
6458
6873
 
@@ -6466,11 +6881,219 @@ export namespace networkservices_v1beta1 {
6466
6881
  const parameters = {
6467
6882
  options: Object.assign(
6468
6883
  {
6469
- url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
6470
- method: 'DELETE',
6471
- apiVersion: '',
6472
- },
6473
- options
6884
+ url: (rootUrl + '/v1beta1/{+parent}/routeViews').replace(
6885
+ /([^:]\/)\/+/g,
6886
+ '$1'
6887
+ ),
6888
+ method: 'GET',
6889
+ apiVersion: '',
6890
+ },
6891
+ options
6892
+ ),
6893
+ params,
6894
+ requiredParams: ['parent'],
6895
+ pathParams: ['parent'],
6896
+ context: this.context,
6897
+ };
6898
+ if (callback) {
6899
+ createAPIRequest<Schema$ListMeshRouteViewsResponse>(
6900
+ parameters,
6901
+ callback as BodyResponseCallback<unknown>
6902
+ );
6903
+ } else {
6904
+ return createAPIRequest<Schema$ListMeshRouteViewsResponse>(parameters);
6905
+ }
6906
+ }
6907
+ }
6908
+
6909
+ export interface Params$Resource$Projects$Locations$Meshes$Routeviews$Get
6910
+ extends StandardParameters {
6911
+ /**
6912
+ * Required. Name of the MeshRouteView resource. Format: projects/{project_number\}/locations/{location\}/meshes/{mesh_name\}/routeViews/{route_view_name\}
6913
+ */
6914
+ name?: string;
6915
+ }
6916
+ export interface Params$Resource$Projects$Locations$Meshes$Routeviews$List
6917
+ extends StandardParameters {
6918
+ /**
6919
+ * Maximum number of MeshRouteViews to return per call.
6920
+ */
6921
+ pageSize?: number;
6922
+ /**
6923
+ * 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.
6924
+ */
6925
+ pageToken?: string;
6926
+ /**
6927
+ * Required. The Mesh to which a Route is associated. Format: projects/{project_number\}/locations/{location\}/meshes/{mesh_name\}
6928
+ */
6929
+ parent?: string;
6930
+ }
6931
+
6932
+ export class Resource$Projects$Locations$Operations {
6933
+ context: APIRequestContext;
6934
+ constructor(context: APIRequestContext) {
6935
+ this.context = context;
6936
+ }
6937
+
6938
+ /**
6939
+ * 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`.
6940
+ *
6941
+ * @param params - Parameters for request
6942
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6943
+ * @param callback - Optional callback that handles the response.
6944
+ * @returns A promise if used with async/await, or void if used with a callback.
6945
+ */
6946
+ cancel(
6947
+ params: Params$Resource$Projects$Locations$Operations$Cancel,
6948
+ options: StreamMethodOptions
6949
+ ): GaxiosPromise<Readable>;
6950
+ cancel(
6951
+ params?: Params$Resource$Projects$Locations$Operations$Cancel,
6952
+ options?: MethodOptions
6953
+ ): GaxiosPromise<Schema$Empty>;
6954
+ cancel(
6955
+ params: Params$Resource$Projects$Locations$Operations$Cancel,
6956
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
6957
+ callback: BodyResponseCallback<Readable>
6958
+ ): void;
6959
+ cancel(
6960
+ params: Params$Resource$Projects$Locations$Operations$Cancel,
6961
+ options: MethodOptions | BodyResponseCallback<Schema$Empty>,
6962
+ callback: BodyResponseCallback<Schema$Empty>
6963
+ ): void;
6964
+ cancel(
6965
+ params: Params$Resource$Projects$Locations$Operations$Cancel,
6966
+ callback: BodyResponseCallback<Schema$Empty>
6967
+ ): void;
6968
+ cancel(callback: BodyResponseCallback<Schema$Empty>): void;
6969
+ cancel(
6970
+ paramsOrCallback?:
6971
+ | Params$Resource$Projects$Locations$Operations$Cancel
6972
+ | BodyResponseCallback<Schema$Empty>
6973
+ | BodyResponseCallback<Readable>,
6974
+ optionsOrCallback?:
6975
+ | MethodOptions
6976
+ | StreamMethodOptions
6977
+ | BodyResponseCallback<Schema$Empty>
6978
+ | BodyResponseCallback<Readable>,
6979
+ callback?:
6980
+ | BodyResponseCallback<Schema$Empty>
6981
+ | BodyResponseCallback<Readable>
6982
+ ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
6983
+ let params = (paramsOrCallback ||
6984
+ {}) as Params$Resource$Projects$Locations$Operations$Cancel;
6985
+ let options = (optionsOrCallback || {}) as MethodOptions;
6986
+
6987
+ if (typeof paramsOrCallback === 'function') {
6988
+ callback = paramsOrCallback;
6989
+ params = {} as Params$Resource$Projects$Locations$Operations$Cancel;
6990
+ options = {};
6991
+ }
6992
+
6993
+ if (typeof optionsOrCallback === 'function') {
6994
+ callback = optionsOrCallback;
6995
+ options = {};
6996
+ }
6997
+
6998
+ const rootUrl =
6999
+ options.rootUrl || 'https://networkservices.googleapis.com/';
7000
+ const parameters = {
7001
+ options: Object.assign(
7002
+ {
7003
+ url: (rootUrl + '/v1beta1/{+name}:cancel').replace(
7004
+ /([^:]\/)\/+/g,
7005
+ '$1'
7006
+ ),
7007
+ method: 'POST',
7008
+ apiVersion: '',
7009
+ },
7010
+ options
7011
+ ),
7012
+ params,
7013
+ requiredParams: ['name'],
7014
+ pathParams: ['name'],
7015
+ context: this.context,
7016
+ };
7017
+ if (callback) {
7018
+ createAPIRequest<Schema$Empty>(
7019
+ parameters,
7020
+ callback as BodyResponseCallback<unknown>
7021
+ );
7022
+ } else {
7023
+ return createAPIRequest<Schema$Empty>(parameters);
7024
+ }
7025
+ }
7026
+
7027
+ /**
7028
+ * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
7029
+ *
7030
+ * @param params - Parameters for request
7031
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7032
+ * @param callback - Optional callback that handles the response.
7033
+ * @returns A promise if used with async/await, or void if used with a callback.
7034
+ */
7035
+ delete(
7036
+ params: Params$Resource$Projects$Locations$Operations$Delete,
7037
+ options: StreamMethodOptions
7038
+ ): GaxiosPromise<Readable>;
7039
+ delete(
7040
+ params?: Params$Resource$Projects$Locations$Operations$Delete,
7041
+ options?: MethodOptions
7042
+ ): GaxiosPromise<Schema$Empty>;
7043
+ delete(
7044
+ params: Params$Resource$Projects$Locations$Operations$Delete,
7045
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
7046
+ callback: BodyResponseCallback<Readable>
7047
+ ): void;
7048
+ delete(
7049
+ params: Params$Resource$Projects$Locations$Operations$Delete,
7050
+ options: MethodOptions | BodyResponseCallback<Schema$Empty>,
7051
+ callback: BodyResponseCallback<Schema$Empty>
7052
+ ): void;
7053
+ delete(
7054
+ params: Params$Resource$Projects$Locations$Operations$Delete,
7055
+ callback: BodyResponseCallback<Schema$Empty>
7056
+ ): void;
7057
+ delete(callback: BodyResponseCallback<Schema$Empty>): void;
7058
+ delete(
7059
+ paramsOrCallback?:
7060
+ | Params$Resource$Projects$Locations$Operations$Delete
7061
+ | BodyResponseCallback<Schema$Empty>
7062
+ | BodyResponseCallback<Readable>,
7063
+ optionsOrCallback?:
7064
+ | MethodOptions
7065
+ | StreamMethodOptions
7066
+ | BodyResponseCallback<Schema$Empty>
7067
+ | BodyResponseCallback<Readable>,
7068
+ callback?:
7069
+ | BodyResponseCallback<Schema$Empty>
7070
+ | BodyResponseCallback<Readable>
7071
+ ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
7072
+ let params = (paramsOrCallback ||
7073
+ {}) as Params$Resource$Projects$Locations$Operations$Delete;
7074
+ let options = (optionsOrCallback || {}) as MethodOptions;
7075
+
7076
+ if (typeof paramsOrCallback === 'function') {
7077
+ callback = paramsOrCallback;
7078
+ params = {} as Params$Resource$Projects$Locations$Operations$Delete;
7079
+ options = {};
7080
+ }
7081
+
7082
+ if (typeof optionsOrCallback === 'function') {
7083
+ callback = optionsOrCallback;
7084
+ options = {};
7085
+ }
7086
+
7087
+ const rootUrl =
7088
+ options.rootUrl || 'https://networkservices.googleapis.com/';
7089
+ const parameters = {
7090
+ options: Object.assign(
7091
+ {
7092
+ url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
7093
+ method: 'DELETE',
7094
+ apiVersion: '',
7095
+ },
7096
+ options
6474
7097
  ),
6475
7098
  params,
6476
7099
  requiredParams: ['name'],
@@ -7083,7 +7706,7 @@ export namespace networkservices_v1beta1 {
7083
7706
  export interface Params$Resource$Projects$Locations$Servicebindings$Create
7084
7707
  extends StandardParameters {
7085
7708
  /**
7086
- * Required. The parent resource of the ServiceBinding. Must be in the format `projects/x/locations/global`.
7709
+ * Required. The parent resource of the ServiceBinding. Must be in the format `projects/x/locations/x`.
7087
7710
  */
7088
7711
  parent?: string;
7089
7712
  /**
@@ -7099,14 +7722,14 @@ export namespace networkservices_v1beta1 {
7099
7722
  export interface Params$Resource$Projects$Locations$Servicebindings$Delete
7100
7723
  extends StandardParameters {
7101
7724
  /**
7102
- * Required. A name of the ServiceBinding to delete. Must be in the format `projects/x/locations/global/serviceBindings/x`.
7725
+ * Required. A name of the ServiceBinding to delete. Must be in the format `projects/x/locations/x/serviceBindings/x`.
7103
7726
  */
7104
7727
  name?: string;
7105
7728
  }
7106
7729
  export interface Params$Resource$Projects$Locations$Servicebindings$Get
7107
7730
  extends StandardParameters {
7108
7731
  /**
7109
- * Required. A name of the ServiceBinding to get. Must be in the format `projects/x/locations/global/serviceBindings/x`.
7732
+ * Required. A name of the ServiceBinding to get. Must be in the format `projects/x/locations/x/serviceBindings/x`.
7110
7733
  */
7111
7734
  name?: string;
7112
7735
  }
@@ -7121,7 +7744,7 @@ export namespace networkservices_v1beta1 {
7121
7744
  */
7122
7745
  pageToken?: string;
7123
7746
  /**
7124
- * Required. The project and location from which the ServiceBindings should be listed, specified in the format `projects/x/locations/global`.
7747
+ * Required. The project and location from which the ServiceBindings should be listed, specified in the format `projects/x/locations/x`.
7125
7748
  */
7126
7749
  parent?: string;
7127
7750
  }
@@ -7396,58 +8019,65 @@ export namespace networkservices_v1beta1 {
7396
8019
  }
7397
8020
 
7398
8021
  /**
7399
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
8022
+ * Lists ServiceLbPolicies in a given project and location.
7400
8023
  *
7401
8024
  * @param params - Parameters for request
7402
8025
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7403
8026
  * @param callback - Optional callback that handles the response.
7404
8027
  * @returns A promise if used with async/await, or void if used with a callback.
7405
8028
  */
7406
- getIamPolicy(
7407
- params: Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy,
8029
+ list(
8030
+ params: Params$Resource$Projects$Locations$Servicelbpolicies$List,
7408
8031
  options: StreamMethodOptions
7409
8032
  ): GaxiosPromise<Readable>;
7410
- getIamPolicy(
7411
- params?: Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy,
8033
+ list(
8034
+ params?: Params$Resource$Projects$Locations$Servicelbpolicies$List,
7412
8035
  options?: MethodOptions
7413
- ): GaxiosPromise<Schema$Policy>;
7414
- getIamPolicy(
7415
- params: Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy,
8036
+ ): GaxiosPromise<Schema$ListServiceLbPoliciesResponse>;
8037
+ list(
8038
+ params: Params$Resource$Projects$Locations$Servicelbpolicies$List,
7416
8039
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
7417
8040
  callback: BodyResponseCallback<Readable>
7418
8041
  ): void;
7419
- getIamPolicy(
7420
- params: Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy,
7421
- options: MethodOptions | BodyResponseCallback<Schema$Policy>,
7422
- callback: BodyResponseCallback<Schema$Policy>
8042
+ list(
8043
+ params: Params$Resource$Projects$Locations$Servicelbpolicies$List,
8044
+ options:
8045
+ | MethodOptions
8046
+ | BodyResponseCallback<Schema$ListServiceLbPoliciesResponse>,
8047
+ callback: BodyResponseCallback<Schema$ListServiceLbPoliciesResponse>
8048
+ ): void;
8049
+ list(
8050
+ params: Params$Resource$Projects$Locations$Servicelbpolicies$List,
8051
+ callback: BodyResponseCallback<Schema$ListServiceLbPoliciesResponse>
7423
8052
  ): void;
7424
- getIamPolicy(
7425
- params: Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy,
7426
- callback: BodyResponseCallback<Schema$Policy>
8053
+ list(
8054
+ callback: BodyResponseCallback<Schema$ListServiceLbPoliciesResponse>
7427
8055
  ): void;
7428
- getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
7429
- getIamPolicy(
8056
+ list(
7430
8057
  paramsOrCallback?:
7431
- | Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy
7432
- | BodyResponseCallback<Schema$Policy>
8058
+ | Params$Resource$Projects$Locations$Servicelbpolicies$List
8059
+ | BodyResponseCallback<Schema$ListServiceLbPoliciesResponse>
7433
8060
  | BodyResponseCallback<Readable>,
7434
8061
  optionsOrCallback?:
7435
8062
  | MethodOptions
7436
8063
  | StreamMethodOptions
7437
- | BodyResponseCallback<Schema$Policy>
8064
+ | BodyResponseCallback<Schema$ListServiceLbPoliciesResponse>
7438
8065
  | BodyResponseCallback<Readable>,
7439
8066
  callback?:
7440
- | BodyResponseCallback<Schema$Policy>
8067
+ | BodyResponseCallback<Schema$ListServiceLbPoliciesResponse>
7441
8068
  | BodyResponseCallback<Readable>
7442
- ): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
8069
+ ):
8070
+ | void
8071
+ | GaxiosPromise<Schema$ListServiceLbPoliciesResponse>
8072
+ | GaxiosPromise<Readable> {
7443
8073
  let params = (paramsOrCallback ||
7444
- {}) as Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy;
8074
+ {}) as Params$Resource$Projects$Locations$Servicelbpolicies$List;
7445
8075
  let options = (optionsOrCallback || {}) as MethodOptions;
7446
8076
 
7447
8077
  if (typeof paramsOrCallback === 'function') {
7448
8078
  callback = paramsOrCallback;
7449
8079
  params =
7450
- {} as Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy;
8080
+ {} as Params$Resource$Projects$Locations$Servicelbpolicies$List;
7451
8081
  options = {};
7452
8082
  }
7453
8083
 
@@ -7461,7 +8091,7 @@ export namespace networkservices_v1beta1 {
7461
8091
  const parameters = {
7462
8092
  options: Object.assign(
7463
8093
  {
7464
- url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(
8094
+ url: (rootUrl + '/v1beta1/{+parent}/serviceLbPolicies').replace(
7465
8095
  /([^:]\/)\/+/g,
7466
8096
  '$1'
7467
8097
  ),
@@ -7471,133 +8101,36 @@ export namespace networkservices_v1beta1 {
7471
8101
  options
7472
8102
  ),
7473
8103
  params,
7474
- requiredParams: ['resource'],
7475
- pathParams: ['resource'],
8104
+ requiredParams: ['parent'],
8105
+ pathParams: ['parent'],
7476
8106
  context: this.context,
7477
8107
  };
7478
8108
  if (callback) {
7479
- createAPIRequest<Schema$Policy>(
8109
+ createAPIRequest<Schema$ListServiceLbPoliciesResponse>(
7480
8110
  parameters,
7481
8111
  callback as BodyResponseCallback<unknown>
7482
8112
  );
7483
8113
  } else {
7484
- return createAPIRequest<Schema$Policy>(parameters);
8114
+ return createAPIRequest<Schema$ListServiceLbPoliciesResponse>(
8115
+ parameters
8116
+ );
7485
8117
  }
7486
8118
  }
7487
8119
 
7488
8120
  /**
7489
- * Lists ServiceLbPolicies in a given project and location.
8121
+ * Updates the parameters of a single ServiceLbPolicy.
7490
8122
  *
7491
8123
  * @param params - Parameters for request
7492
8124
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7493
8125
  * @param callback - Optional callback that handles the response.
7494
8126
  * @returns A promise if used with async/await, or void if used with a callback.
7495
8127
  */
7496
- list(
7497
- params: Params$Resource$Projects$Locations$Servicelbpolicies$List,
8128
+ patch(
8129
+ params: Params$Resource$Projects$Locations$Servicelbpolicies$Patch,
7498
8130
  options: StreamMethodOptions
7499
8131
  ): GaxiosPromise<Readable>;
7500
- list(
7501
- params?: Params$Resource$Projects$Locations$Servicelbpolicies$List,
7502
- options?: MethodOptions
7503
- ): GaxiosPromise<Schema$ListServiceLbPoliciesResponse>;
7504
- list(
7505
- params: Params$Resource$Projects$Locations$Servicelbpolicies$List,
7506
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
7507
- callback: BodyResponseCallback<Readable>
7508
- ): void;
7509
- list(
7510
- params: Params$Resource$Projects$Locations$Servicelbpolicies$List,
7511
- options:
7512
- | MethodOptions
7513
- | BodyResponseCallback<Schema$ListServiceLbPoliciesResponse>,
7514
- callback: BodyResponseCallback<Schema$ListServiceLbPoliciesResponse>
7515
- ): void;
7516
- list(
7517
- params: Params$Resource$Projects$Locations$Servicelbpolicies$List,
7518
- callback: BodyResponseCallback<Schema$ListServiceLbPoliciesResponse>
7519
- ): void;
7520
- list(
7521
- callback: BodyResponseCallback<Schema$ListServiceLbPoliciesResponse>
7522
- ): void;
7523
- list(
7524
- paramsOrCallback?:
7525
- | Params$Resource$Projects$Locations$Servicelbpolicies$List
7526
- | BodyResponseCallback<Schema$ListServiceLbPoliciesResponse>
7527
- | BodyResponseCallback<Readable>,
7528
- optionsOrCallback?:
7529
- | MethodOptions
7530
- | StreamMethodOptions
7531
- | BodyResponseCallback<Schema$ListServiceLbPoliciesResponse>
7532
- | BodyResponseCallback<Readable>,
7533
- callback?:
7534
- | BodyResponseCallback<Schema$ListServiceLbPoliciesResponse>
7535
- | BodyResponseCallback<Readable>
7536
- ):
7537
- | void
7538
- | GaxiosPromise<Schema$ListServiceLbPoliciesResponse>
7539
- | GaxiosPromise<Readable> {
7540
- let params = (paramsOrCallback ||
7541
- {}) as Params$Resource$Projects$Locations$Servicelbpolicies$List;
7542
- let options = (optionsOrCallback || {}) as MethodOptions;
7543
-
7544
- if (typeof paramsOrCallback === 'function') {
7545
- callback = paramsOrCallback;
7546
- params =
7547
- {} as Params$Resource$Projects$Locations$Servicelbpolicies$List;
7548
- options = {};
7549
- }
7550
-
7551
- if (typeof optionsOrCallback === 'function') {
7552
- callback = optionsOrCallback;
7553
- options = {};
7554
- }
7555
-
7556
- const rootUrl =
7557
- options.rootUrl || 'https://networkservices.googleapis.com/';
7558
- const parameters = {
7559
- options: Object.assign(
7560
- {
7561
- url: (rootUrl + '/v1beta1/{+parent}/serviceLbPolicies').replace(
7562
- /([^:]\/)\/+/g,
7563
- '$1'
7564
- ),
7565
- method: 'GET',
7566
- apiVersion: '',
7567
- },
7568
- options
7569
- ),
7570
- params,
7571
- requiredParams: ['parent'],
7572
- pathParams: ['parent'],
7573
- context: this.context,
7574
- };
7575
- if (callback) {
7576
- createAPIRequest<Schema$ListServiceLbPoliciesResponse>(
7577
- parameters,
7578
- callback as BodyResponseCallback<unknown>
7579
- );
7580
- } else {
7581
- return createAPIRequest<Schema$ListServiceLbPoliciesResponse>(
7582
- parameters
7583
- );
7584
- }
7585
- }
7586
-
7587
- /**
7588
- * Updates the parameters of a single ServiceLbPolicy.
7589
- *
7590
- * @param params - Parameters for request
7591
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7592
- * @param callback - Optional callback that handles the response.
7593
- * @returns A promise if used with async/await, or void if used with a callback.
7594
- */
7595
- patch(
7596
- params: Params$Resource$Projects$Locations$Servicelbpolicies$Patch,
7597
- options: StreamMethodOptions
7598
- ): GaxiosPromise<Readable>;
7599
- patch(
7600
- params?: Params$Resource$Projects$Locations$Servicelbpolicies$Patch,
8132
+ patch(
8133
+ params?: Params$Resource$Projects$Locations$Servicelbpolicies$Patch,
7601
8134
  options?: MethodOptions
7602
8135
  ): GaxiosPromise<Schema$Operation>;
7603
8136
  patch(
@@ -7670,193 +8203,6 @@ export namespace networkservices_v1beta1 {
7670
8203
  return createAPIRequest<Schema$Operation>(parameters);
7671
8204
  }
7672
8205
  }
7673
-
7674
- /**
7675
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
7676
- *
7677
- * @param params - Parameters for request
7678
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7679
- * @param callback - Optional callback that handles the response.
7680
- * @returns A promise if used with async/await, or void if used with a callback.
7681
- */
7682
- setIamPolicy(
7683
- params: Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy,
7684
- options: StreamMethodOptions
7685
- ): GaxiosPromise<Readable>;
7686
- setIamPolicy(
7687
- params?: Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy,
7688
- options?: MethodOptions
7689
- ): GaxiosPromise<Schema$Policy>;
7690
- setIamPolicy(
7691
- params: Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy,
7692
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
7693
- callback: BodyResponseCallback<Readable>
7694
- ): void;
7695
- setIamPolicy(
7696
- params: Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy,
7697
- options: MethodOptions | BodyResponseCallback<Schema$Policy>,
7698
- callback: BodyResponseCallback<Schema$Policy>
7699
- ): void;
7700
- setIamPolicy(
7701
- params: Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy,
7702
- callback: BodyResponseCallback<Schema$Policy>
7703
- ): void;
7704
- setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
7705
- setIamPolicy(
7706
- paramsOrCallback?:
7707
- | Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy
7708
- | BodyResponseCallback<Schema$Policy>
7709
- | BodyResponseCallback<Readable>,
7710
- optionsOrCallback?:
7711
- | MethodOptions
7712
- | StreamMethodOptions
7713
- | BodyResponseCallback<Schema$Policy>
7714
- | BodyResponseCallback<Readable>,
7715
- callback?:
7716
- | BodyResponseCallback<Schema$Policy>
7717
- | BodyResponseCallback<Readable>
7718
- ): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
7719
- let params = (paramsOrCallback ||
7720
- {}) as Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy;
7721
- let options = (optionsOrCallback || {}) as MethodOptions;
7722
-
7723
- if (typeof paramsOrCallback === 'function') {
7724
- callback = paramsOrCallback;
7725
- params =
7726
- {} as Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy;
7727
- options = {};
7728
- }
7729
-
7730
- if (typeof optionsOrCallback === 'function') {
7731
- callback = optionsOrCallback;
7732
- options = {};
7733
- }
7734
-
7735
- const rootUrl =
7736
- options.rootUrl || 'https://networkservices.googleapis.com/';
7737
- const parameters = {
7738
- options: Object.assign(
7739
- {
7740
- url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(
7741
- /([^:]\/)\/+/g,
7742
- '$1'
7743
- ),
7744
- method: 'POST',
7745
- apiVersion: '',
7746
- },
7747
- options
7748
- ),
7749
- params,
7750
- requiredParams: ['resource'],
7751
- pathParams: ['resource'],
7752
- context: this.context,
7753
- };
7754
- if (callback) {
7755
- createAPIRequest<Schema$Policy>(
7756
- parameters,
7757
- callback as BodyResponseCallback<unknown>
7758
- );
7759
- } else {
7760
- return createAPIRequest<Schema$Policy>(parameters);
7761
- }
7762
- }
7763
-
7764
- /**
7765
- * 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.
7766
- *
7767
- * @param params - Parameters for request
7768
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7769
- * @param callback - Optional callback that handles the response.
7770
- * @returns A promise if used with async/await, or void if used with a callback.
7771
- */
7772
- testIamPermissions(
7773
- params: Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions,
7774
- options: StreamMethodOptions
7775
- ): GaxiosPromise<Readable>;
7776
- testIamPermissions(
7777
- params?: Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions,
7778
- options?: MethodOptions
7779
- ): GaxiosPromise<Schema$TestIamPermissionsResponse>;
7780
- testIamPermissions(
7781
- params: Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions,
7782
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
7783
- callback: BodyResponseCallback<Readable>
7784
- ): void;
7785
- testIamPermissions(
7786
- params: Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions,
7787
- options:
7788
- | MethodOptions
7789
- | BodyResponseCallback<Schema$TestIamPermissionsResponse>,
7790
- callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
7791
- ): void;
7792
- testIamPermissions(
7793
- params: Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions,
7794
- callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
7795
- ): void;
7796
- testIamPermissions(
7797
- callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
7798
- ): void;
7799
- testIamPermissions(
7800
- paramsOrCallback?:
7801
- | Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions
7802
- | BodyResponseCallback<Schema$TestIamPermissionsResponse>
7803
- | BodyResponseCallback<Readable>,
7804
- optionsOrCallback?:
7805
- | MethodOptions
7806
- | StreamMethodOptions
7807
- | BodyResponseCallback<Schema$TestIamPermissionsResponse>
7808
- | BodyResponseCallback<Readable>,
7809
- callback?:
7810
- | BodyResponseCallback<Schema$TestIamPermissionsResponse>
7811
- | BodyResponseCallback<Readable>
7812
- ):
7813
- | void
7814
- | GaxiosPromise<Schema$TestIamPermissionsResponse>
7815
- | GaxiosPromise<Readable> {
7816
- let params = (paramsOrCallback ||
7817
- {}) as Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions;
7818
- let options = (optionsOrCallback || {}) as MethodOptions;
7819
-
7820
- if (typeof paramsOrCallback === 'function') {
7821
- callback = paramsOrCallback;
7822
- params =
7823
- {} as Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions;
7824
- options = {};
7825
- }
7826
-
7827
- if (typeof optionsOrCallback === 'function') {
7828
- callback = optionsOrCallback;
7829
- options = {};
7830
- }
7831
-
7832
- const rootUrl =
7833
- options.rootUrl || 'https://networkservices.googleapis.com/';
7834
- const parameters = {
7835
- options: Object.assign(
7836
- {
7837
- url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(
7838
- /([^:]\/)\/+/g,
7839
- '$1'
7840
- ),
7841
- method: 'POST',
7842
- apiVersion: '',
7843
- },
7844
- options
7845
- ),
7846
- params,
7847
- requiredParams: ['resource'],
7848
- pathParams: ['resource'],
7849
- context: this.context,
7850
- };
7851
- if (callback) {
7852
- createAPIRequest<Schema$TestIamPermissionsResponse>(
7853
- parameters,
7854
- callback as BodyResponseCallback<unknown>
7855
- );
7856
- } else {
7857
- return createAPIRequest<Schema$TestIamPermissionsResponse>(parameters);
7858
- }
7859
- }
7860
8206
  }
7861
8207
 
7862
8208
  export interface Params$Resource$Projects$Locations$Servicelbpolicies$Create
@@ -7889,17 +8235,6 @@ export namespace networkservices_v1beta1 {
7889
8235
  */
7890
8236
  name?: string;
7891
8237
  }
7892
- export interface Params$Resource$Projects$Locations$Servicelbpolicies$Getiampolicy
7893
- extends StandardParameters {
7894
- /**
7895
- * 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).
7896
- */
7897
- 'options.requestedPolicyVersion'?: number;
7898
- /**
7899
- * 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.
7900
- */
7901
- resource?: string;
7902
- }
7903
8238
  export interface Params$Resource$Projects$Locations$Servicelbpolicies$List
7904
8239
  extends StandardParameters {
7905
8240
  /**
@@ -7918,7 +8253,7 @@ export namespace networkservices_v1beta1 {
7918
8253
  export interface Params$Resource$Projects$Locations$Servicelbpolicies$Patch
7919
8254
  extends StandardParameters {
7920
8255
  /**
7921
- * Required. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project\}/locations/{location\}/serviceLbPolicies/{service_lb_policy_name\}`.
8256
+ * Identifier. Name of the ServiceLbPolicy resource. It matches pattern `projects/{project\}/locations/{location\}/serviceLbPolicies/{service_lb_policy_name\}`.
7922
8257
  */
7923
8258
  name?: string;
7924
8259
  /**
@@ -7931,30 +8266,6 @@ export namespace networkservices_v1beta1 {
7931
8266
  */
7932
8267
  requestBody?: Schema$ServiceLbPolicy;
7933
8268
  }
7934
- export interface Params$Resource$Projects$Locations$Servicelbpolicies$Setiampolicy
7935
- extends StandardParameters {
7936
- /**
7937
- * 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.
7938
- */
7939
- resource?: string;
7940
-
7941
- /**
7942
- * Request body metadata
7943
- */
7944
- requestBody?: Schema$SetIamPolicyRequest;
7945
- }
7946
- export interface Params$Resource$Projects$Locations$Servicelbpolicies$Testiampermissions
7947
- extends StandardParameters {
7948
- /**
7949
- * 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.
7950
- */
7951
- resource?: string;
7952
-
7953
- /**
7954
- * Request body metadata
7955
- */
7956
- requestBody?: Schema$TestIamPermissionsRequest;
7957
- }
7958
8269
 
7959
8270
  export class Resource$Projects$Locations$Tcproutes {
7960
8271
  context: APIRequestContext;
@@ -8975,4 +9286,941 @@ export namespace networkservices_v1beta1 {
8975
9286
  */
8976
9287
  requestBody?: Schema$TlsRoute;
8977
9288
  }
9289
+
9290
+ export class Resource$Projects$Locations$Wasmplugins {
9291
+ context: APIRequestContext;
9292
+ versions: Resource$Projects$Locations$Wasmplugins$Versions;
9293
+ constructor(context: APIRequestContext) {
9294
+ this.context = context;
9295
+ this.versions = new Resource$Projects$Locations$Wasmplugins$Versions(
9296
+ this.context
9297
+ );
9298
+ }
9299
+
9300
+ /**
9301
+ * Creates a new `WasmPlugin` resource in a given project and location.
9302
+ *
9303
+ * @param params - Parameters for request
9304
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9305
+ * @param callback - Optional callback that handles the response.
9306
+ * @returns A promise if used with async/await, or void if used with a callback.
9307
+ */
9308
+ create(
9309
+ params: Params$Resource$Projects$Locations$Wasmplugins$Create,
9310
+ options: StreamMethodOptions
9311
+ ): GaxiosPromise<Readable>;
9312
+ create(
9313
+ params?: Params$Resource$Projects$Locations$Wasmplugins$Create,
9314
+ options?: MethodOptions
9315
+ ): GaxiosPromise<Schema$Operation>;
9316
+ create(
9317
+ params: Params$Resource$Projects$Locations$Wasmplugins$Create,
9318
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
9319
+ callback: BodyResponseCallback<Readable>
9320
+ ): void;
9321
+ create(
9322
+ params: Params$Resource$Projects$Locations$Wasmplugins$Create,
9323
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
9324
+ callback: BodyResponseCallback<Schema$Operation>
9325
+ ): void;
9326
+ create(
9327
+ params: Params$Resource$Projects$Locations$Wasmplugins$Create,
9328
+ callback: BodyResponseCallback<Schema$Operation>
9329
+ ): void;
9330
+ create(callback: BodyResponseCallback<Schema$Operation>): void;
9331
+ create(
9332
+ paramsOrCallback?:
9333
+ | Params$Resource$Projects$Locations$Wasmplugins$Create
9334
+ | BodyResponseCallback<Schema$Operation>
9335
+ | BodyResponseCallback<Readable>,
9336
+ optionsOrCallback?:
9337
+ | MethodOptions
9338
+ | StreamMethodOptions
9339
+ | BodyResponseCallback<Schema$Operation>
9340
+ | BodyResponseCallback<Readable>,
9341
+ callback?:
9342
+ | BodyResponseCallback<Schema$Operation>
9343
+ | BodyResponseCallback<Readable>
9344
+ ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
9345
+ let params = (paramsOrCallback ||
9346
+ {}) as Params$Resource$Projects$Locations$Wasmplugins$Create;
9347
+ let options = (optionsOrCallback || {}) as MethodOptions;
9348
+
9349
+ if (typeof paramsOrCallback === 'function') {
9350
+ callback = paramsOrCallback;
9351
+ params = {} as Params$Resource$Projects$Locations$Wasmplugins$Create;
9352
+ options = {};
9353
+ }
9354
+
9355
+ if (typeof optionsOrCallback === 'function') {
9356
+ callback = optionsOrCallback;
9357
+ options = {};
9358
+ }
9359
+
9360
+ const rootUrl =
9361
+ options.rootUrl || 'https://networkservices.googleapis.com/';
9362
+ const parameters = {
9363
+ options: Object.assign(
9364
+ {
9365
+ url: (rootUrl + '/v1beta1/{+parent}/wasmPlugins').replace(
9366
+ /([^:]\/)\/+/g,
9367
+ '$1'
9368
+ ),
9369
+ method: 'POST',
9370
+ apiVersion: '',
9371
+ },
9372
+ options
9373
+ ),
9374
+ params,
9375
+ requiredParams: ['parent'],
9376
+ pathParams: ['parent'],
9377
+ context: this.context,
9378
+ };
9379
+ if (callback) {
9380
+ createAPIRequest<Schema$Operation>(
9381
+ parameters,
9382
+ callback as BodyResponseCallback<unknown>
9383
+ );
9384
+ } else {
9385
+ return createAPIRequest<Schema$Operation>(parameters);
9386
+ }
9387
+ }
9388
+
9389
+ /**
9390
+ * Deletes the specified `WasmPlugin` resource.
9391
+ *
9392
+ * @param params - Parameters for request
9393
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9394
+ * @param callback - Optional callback that handles the response.
9395
+ * @returns A promise if used with async/await, or void if used with a callback.
9396
+ */
9397
+ delete(
9398
+ params: Params$Resource$Projects$Locations$Wasmplugins$Delete,
9399
+ options: StreamMethodOptions
9400
+ ): GaxiosPromise<Readable>;
9401
+ delete(
9402
+ params?: Params$Resource$Projects$Locations$Wasmplugins$Delete,
9403
+ options?: MethodOptions
9404
+ ): GaxiosPromise<Schema$Operation>;
9405
+ delete(
9406
+ params: Params$Resource$Projects$Locations$Wasmplugins$Delete,
9407
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
9408
+ callback: BodyResponseCallback<Readable>
9409
+ ): void;
9410
+ delete(
9411
+ params: Params$Resource$Projects$Locations$Wasmplugins$Delete,
9412
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
9413
+ callback: BodyResponseCallback<Schema$Operation>
9414
+ ): void;
9415
+ delete(
9416
+ params: Params$Resource$Projects$Locations$Wasmplugins$Delete,
9417
+ callback: BodyResponseCallback<Schema$Operation>
9418
+ ): void;
9419
+ delete(callback: BodyResponseCallback<Schema$Operation>): void;
9420
+ delete(
9421
+ paramsOrCallback?:
9422
+ | Params$Resource$Projects$Locations$Wasmplugins$Delete
9423
+ | BodyResponseCallback<Schema$Operation>
9424
+ | BodyResponseCallback<Readable>,
9425
+ optionsOrCallback?:
9426
+ | MethodOptions
9427
+ | StreamMethodOptions
9428
+ | BodyResponseCallback<Schema$Operation>
9429
+ | BodyResponseCallback<Readable>,
9430
+ callback?:
9431
+ | BodyResponseCallback<Schema$Operation>
9432
+ | BodyResponseCallback<Readable>
9433
+ ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
9434
+ let params = (paramsOrCallback ||
9435
+ {}) as Params$Resource$Projects$Locations$Wasmplugins$Delete;
9436
+ let options = (optionsOrCallback || {}) as MethodOptions;
9437
+
9438
+ if (typeof paramsOrCallback === 'function') {
9439
+ callback = paramsOrCallback;
9440
+ params = {} as Params$Resource$Projects$Locations$Wasmplugins$Delete;
9441
+ options = {};
9442
+ }
9443
+
9444
+ if (typeof optionsOrCallback === 'function') {
9445
+ callback = optionsOrCallback;
9446
+ options = {};
9447
+ }
9448
+
9449
+ const rootUrl =
9450
+ options.rootUrl || 'https://networkservices.googleapis.com/';
9451
+ const parameters = {
9452
+ options: Object.assign(
9453
+ {
9454
+ url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
9455
+ method: 'DELETE',
9456
+ apiVersion: '',
9457
+ },
9458
+ options
9459
+ ),
9460
+ params,
9461
+ requiredParams: ['name'],
9462
+ pathParams: ['name'],
9463
+ context: this.context,
9464
+ };
9465
+ if (callback) {
9466
+ createAPIRequest<Schema$Operation>(
9467
+ parameters,
9468
+ callback as BodyResponseCallback<unknown>
9469
+ );
9470
+ } else {
9471
+ return createAPIRequest<Schema$Operation>(parameters);
9472
+ }
9473
+ }
9474
+
9475
+ /**
9476
+ * Gets details of the specified `WasmPlugin` resource.
9477
+ *
9478
+ * @param params - Parameters for request
9479
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9480
+ * @param callback - Optional callback that handles the response.
9481
+ * @returns A promise if used with async/await, or void if used with a callback.
9482
+ */
9483
+ get(
9484
+ params: Params$Resource$Projects$Locations$Wasmplugins$Get,
9485
+ options: StreamMethodOptions
9486
+ ): GaxiosPromise<Readable>;
9487
+ get(
9488
+ params?: Params$Resource$Projects$Locations$Wasmplugins$Get,
9489
+ options?: MethodOptions
9490
+ ): GaxiosPromise<Schema$WasmPlugin>;
9491
+ get(
9492
+ params: Params$Resource$Projects$Locations$Wasmplugins$Get,
9493
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
9494
+ callback: BodyResponseCallback<Readable>
9495
+ ): void;
9496
+ get(
9497
+ params: Params$Resource$Projects$Locations$Wasmplugins$Get,
9498
+ options: MethodOptions | BodyResponseCallback<Schema$WasmPlugin>,
9499
+ callback: BodyResponseCallback<Schema$WasmPlugin>
9500
+ ): void;
9501
+ get(
9502
+ params: Params$Resource$Projects$Locations$Wasmplugins$Get,
9503
+ callback: BodyResponseCallback<Schema$WasmPlugin>
9504
+ ): void;
9505
+ get(callback: BodyResponseCallback<Schema$WasmPlugin>): void;
9506
+ get(
9507
+ paramsOrCallback?:
9508
+ | Params$Resource$Projects$Locations$Wasmplugins$Get
9509
+ | BodyResponseCallback<Schema$WasmPlugin>
9510
+ | BodyResponseCallback<Readable>,
9511
+ optionsOrCallback?:
9512
+ | MethodOptions
9513
+ | StreamMethodOptions
9514
+ | BodyResponseCallback<Schema$WasmPlugin>
9515
+ | BodyResponseCallback<Readable>,
9516
+ callback?:
9517
+ | BodyResponseCallback<Schema$WasmPlugin>
9518
+ | BodyResponseCallback<Readable>
9519
+ ): void | GaxiosPromise<Schema$WasmPlugin> | GaxiosPromise<Readable> {
9520
+ let params = (paramsOrCallback ||
9521
+ {}) as Params$Resource$Projects$Locations$Wasmplugins$Get;
9522
+ let options = (optionsOrCallback || {}) as MethodOptions;
9523
+
9524
+ if (typeof paramsOrCallback === 'function') {
9525
+ callback = paramsOrCallback;
9526
+ params = {} as Params$Resource$Projects$Locations$Wasmplugins$Get;
9527
+ options = {};
9528
+ }
9529
+
9530
+ if (typeof optionsOrCallback === 'function') {
9531
+ callback = optionsOrCallback;
9532
+ options = {};
9533
+ }
9534
+
9535
+ const rootUrl =
9536
+ options.rootUrl || 'https://networkservices.googleapis.com/';
9537
+ const parameters = {
9538
+ options: Object.assign(
9539
+ {
9540
+ url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
9541
+ method: 'GET',
9542
+ apiVersion: '',
9543
+ },
9544
+ options
9545
+ ),
9546
+ params,
9547
+ requiredParams: ['name'],
9548
+ pathParams: ['name'],
9549
+ context: this.context,
9550
+ };
9551
+ if (callback) {
9552
+ createAPIRequest<Schema$WasmPlugin>(
9553
+ parameters,
9554
+ callback as BodyResponseCallback<unknown>
9555
+ );
9556
+ } else {
9557
+ return createAPIRequest<Schema$WasmPlugin>(parameters);
9558
+ }
9559
+ }
9560
+
9561
+ /**
9562
+ * Lists `WasmPlugin` resources in a given project and location.
9563
+ *
9564
+ * @param params - Parameters for request
9565
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9566
+ * @param callback - Optional callback that handles the response.
9567
+ * @returns A promise if used with async/await, or void if used with a callback.
9568
+ */
9569
+ list(
9570
+ params: Params$Resource$Projects$Locations$Wasmplugins$List,
9571
+ options: StreamMethodOptions
9572
+ ): GaxiosPromise<Readable>;
9573
+ list(
9574
+ params?: Params$Resource$Projects$Locations$Wasmplugins$List,
9575
+ options?: MethodOptions
9576
+ ): GaxiosPromise<Schema$ListWasmPluginsResponse>;
9577
+ list(
9578
+ params: Params$Resource$Projects$Locations$Wasmplugins$List,
9579
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
9580
+ callback: BodyResponseCallback<Readable>
9581
+ ): void;
9582
+ list(
9583
+ params: Params$Resource$Projects$Locations$Wasmplugins$List,
9584
+ options:
9585
+ | MethodOptions
9586
+ | BodyResponseCallback<Schema$ListWasmPluginsResponse>,
9587
+ callback: BodyResponseCallback<Schema$ListWasmPluginsResponse>
9588
+ ): void;
9589
+ list(
9590
+ params: Params$Resource$Projects$Locations$Wasmplugins$List,
9591
+ callback: BodyResponseCallback<Schema$ListWasmPluginsResponse>
9592
+ ): void;
9593
+ list(callback: BodyResponseCallback<Schema$ListWasmPluginsResponse>): void;
9594
+ list(
9595
+ paramsOrCallback?:
9596
+ | Params$Resource$Projects$Locations$Wasmplugins$List
9597
+ | BodyResponseCallback<Schema$ListWasmPluginsResponse>
9598
+ | BodyResponseCallback<Readable>,
9599
+ optionsOrCallback?:
9600
+ | MethodOptions
9601
+ | StreamMethodOptions
9602
+ | BodyResponseCallback<Schema$ListWasmPluginsResponse>
9603
+ | BodyResponseCallback<Readable>,
9604
+ callback?:
9605
+ | BodyResponseCallback<Schema$ListWasmPluginsResponse>
9606
+ | BodyResponseCallback<Readable>
9607
+ ):
9608
+ | void
9609
+ | GaxiosPromise<Schema$ListWasmPluginsResponse>
9610
+ | GaxiosPromise<Readable> {
9611
+ let params = (paramsOrCallback ||
9612
+ {}) as Params$Resource$Projects$Locations$Wasmplugins$List;
9613
+ let options = (optionsOrCallback || {}) as MethodOptions;
9614
+
9615
+ if (typeof paramsOrCallback === 'function') {
9616
+ callback = paramsOrCallback;
9617
+ params = {} as Params$Resource$Projects$Locations$Wasmplugins$List;
9618
+ options = {};
9619
+ }
9620
+
9621
+ if (typeof optionsOrCallback === 'function') {
9622
+ callback = optionsOrCallback;
9623
+ options = {};
9624
+ }
9625
+
9626
+ const rootUrl =
9627
+ options.rootUrl || 'https://networkservices.googleapis.com/';
9628
+ const parameters = {
9629
+ options: Object.assign(
9630
+ {
9631
+ url: (rootUrl + '/v1beta1/{+parent}/wasmPlugins').replace(
9632
+ /([^:]\/)\/+/g,
9633
+ '$1'
9634
+ ),
9635
+ method: 'GET',
9636
+ apiVersion: '',
9637
+ },
9638
+ options
9639
+ ),
9640
+ params,
9641
+ requiredParams: ['parent'],
9642
+ pathParams: ['parent'],
9643
+ context: this.context,
9644
+ };
9645
+ if (callback) {
9646
+ createAPIRequest<Schema$ListWasmPluginsResponse>(
9647
+ parameters,
9648
+ callback as BodyResponseCallback<unknown>
9649
+ );
9650
+ } else {
9651
+ return createAPIRequest<Schema$ListWasmPluginsResponse>(parameters);
9652
+ }
9653
+ }
9654
+
9655
+ /**
9656
+ * Updates the parameters of the specified `WasmPlugin` resource.
9657
+ *
9658
+ * @param params - Parameters for request
9659
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9660
+ * @param callback - Optional callback that handles the response.
9661
+ * @returns A promise if used with async/await, or void if used with a callback.
9662
+ */
9663
+ patch(
9664
+ params: Params$Resource$Projects$Locations$Wasmplugins$Patch,
9665
+ options: StreamMethodOptions
9666
+ ): GaxiosPromise<Readable>;
9667
+ patch(
9668
+ params?: Params$Resource$Projects$Locations$Wasmplugins$Patch,
9669
+ options?: MethodOptions
9670
+ ): GaxiosPromise<Schema$Operation>;
9671
+ patch(
9672
+ params: Params$Resource$Projects$Locations$Wasmplugins$Patch,
9673
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
9674
+ callback: BodyResponseCallback<Readable>
9675
+ ): void;
9676
+ patch(
9677
+ params: Params$Resource$Projects$Locations$Wasmplugins$Patch,
9678
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
9679
+ callback: BodyResponseCallback<Schema$Operation>
9680
+ ): void;
9681
+ patch(
9682
+ params: Params$Resource$Projects$Locations$Wasmplugins$Patch,
9683
+ callback: BodyResponseCallback<Schema$Operation>
9684
+ ): void;
9685
+ patch(callback: BodyResponseCallback<Schema$Operation>): void;
9686
+ patch(
9687
+ paramsOrCallback?:
9688
+ | Params$Resource$Projects$Locations$Wasmplugins$Patch
9689
+ | BodyResponseCallback<Schema$Operation>
9690
+ | BodyResponseCallback<Readable>,
9691
+ optionsOrCallback?:
9692
+ | MethodOptions
9693
+ | StreamMethodOptions
9694
+ | BodyResponseCallback<Schema$Operation>
9695
+ | BodyResponseCallback<Readable>,
9696
+ callback?:
9697
+ | BodyResponseCallback<Schema$Operation>
9698
+ | BodyResponseCallback<Readable>
9699
+ ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
9700
+ let params = (paramsOrCallback ||
9701
+ {}) as Params$Resource$Projects$Locations$Wasmplugins$Patch;
9702
+ let options = (optionsOrCallback || {}) as MethodOptions;
9703
+
9704
+ if (typeof paramsOrCallback === 'function') {
9705
+ callback = paramsOrCallback;
9706
+ params = {} as Params$Resource$Projects$Locations$Wasmplugins$Patch;
9707
+ options = {};
9708
+ }
9709
+
9710
+ if (typeof optionsOrCallback === 'function') {
9711
+ callback = optionsOrCallback;
9712
+ options = {};
9713
+ }
9714
+
9715
+ const rootUrl =
9716
+ options.rootUrl || 'https://networkservices.googleapis.com/';
9717
+ const parameters = {
9718
+ options: Object.assign(
9719
+ {
9720
+ url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
9721
+ method: 'PATCH',
9722
+ apiVersion: '',
9723
+ },
9724
+ options
9725
+ ),
9726
+ params,
9727
+ requiredParams: ['name'],
9728
+ pathParams: ['name'],
9729
+ context: this.context,
9730
+ };
9731
+ if (callback) {
9732
+ createAPIRequest<Schema$Operation>(
9733
+ parameters,
9734
+ callback as BodyResponseCallback<unknown>
9735
+ );
9736
+ } else {
9737
+ return createAPIRequest<Schema$Operation>(parameters);
9738
+ }
9739
+ }
9740
+ }
9741
+
9742
+ export interface Params$Resource$Projects$Locations$Wasmplugins$Create
9743
+ extends StandardParameters {
9744
+ /**
9745
+ * Required. The parent resource of the `WasmPlugin` resource. Must be in the format `projects/{project\}/locations/global`.
9746
+ */
9747
+ parent?: string;
9748
+ /**
9749
+ * Required. User-provided ID of the `WasmPlugin` resource to be created.
9750
+ */
9751
+ wasmPluginId?: string;
9752
+
9753
+ /**
9754
+ * Request body metadata
9755
+ */
9756
+ requestBody?: Schema$WasmPlugin;
9757
+ }
9758
+ export interface Params$Resource$Projects$Locations$Wasmplugins$Delete
9759
+ extends StandardParameters {
9760
+ /**
9761
+ * Required. A name of the `WasmPlugin` resource to delete. Must be in the format `projects/{project\}/locations/global/wasmPlugins/{wasm_plugin\}`.
9762
+ */
9763
+ name?: string;
9764
+ }
9765
+ export interface Params$Resource$Projects$Locations$Wasmplugins$Get
9766
+ extends StandardParameters {
9767
+ /**
9768
+ * Required. A name of the `WasmPlugin` resource to get. Must be in the format `projects/{project\}/locations/global/wasmPlugins/{wasm_plugin\}`.
9769
+ */
9770
+ name?: string;
9771
+ /**
9772
+ * Determines how much data must be returned in the response. See [AIP-157](https://google.aip.dev/157).
9773
+ */
9774
+ view?: string;
9775
+ }
9776
+ export interface Params$Resource$Projects$Locations$Wasmplugins$List
9777
+ extends StandardParameters {
9778
+ /**
9779
+ * 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.
9780
+ */
9781
+ pageSize?: number;
9782
+ /**
9783
+ * 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.
9784
+ */
9785
+ pageToken?: string;
9786
+ /**
9787
+ * Required. The project and location from which the `WasmPlugin` resources are listed, specified in the following format: `projects/{project\}/locations/global`.
9788
+ */
9789
+ parent?: string;
9790
+ }
9791
+ export interface Params$Resource$Projects$Locations$Wasmplugins$Patch
9792
+ extends StandardParameters {
9793
+ /**
9794
+ * Identifier. Name of the `WasmPlugin` resource in the following format: `projects/{project\}/locations/{location\}/wasmPlugins/{wasm_plugin\}`.
9795
+ */
9796
+ name?: string;
9797
+ /**
9798
+ * 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.
9799
+ */
9800
+ updateMask?: string;
9801
+
9802
+ /**
9803
+ * Request body metadata
9804
+ */
9805
+ requestBody?: Schema$WasmPlugin;
9806
+ }
9807
+
9808
+ export class Resource$Projects$Locations$Wasmplugins$Versions {
9809
+ context: APIRequestContext;
9810
+ constructor(context: APIRequestContext) {
9811
+ this.context = context;
9812
+ }
9813
+
9814
+ /**
9815
+ * Creates a new `WasmPluginVersion` resource in a given project and location.
9816
+ *
9817
+ * @param params - Parameters for request
9818
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9819
+ * @param callback - Optional callback that handles the response.
9820
+ * @returns A promise if used with async/await, or void if used with a callback.
9821
+ */
9822
+ create(
9823
+ params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create,
9824
+ options: StreamMethodOptions
9825
+ ): GaxiosPromise<Readable>;
9826
+ create(
9827
+ params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create,
9828
+ options?: MethodOptions
9829
+ ): GaxiosPromise<Schema$Operation>;
9830
+ create(
9831
+ params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create,
9832
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
9833
+ callback: BodyResponseCallback<Readable>
9834
+ ): void;
9835
+ create(
9836
+ params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create,
9837
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
9838
+ callback: BodyResponseCallback<Schema$Operation>
9839
+ ): void;
9840
+ create(
9841
+ params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Create,
9842
+ callback: BodyResponseCallback<Schema$Operation>
9843
+ ): void;
9844
+ create(callback: BodyResponseCallback<Schema$Operation>): void;
9845
+ create(
9846
+ paramsOrCallback?:
9847
+ | Params$Resource$Projects$Locations$Wasmplugins$Versions$Create
9848
+ | BodyResponseCallback<Schema$Operation>
9849
+ | BodyResponseCallback<Readable>,
9850
+ optionsOrCallback?:
9851
+ | MethodOptions
9852
+ | StreamMethodOptions
9853
+ | BodyResponseCallback<Schema$Operation>
9854
+ | BodyResponseCallback<Readable>,
9855
+ callback?:
9856
+ | BodyResponseCallback<Schema$Operation>
9857
+ | BodyResponseCallback<Readable>
9858
+ ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
9859
+ let params = (paramsOrCallback ||
9860
+ {}) as Params$Resource$Projects$Locations$Wasmplugins$Versions$Create;
9861
+ let options = (optionsOrCallback || {}) as MethodOptions;
9862
+
9863
+ if (typeof paramsOrCallback === 'function') {
9864
+ callback = paramsOrCallback;
9865
+ params =
9866
+ {} as Params$Resource$Projects$Locations$Wasmplugins$Versions$Create;
9867
+ options = {};
9868
+ }
9869
+
9870
+ if (typeof optionsOrCallback === 'function') {
9871
+ callback = optionsOrCallback;
9872
+ options = {};
9873
+ }
9874
+
9875
+ const rootUrl =
9876
+ options.rootUrl || 'https://networkservices.googleapis.com/';
9877
+ const parameters = {
9878
+ options: Object.assign(
9879
+ {
9880
+ url: (rootUrl + '/v1beta1/{+parent}/versions').replace(
9881
+ /([^:]\/)\/+/g,
9882
+ '$1'
9883
+ ),
9884
+ method: 'POST',
9885
+ apiVersion: '',
9886
+ },
9887
+ options
9888
+ ),
9889
+ params,
9890
+ requiredParams: ['parent'],
9891
+ pathParams: ['parent'],
9892
+ context: this.context,
9893
+ };
9894
+ if (callback) {
9895
+ createAPIRequest<Schema$Operation>(
9896
+ parameters,
9897
+ callback as BodyResponseCallback<unknown>
9898
+ );
9899
+ } else {
9900
+ return createAPIRequest<Schema$Operation>(parameters);
9901
+ }
9902
+ }
9903
+
9904
+ /**
9905
+ * Deletes the specified `WasmPluginVersion` resource.
9906
+ *
9907
+ * @param params - Parameters for request
9908
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9909
+ * @param callback - Optional callback that handles the response.
9910
+ * @returns A promise if used with async/await, or void if used with a callback.
9911
+ */
9912
+ delete(
9913
+ params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete,
9914
+ options: StreamMethodOptions
9915
+ ): GaxiosPromise<Readable>;
9916
+ delete(
9917
+ params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete,
9918
+ options?: MethodOptions
9919
+ ): GaxiosPromise<Schema$Operation>;
9920
+ delete(
9921
+ params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete,
9922
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
9923
+ callback: BodyResponseCallback<Readable>
9924
+ ): void;
9925
+ delete(
9926
+ params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete,
9927
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
9928
+ callback: BodyResponseCallback<Schema$Operation>
9929
+ ): void;
9930
+ delete(
9931
+ params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete,
9932
+ callback: BodyResponseCallback<Schema$Operation>
9933
+ ): void;
9934
+ delete(callback: BodyResponseCallback<Schema$Operation>): void;
9935
+ delete(
9936
+ paramsOrCallback?:
9937
+ | Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete
9938
+ | BodyResponseCallback<Schema$Operation>
9939
+ | BodyResponseCallback<Readable>,
9940
+ optionsOrCallback?:
9941
+ | MethodOptions
9942
+ | StreamMethodOptions
9943
+ | BodyResponseCallback<Schema$Operation>
9944
+ | BodyResponseCallback<Readable>,
9945
+ callback?:
9946
+ | BodyResponseCallback<Schema$Operation>
9947
+ | BodyResponseCallback<Readable>
9948
+ ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
9949
+ let params = (paramsOrCallback ||
9950
+ {}) as Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete;
9951
+ let options = (optionsOrCallback || {}) as MethodOptions;
9952
+
9953
+ if (typeof paramsOrCallback === 'function') {
9954
+ callback = paramsOrCallback;
9955
+ params =
9956
+ {} as Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete;
9957
+ options = {};
9958
+ }
9959
+
9960
+ if (typeof optionsOrCallback === 'function') {
9961
+ callback = optionsOrCallback;
9962
+ options = {};
9963
+ }
9964
+
9965
+ const rootUrl =
9966
+ options.rootUrl || 'https://networkservices.googleapis.com/';
9967
+ const parameters = {
9968
+ options: Object.assign(
9969
+ {
9970
+ url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
9971
+ method: 'DELETE',
9972
+ apiVersion: '',
9973
+ },
9974
+ options
9975
+ ),
9976
+ params,
9977
+ requiredParams: ['name'],
9978
+ pathParams: ['name'],
9979
+ context: this.context,
9980
+ };
9981
+ if (callback) {
9982
+ createAPIRequest<Schema$Operation>(
9983
+ parameters,
9984
+ callback as BodyResponseCallback<unknown>
9985
+ );
9986
+ } else {
9987
+ return createAPIRequest<Schema$Operation>(parameters);
9988
+ }
9989
+ }
9990
+
9991
+ /**
9992
+ * Gets details of the specified `WasmPluginVersion` resource.
9993
+ *
9994
+ * @param params - Parameters for request
9995
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
9996
+ * @param callback - Optional callback that handles the response.
9997
+ * @returns A promise if used with async/await, or void if used with a callback.
9998
+ */
9999
+ get(
10000
+ params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get,
10001
+ options: StreamMethodOptions
10002
+ ): GaxiosPromise<Readable>;
10003
+ get(
10004
+ params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get,
10005
+ options?: MethodOptions
10006
+ ): GaxiosPromise<Schema$WasmPluginVersion>;
10007
+ get(
10008
+ params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get,
10009
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
10010
+ callback: BodyResponseCallback<Readable>
10011
+ ): void;
10012
+ get(
10013
+ params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get,
10014
+ options: MethodOptions | BodyResponseCallback<Schema$WasmPluginVersion>,
10015
+ callback: BodyResponseCallback<Schema$WasmPluginVersion>
10016
+ ): void;
10017
+ get(
10018
+ params: Params$Resource$Projects$Locations$Wasmplugins$Versions$Get,
10019
+ callback: BodyResponseCallback<Schema$WasmPluginVersion>
10020
+ ): void;
10021
+ get(callback: BodyResponseCallback<Schema$WasmPluginVersion>): void;
10022
+ get(
10023
+ paramsOrCallback?:
10024
+ | Params$Resource$Projects$Locations$Wasmplugins$Versions$Get
10025
+ | BodyResponseCallback<Schema$WasmPluginVersion>
10026
+ | BodyResponseCallback<Readable>,
10027
+ optionsOrCallback?:
10028
+ | MethodOptions
10029
+ | StreamMethodOptions
10030
+ | BodyResponseCallback<Schema$WasmPluginVersion>
10031
+ | BodyResponseCallback<Readable>,
10032
+ callback?:
10033
+ | BodyResponseCallback<Schema$WasmPluginVersion>
10034
+ | BodyResponseCallback<Readable>
10035
+ ):
10036
+ | void
10037
+ | GaxiosPromise<Schema$WasmPluginVersion>
10038
+ | GaxiosPromise<Readable> {
10039
+ let params = (paramsOrCallback ||
10040
+ {}) as Params$Resource$Projects$Locations$Wasmplugins$Versions$Get;
10041
+ let options = (optionsOrCallback || {}) as MethodOptions;
10042
+
10043
+ if (typeof paramsOrCallback === 'function') {
10044
+ callback = paramsOrCallback;
10045
+ params =
10046
+ {} as Params$Resource$Projects$Locations$Wasmplugins$Versions$Get;
10047
+ options = {};
10048
+ }
10049
+
10050
+ if (typeof optionsOrCallback === 'function') {
10051
+ callback = optionsOrCallback;
10052
+ options = {};
10053
+ }
10054
+
10055
+ const rootUrl =
10056
+ options.rootUrl || 'https://networkservices.googleapis.com/';
10057
+ const parameters = {
10058
+ options: Object.assign(
10059
+ {
10060
+ url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
10061
+ method: 'GET',
10062
+ apiVersion: '',
10063
+ },
10064
+ options
10065
+ ),
10066
+ params,
10067
+ requiredParams: ['name'],
10068
+ pathParams: ['name'],
10069
+ context: this.context,
10070
+ };
10071
+ if (callback) {
10072
+ createAPIRequest<Schema$WasmPluginVersion>(
10073
+ parameters,
10074
+ callback as BodyResponseCallback<unknown>
10075
+ );
10076
+ } else {
10077
+ return createAPIRequest<Schema$WasmPluginVersion>(parameters);
10078
+ }
10079
+ }
10080
+
10081
+ /**
10082
+ * Lists `WasmPluginVersion` resources in a given project and location.
10083
+ *
10084
+ * @param params - Parameters for request
10085
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
10086
+ * @param callback - Optional callback that handles the response.
10087
+ * @returns A promise if used with async/await, or void if used with a callback.
10088
+ */
10089
+ list(
10090
+ params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List,
10091
+ options: StreamMethodOptions
10092
+ ): GaxiosPromise<Readable>;
10093
+ list(
10094
+ params?: Params$Resource$Projects$Locations$Wasmplugins$Versions$List,
10095
+ options?: MethodOptions
10096
+ ): GaxiosPromise<Schema$ListWasmPluginVersionsResponse>;
10097
+ list(
10098
+ params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List,
10099
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
10100
+ callback: BodyResponseCallback<Readable>
10101
+ ): void;
10102
+ list(
10103
+ params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List,
10104
+ options:
10105
+ | MethodOptions
10106
+ | BodyResponseCallback<Schema$ListWasmPluginVersionsResponse>,
10107
+ callback: BodyResponseCallback<Schema$ListWasmPluginVersionsResponse>
10108
+ ): void;
10109
+ list(
10110
+ params: Params$Resource$Projects$Locations$Wasmplugins$Versions$List,
10111
+ callback: BodyResponseCallback<Schema$ListWasmPluginVersionsResponse>
10112
+ ): void;
10113
+ list(
10114
+ callback: BodyResponseCallback<Schema$ListWasmPluginVersionsResponse>
10115
+ ): void;
10116
+ list(
10117
+ paramsOrCallback?:
10118
+ | Params$Resource$Projects$Locations$Wasmplugins$Versions$List
10119
+ | BodyResponseCallback<Schema$ListWasmPluginVersionsResponse>
10120
+ | BodyResponseCallback<Readable>,
10121
+ optionsOrCallback?:
10122
+ | MethodOptions
10123
+ | StreamMethodOptions
10124
+ | BodyResponseCallback<Schema$ListWasmPluginVersionsResponse>
10125
+ | BodyResponseCallback<Readable>,
10126
+ callback?:
10127
+ | BodyResponseCallback<Schema$ListWasmPluginVersionsResponse>
10128
+ | BodyResponseCallback<Readable>
10129
+ ):
10130
+ | void
10131
+ | GaxiosPromise<Schema$ListWasmPluginVersionsResponse>
10132
+ | GaxiosPromise<Readable> {
10133
+ let params = (paramsOrCallback ||
10134
+ {}) as Params$Resource$Projects$Locations$Wasmplugins$Versions$List;
10135
+ let options = (optionsOrCallback || {}) as MethodOptions;
10136
+
10137
+ if (typeof paramsOrCallback === 'function') {
10138
+ callback = paramsOrCallback;
10139
+ params =
10140
+ {} as Params$Resource$Projects$Locations$Wasmplugins$Versions$List;
10141
+ options = {};
10142
+ }
10143
+
10144
+ if (typeof optionsOrCallback === 'function') {
10145
+ callback = optionsOrCallback;
10146
+ options = {};
10147
+ }
10148
+
10149
+ const rootUrl =
10150
+ options.rootUrl || 'https://networkservices.googleapis.com/';
10151
+ const parameters = {
10152
+ options: Object.assign(
10153
+ {
10154
+ url: (rootUrl + '/v1beta1/{+parent}/versions').replace(
10155
+ /([^:]\/)\/+/g,
10156
+ '$1'
10157
+ ),
10158
+ method: 'GET',
10159
+ apiVersion: '',
10160
+ },
10161
+ options
10162
+ ),
10163
+ params,
10164
+ requiredParams: ['parent'],
10165
+ pathParams: ['parent'],
10166
+ context: this.context,
10167
+ };
10168
+ if (callback) {
10169
+ createAPIRequest<Schema$ListWasmPluginVersionsResponse>(
10170
+ parameters,
10171
+ callback as BodyResponseCallback<unknown>
10172
+ );
10173
+ } else {
10174
+ return createAPIRequest<Schema$ListWasmPluginVersionsResponse>(
10175
+ parameters
10176
+ );
10177
+ }
10178
+ }
10179
+ }
10180
+
10181
+ export interface Params$Resource$Projects$Locations$Wasmplugins$Versions$Create
10182
+ extends StandardParameters {
10183
+ /**
10184
+ * Required. The parent resource of the `WasmPluginVersion` resource. Must be in the format `projects/{project\}/locations/global/wasmPlugins/{wasm_plugin\}`.
10185
+ */
10186
+ parent?: string;
10187
+ /**
10188
+ * Required. User-provided ID of the `WasmPluginVersion` resource to be created.
10189
+ */
10190
+ wasmPluginVersionId?: string;
10191
+
10192
+ /**
10193
+ * Request body metadata
10194
+ */
10195
+ requestBody?: Schema$WasmPluginVersion;
10196
+ }
10197
+ export interface Params$Resource$Projects$Locations$Wasmplugins$Versions$Delete
10198
+ extends StandardParameters {
10199
+ /**
10200
+ * 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\}`.
10201
+ */
10202
+ name?: string;
10203
+ }
10204
+ export interface Params$Resource$Projects$Locations$Wasmplugins$Versions$Get
10205
+ extends StandardParameters {
10206
+ /**
10207
+ * 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\}`.
10208
+ */
10209
+ name?: string;
10210
+ }
10211
+ export interface Params$Resource$Projects$Locations$Wasmplugins$Versions$List
10212
+ extends StandardParameters {
10213
+ /**
10214
+ * 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.
10215
+ */
10216
+ pageSize?: number;
10217
+ /**
10218
+ * 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.
10219
+ */
10220
+ pageToken?: string;
10221
+ /**
10222
+ * Required. The `WasmPlugin` resource whose `WasmPluginVersion`s are listed, specified in the following format: `projects/{project\}/locations/global/wasmPlugins/{wasm_plugin\}`.
10223
+ */
10224
+ parent?: string;
10225
+ }
8978
10226
  }