@googleapis/networkservices 38.0.0 → 38.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/build/index.js +0 -1
- package/build/index.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +59 -11
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +54 -6
- package/build/v1beta1.js.map +1 -1
- package/index.ts +0 -1
- package/package.json +1 -1
- package/tsconfig.build.json +10 -0
- package/v1.ts +59 -11
- package/v1beta1.ts +54 -6
package/build/v1.d.ts
CHANGED
|
@@ -376,14 +376,21 @@ export declare namespace networkservices_v1 {
|
|
|
376
376
|
*/
|
|
377
377
|
export interface Schema$DnsPeeringConfig {
|
|
378
378
|
/**
|
|
379
|
-
* Optional. The domain to peer.
|
|
379
|
+
* Optional. Deprecated: Use `domains` instead. The domain to peer.
|
|
380
380
|
*/
|
|
381
381
|
domain?: string | null;
|
|
382
|
+
/**
|
|
383
|
+
* Optional. The domains to peer.
|
|
384
|
+
*/
|
|
385
|
+
domains?: string[] | null;
|
|
382
386
|
/**
|
|
383
387
|
* Optional. The target network resource name for DNS peering. Format: projects/{project\}/global/networks/{network_id\}
|
|
384
388
|
*/
|
|
385
389
|
targetNetwork?: string | null;
|
|
386
390
|
}
|
|
391
|
+
/**
|
|
392
|
+
* Egress network config
|
|
393
|
+
*/
|
|
387
394
|
export interface Schema$EgressNetworkConfig {
|
|
388
395
|
/**
|
|
389
396
|
* Optional. DNS Peering configuration.
|
|
@@ -393,6 +400,10 @@ export declare namespace networkservices_v1 {
|
|
|
393
400
|
* Optional. The network attachment resource name. Format: projects/{project\}/regions/{region\}/networkAttachments/{network_attachment_id\}
|
|
394
401
|
*/
|
|
395
402
|
networkAttachment?: string | null;
|
|
403
|
+
/**
|
|
404
|
+
* Optional. The TLS configuration for the egress traffic.
|
|
405
|
+
*/
|
|
406
|
+
tlsConfig?: Schema$EgressNetworkConfigTlsConfig;
|
|
396
407
|
/**
|
|
397
408
|
* Optional. Deprecated: Use tls_config instead. The trust config resource name. Format: projects/{project\}/locations/{location\}/trustConfigs/{trust_config\}
|
|
398
409
|
*/
|
|
@@ -402,6 +413,19 @@ export declare namespace networkservices_v1 {
|
|
|
402
413
|
*/
|
|
403
414
|
vpcEgress?: string | null;
|
|
404
415
|
}
|
|
416
|
+
/**
|
|
417
|
+
* Configuration for TLS connections.
|
|
418
|
+
*/
|
|
419
|
+
export interface Schema$EgressNetworkConfigTlsConfig {
|
|
420
|
+
/**
|
|
421
|
+
* Optional. The additional roots to trust.
|
|
422
|
+
*/
|
|
423
|
+
additionalRoots?: string | null;
|
|
424
|
+
/**
|
|
425
|
+
* Optional. The trust config resource name. Format: projects/{project\}/locations/{location\}/trustConfigs/{trust_config\}
|
|
426
|
+
*/
|
|
427
|
+
trustConfig?: string | null;
|
|
428
|
+
}
|
|
405
429
|
/**
|
|
406
430
|
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
|
|
407
431
|
*/
|
|
@@ -692,7 +716,7 @@ export declare namespace networkservices_v1 {
|
|
|
692
716
|
*/
|
|
693
717
|
export interface Schema$ExtensionChain {
|
|
694
718
|
/**
|
|
695
|
-
* Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension` and `
|
|
719
|
+
* Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain.
|
|
696
720
|
*/
|
|
697
721
|
extensions?: Schema$ExtensionChainExtension[];
|
|
698
722
|
/**
|
|
@@ -751,7 +775,7 @@ export declare namespace networkservices_v1 {
|
|
|
751
775
|
*/
|
|
752
776
|
service?: string | null;
|
|
753
777
|
/**
|
|
754
|
-
* Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported.
|
|
778
|
+
* Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported.
|
|
755
779
|
*/
|
|
756
780
|
supportedEvents?: string[] | null;
|
|
757
781
|
/**
|
|
@@ -2196,7 +2220,7 @@ export declare namespace networkservices_v1 {
|
|
|
2196
2220
|
*/
|
|
2197
2221
|
description?: string | null;
|
|
2198
2222
|
/**
|
|
2199
|
-
* Optional. Labels as key-value pairs
|
|
2223
|
+
* Optional. Labels as key-value pairs.
|
|
2200
2224
|
*/
|
|
2201
2225
|
labels?: {
|
|
2202
2226
|
[key: string]: string;
|
|
@@ -2226,7 +2250,7 @@ export declare namespace networkservices_v1 {
|
|
|
2226
2250
|
*/
|
|
2227
2251
|
state?: Schema$MulticastResourceState;
|
|
2228
2252
|
/**
|
|
2229
|
-
* Output only. [Output only] The Google-generated UUID for the resource. This value is unique across all multicast consumer association resources. If a consumer association is deleted and another with the same name is created, the new consumer association is assigned a different unique_id.
|
|
2253
|
+
* Output only. [Output only] The Google-generated UUID for the resource. This value is unique across all multicast consumer association resources. If a multicast consumer association is deleted and another with the same name is created, the new multicast consumer association is assigned a different unique_id.
|
|
2230
2254
|
*/
|
|
2231
2255
|
uniqueId?: string | null;
|
|
2232
2256
|
/**
|
|
@@ -2247,7 +2271,7 @@ export declare namespace networkservices_v1 {
|
|
|
2247
2271
|
*/
|
|
2248
2272
|
description?: string | null;
|
|
2249
2273
|
/**
|
|
2250
|
-
* Optional. Labels as key-value pairs
|
|
2274
|
+
* Optional. Labels as key-value pairs.
|
|
2251
2275
|
*/
|
|
2252
2276
|
labels?: {
|
|
2253
2277
|
[key: string]: string;
|
|
@@ -2261,11 +2285,11 @@ export declare namespace networkservices_v1 {
|
|
|
2261
2285
|
*/
|
|
2262
2286
|
multicastConsumerAssociation?: string | null;
|
|
2263
2287
|
/**
|
|
2264
|
-
* Optional. The resource name of the multicast group created by the admin in the same zone as this multicast group consumer activation. Use the following format:
|
|
2288
|
+
* Optional. The resource name of the multicast group created by the admin in the same zone as this multicast group consumer activation. Use the following format: `projects/x/locations/x/multicastGroups/x`. This field is deprecated. Use multicast_group_range_activation instead.
|
|
2265
2289
|
*/
|
|
2266
2290
|
multicastGroup?: string | null;
|
|
2267
2291
|
/**
|
|
2268
|
-
* Required. The resource name of the multicast group range activation created by the admin in the same zone as this multicast group consumer activation. Use the following format:
|
|
2292
|
+
* Required. The resource name of the multicast group range activation created by the admin in the same zone as this multicast group consumer activation. Use the following format: `projects/x/locations/x/multicastGroupRangeActivations/x`.
|
|
2269
2293
|
*/
|
|
2270
2294
|
multicastGroupRangeActivation?: string | null;
|
|
2271
2295
|
/**
|
|
@@ -2281,7 +2305,7 @@ export declare namespace networkservices_v1 {
|
|
|
2281
2305
|
*/
|
|
2282
2306
|
state?: Schema$MulticastResourceState;
|
|
2283
2307
|
/**
|
|
2284
|
-
* Output only. [Output only] The Google-generated UUID for the resource. This value is unique across all multicast group consumer activation resources. If a group consumer activation is deleted and another with the same name is created, the new group consumer activation is assigned a different unique_id.
|
|
2308
|
+
* Output only. [Output only] The Google-generated UUID for the resource. This value is unique across all multicast group consumer activation resources. If a multicast group consumer activation is deleted and another with the same name is created, the new multicast group consumer activation is assigned a different unique_id.
|
|
2285
2309
|
*/
|
|
2286
2310
|
uniqueId?: string | null;
|
|
2287
2311
|
/**
|
|
@@ -3878,6 +3902,8 @@ export declare namespace networkservices_v1 {
|
|
|
3878
3902
|
*
|
|
3879
3903
|
* // Do the magic
|
|
3880
3904
|
* const res = await networkservices.projects.locations.agentGateways.list({
|
|
3905
|
+
* // Optional. A filter expression to filter the results listed in the response. The expression must follow the syntax described in [AIP-160](https://google.aip.dev/160).
|
|
3906
|
+
* filter: 'placeholder-value',
|
|
3881
3907
|
* // Optional. Maximum number of AgentGateways to return per call.
|
|
3882
3908
|
* pageSize: 'placeholder-value',
|
|
3883
3909
|
* // Optional. The value returned by the last `ListAgentGatewaysResponse` Indicates that this is a continuation of a prior `ListAgentGateways` call, and that the system should return the next page of data.
|
|
@@ -4033,6 +4059,10 @@ export declare namespace networkservices_v1 {
|
|
|
4033
4059
|
name?: string;
|
|
4034
4060
|
}
|
|
4035
4061
|
export interface Params$Resource$Projects$Locations$Agentgateways$List extends StandardParameters {
|
|
4062
|
+
/**
|
|
4063
|
+
* Optional. A filter expression to filter the results listed in the response. The expression must follow the syntax described in [AIP-160](https://google.aip.dev/160).
|
|
4064
|
+
*/
|
|
4065
|
+
filter?: string;
|
|
4036
4066
|
/**
|
|
4037
4067
|
* Optional. Maximum number of AgentGateways to return per call.
|
|
4038
4068
|
*/
|
|
@@ -4400,7 +4430,7 @@ export declare namespace networkservices_v1 {
|
|
|
4400
4430
|
* name: 'projects/my-project/locations/my-location/authzExtensions/my-authzExtension',
|
|
4401
4431
|
* // 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).
|
|
4402
4432
|
* requestId: 'placeholder-value',
|
|
4403
|
-
* //
|
|
4433
|
+
* // Optional. 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.
|
|
4404
4434
|
* updateMask: 'placeholder-value',
|
|
4405
4435
|
*
|
|
4406
4436
|
* // Request body metadata
|
|
@@ -4521,7 +4551,7 @@ export declare namespace networkservices_v1 {
|
|
|
4521
4551
|
*/
|
|
4522
4552
|
requestId?: string;
|
|
4523
4553
|
/**
|
|
4524
|
-
*
|
|
4554
|
+
* Optional. 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.
|
|
4525
4555
|
*/
|
|
4526
4556
|
updateMask?: string;
|
|
4527
4557
|
/**
|
|
@@ -11168,6 +11198,8 @@ export declare namespace networkservices_v1 {
|
|
|
11168
11198
|
* const res = await networkservices.projects.locations.serviceBindings.create({
|
|
11169
11199
|
* // Required. The parent resource of the ServiceBinding. Must be in the format `projects/x/locations/x`.
|
|
11170
11200
|
* parent: 'projects/my-project/locations/my-location',
|
|
11201
|
+
* // 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 this 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 version 4 with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
11202
|
+
* requestId: 'placeholder-value',
|
|
11171
11203
|
* // Required. Short name of the ServiceBinding resource to be created.
|
|
11172
11204
|
* serviceBindingId: 'placeholder-value',
|
|
11173
11205
|
*
|
|
@@ -11248,6 +11280,8 @@ export declare namespace networkservices_v1 {
|
|
|
11248
11280
|
* const res = await networkservices.projects.locations.serviceBindings.delete({
|
|
11249
11281
|
* // Required. A name of the ServiceBinding to delete. Must be in the format `projects/x/locations/x/serviceBindings/x`.
|
|
11250
11282
|
* name: 'projects/my-project/locations/my-location/serviceBindings/my-serviceBinding',
|
|
11283
|
+
* // 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 this 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 version 4 with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
11284
|
+
* requestId: 'placeholder-value',
|
|
11251
11285
|
* });
|
|
11252
11286
|
* console.log(res.data);
|
|
11253
11287
|
*
|
|
@@ -11444,6 +11478,8 @@ export declare namespace networkservices_v1 {
|
|
|
11444
11478
|
* const res = await networkservices.projects.locations.serviceBindings.patch({
|
|
11445
11479
|
* // Identifier. Name of the ServiceBinding resource. It matches pattern `projects/x/locations/x/serviceBindings/`.
|
|
11446
11480
|
* name: 'projects/my-project/locations/my-location/serviceBindings/my-serviceBinding',
|
|
11481
|
+
* // 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 this 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 version 4 with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
11482
|
+
* requestId: 'placeholder-value',
|
|
11447
11483
|
* // Optional. Field mask is used to specify the fields to be overwritten in the ServiceBinding resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
|
|
11448
11484
|
* updateMask: 'placeholder-value',
|
|
11449
11485
|
*
|
|
@@ -11497,6 +11533,10 @@ export declare namespace networkservices_v1 {
|
|
|
11497
11533
|
* Required. The parent resource of the ServiceBinding. Must be in the format `projects/x/locations/x`.
|
|
11498
11534
|
*/
|
|
11499
11535
|
parent?: string;
|
|
11536
|
+
/**
|
|
11537
|
+
* 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 this 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 version 4 with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
11538
|
+
*/
|
|
11539
|
+
requestId?: string;
|
|
11500
11540
|
/**
|
|
11501
11541
|
* Required. Short name of the ServiceBinding resource to be created.
|
|
11502
11542
|
*/
|
|
@@ -11511,6 +11551,10 @@ export declare namespace networkservices_v1 {
|
|
|
11511
11551
|
* Required. A name of the ServiceBinding to delete. Must be in the format `projects/x/locations/x/serviceBindings/x`.
|
|
11512
11552
|
*/
|
|
11513
11553
|
name?: string;
|
|
11554
|
+
/**
|
|
11555
|
+
* 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 this 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 version 4 with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
11556
|
+
*/
|
|
11557
|
+
requestId?: string;
|
|
11514
11558
|
}
|
|
11515
11559
|
export interface Params$Resource$Projects$Locations$Servicebindings$Get extends StandardParameters {
|
|
11516
11560
|
/**
|
|
@@ -11537,6 +11581,10 @@ export declare namespace networkservices_v1 {
|
|
|
11537
11581
|
* Identifier. Name of the ServiceBinding resource. It matches pattern `projects/x/locations/x/serviceBindings/`.
|
|
11538
11582
|
*/
|
|
11539
11583
|
name?: string;
|
|
11584
|
+
/**
|
|
11585
|
+
* 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 this 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 version 4 with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
11586
|
+
*/
|
|
11587
|
+
requestId?: string;
|
|
11540
11588
|
/**
|
|
11541
11589
|
* Optional. Field mask is used to specify the fields to be overwritten in the ServiceBinding resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
|
|
11542
11590
|
*/
|