@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/v1beta1.d.ts
CHANGED
|
@@ -377,14 +377,21 @@ export declare namespace networkservices_v1beta1 {
|
|
|
377
377
|
*/
|
|
378
378
|
export interface Schema$DnsPeeringConfig {
|
|
379
379
|
/**
|
|
380
|
-
* Optional. The domain to peer.
|
|
380
|
+
* Optional. Deprecated: Use `domains` instead. The domain to peer.
|
|
381
381
|
*/
|
|
382
382
|
domain?: string | null;
|
|
383
|
+
/**
|
|
384
|
+
* Optional. The domains to peer.
|
|
385
|
+
*/
|
|
386
|
+
domains?: string[] | null;
|
|
383
387
|
/**
|
|
384
388
|
* Optional. The target network resource name for DNS peering. Format: projects/{project\}/global/networks/{network_id\}
|
|
385
389
|
*/
|
|
386
390
|
targetNetwork?: string | null;
|
|
387
391
|
}
|
|
392
|
+
/**
|
|
393
|
+
* Egress network config
|
|
394
|
+
*/
|
|
388
395
|
export interface Schema$EgressNetworkConfig {
|
|
389
396
|
/**
|
|
390
397
|
* Optional. DNS Peering configuration.
|
|
@@ -394,6 +401,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
394
401
|
* Optional. The network attachment resource name. Format: projects/{project\}/regions/{region\}/networkAttachments/{network_attachment_id\}
|
|
395
402
|
*/
|
|
396
403
|
networkAttachment?: string | null;
|
|
404
|
+
/**
|
|
405
|
+
* Optional. The TLS configuration for the egress traffic.
|
|
406
|
+
*/
|
|
407
|
+
tlsConfig?: Schema$EgressNetworkConfigTlsConfig;
|
|
397
408
|
/**
|
|
398
409
|
* Optional. Deprecated: Use tls_config instead. The trust config resource name. Format: projects/{project\}/locations/{location\}/trustConfigs/{trust_config\}
|
|
399
410
|
*/
|
|
@@ -403,6 +414,19 @@ export declare namespace networkservices_v1beta1 {
|
|
|
403
414
|
*/
|
|
404
415
|
vpcEgress?: string | null;
|
|
405
416
|
}
|
|
417
|
+
/**
|
|
418
|
+
* Configuration for TLS connections.
|
|
419
|
+
*/
|
|
420
|
+
export interface Schema$EgressNetworkConfigTlsConfig {
|
|
421
|
+
/**
|
|
422
|
+
* Optional. The additional roots to trust.
|
|
423
|
+
*/
|
|
424
|
+
additionalRoots?: string | null;
|
|
425
|
+
/**
|
|
426
|
+
* Optional. The trust config resource name. Format: projects/{project\}/locations/{location\}/trustConfigs/{trust_config\}
|
|
427
|
+
*/
|
|
428
|
+
trustConfig?: string | null;
|
|
429
|
+
}
|
|
406
430
|
/**
|
|
407
431
|
* 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); \}
|
|
408
432
|
*/
|
|
@@ -650,7 +674,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
650
674
|
*/
|
|
651
675
|
export interface Schema$ExtensionChain {
|
|
652
676
|
/**
|
|
653
|
-
* 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 `
|
|
677
|
+
* 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.
|
|
654
678
|
*/
|
|
655
679
|
extensions?: Schema$ExtensionChainExtension[];
|
|
656
680
|
/**
|
|
@@ -713,7 +737,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
713
737
|
*/
|
|
714
738
|
service?: string | null;
|
|
715
739
|
/**
|
|
716
|
-
* 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.
|
|
740
|
+
* 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.
|
|
717
741
|
*/
|
|
718
742
|
supportedEvents?: string[] | null;
|
|
719
743
|
/**
|
|
@@ -1590,7 +1614,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
1590
1614
|
*/
|
|
1591
1615
|
description?: string | null;
|
|
1592
1616
|
/**
|
|
1593
|
-
* Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to
|
|
1617
|
+
* Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 1 extension chain per resource.
|
|
1594
1618
|
*/
|
|
1595
1619
|
extensionChains?: Schema$ExtensionChain[];
|
|
1596
1620
|
/**
|
|
@@ -3734,6 +3758,8 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3734
3758
|
*
|
|
3735
3759
|
* // Do the magic
|
|
3736
3760
|
* const res = await networkservices.projects.locations.agentGateways.list({
|
|
3761
|
+
* // 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).
|
|
3762
|
+
* filter: 'placeholder-value',
|
|
3737
3763
|
* // Optional. Maximum number of AgentGateways to return per call.
|
|
3738
3764
|
* pageSize: 'placeholder-value',
|
|
3739
3765
|
* // 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.
|
|
@@ -3889,6 +3915,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
3889
3915
|
name?: string;
|
|
3890
3916
|
}
|
|
3891
3917
|
export interface Params$Resource$Projects$Locations$Agentgateways$List extends StandardParameters {
|
|
3918
|
+
/**
|
|
3919
|
+
* 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).
|
|
3920
|
+
*/
|
|
3921
|
+
filter?: string;
|
|
3892
3922
|
/**
|
|
3893
3923
|
* Optional. Maximum number of AgentGateways to return per call.
|
|
3894
3924
|
*/
|
|
@@ -4256,7 +4286,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4256
4286
|
* name: 'projects/my-project/locations/my-location/authzExtensions/my-authzExtension',
|
|
4257
4287
|
* // 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).
|
|
4258
4288
|
* requestId: 'placeholder-value',
|
|
4259
|
-
* //
|
|
4289
|
+
* // 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.
|
|
4260
4290
|
* updateMask: 'placeholder-value',
|
|
4261
4291
|
*
|
|
4262
4292
|
* // Request body metadata
|
|
@@ -4377,7 +4407,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
4377
4407
|
*/
|
|
4378
4408
|
requestId?: string;
|
|
4379
4409
|
/**
|
|
4380
|
-
*
|
|
4410
|
+
* 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.
|
|
4381
4411
|
*/
|
|
4382
4412
|
updateMask?: string;
|
|
4383
4413
|
/**
|
|
@@ -10238,6 +10268,8 @@ export declare namespace networkservices_v1beta1 {
|
|
|
10238
10268
|
* const res = await networkservices.projects.locations.serviceBindings.create({
|
|
10239
10269
|
* // Required. The parent resource of the ServiceBinding. Must be in the format `projects/x/locations/x`.
|
|
10240
10270
|
* parent: 'projects/my-project/locations/my-location',
|
|
10271
|
+
* // 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).
|
|
10272
|
+
* requestId: 'placeholder-value',
|
|
10241
10273
|
* // Required. Short name of the ServiceBinding resource to be created.
|
|
10242
10274
|
* serviceBindingId: 'placeholder-value',
|
|
10243
10275
|
*
|
|
@@ -10318,6 +10350,8 @@ export declare namespace networkservices_v1beta1 {
|
|
|
10318
10350
|
* const res = await networkservices.projects.locations.serviceBindings.delete({
|
|
10319
10351
|
* // Required. A name of the ServiceBinding to delete. Must be in the format `projects/x/locations/x/serviceBindings/x`.
|
|
10320
10352
|
* name: 'projects/my-project/locations/my-location/serviceBindings/my-serviceBinding',
|
|
10353
|
+
* // 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).
|
|
10354
|
+
* requestId: 'placeholder-value',
|
|
10321
10355
|
* });
|
|
10322
10356
|
* console.log(res.data);
|
|
10323
10357
|
*
|
|
@@ -10514,6 +10548,8 @@ export declare namespace networkservices_v1beta1 {
|
|
|
10514
10548
|
* const res = await networkservices.projects.locations.serviceBindings.patch({
|
|
10515
10549
|
* // Identifier. Name of the ServiceBinding resource. It matches pattern `projects/x/locations/x/serviceBindings/`.
|
|
10516
10550
|
* name: 'projects/my-project/locations/my-location/serviceBindings/my-serviceBinding',
|
|
10551
|
+
* // 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).
|
|
10552
|
+
* requestId: 'placeholder-value',
|
|
10517
10553
|
* // 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.
|
|
10518
10554
|
* updateMask: 'placeholder-value',
|
|
10519
10555
|
*
|
|
@@ -10567,6 +10603,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
10567
10603
|
* Required. The parent resource of the ServiceBinding. Must be in the format `projects/x/locations/x`.
|
|
10568
10604
|
*/
|
|
10569
10605
|
parent?: string;
|
|
10606
|
+
/**
|
|
10607
|
+
* 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).
|
|
10608
|
+
*/
|
|
10609
|
+
requestId?: string;
|
|
10570
10610
|
/**
|
|
10571
10611
|
* Required. Short name of the ServiceBinding resource to be created.
|
|
10572
10612
|
*/
|
|
@@ -10581,6 +10621,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
10581
10621
|
* Required. A name of the ServiceBinding to delete. Must be in the format `projects/x/locations/x/serviceBindings/x`.
|
|
10582
10622
|
*/
|
|
10583
10623
|
name?: string;
|
|
10624
|
+
/**
|
|
10625
|
+
* 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).
|
|
10626
|
+
*/
|
|
10627
|
+
requestId?: string;
|
|
10584
10628
|
}
|
|
10585
10629
|
export interface Params$Resource$Projects$Locations$Servicebindings$Get extends StandardParameters {
|
|
10586
10630
|
/**
|
|
@@ -10607,6 +10651,10 @@ export declare namespace networkservices_v1beta1 {
|
|
|
10607
10651
|
* Identifier. Name of the ServiceBinding resource. It matches pattern `projects/x/locations/x/serviceBindings/`.
|
|
10608
10652
|
*/
|
|
10609
10653
|
name?: string;
|
|
10654
|
+
/**
|
|
10655
|
+
* 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).
|
|
10656
|
+
*/
|
|
10657
|
+
requestId?: string;
|
|
10610
10658
|
/**
|
|
10611
10659
|
* 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.
|
|
10612
10660
|
*/
|