@googleapis/networkservices 38.1.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.
@@ -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 `LbEdgeExtension` chains are limited to 1 extension per extension chain.
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 5 extension chains per resource.
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
  /**
@@ -4262,7 +4286,7 @@ export declare namespace networkservices_v1beta1 {
4262
4286
  * name: 'projects/my-project/locations/my-location/authzExtensions/my-authzExtension',
4263
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).
4264
4288
  * requestId: 'placeholder-value',
4265
- * // 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.
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.
4266
4290
  * updateMask: 'placeholder-value',
4267
4291
  *
4268
4292
  * // Request body metadata
@@ -4383,7 +4407,7 @@ export declare namespace networkservices_v1beta1 {
4383
4407
  */
4384
4408
  requestId?: string;
4385
4409
  /**
4386
- * 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.
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.
4387
4411
  */
4388
4412
  updateMask?: string;
4389
4413
  /**
@@ -10244,6 +10268,8 @@ export declare namespace networkservices_v1beta1 {
10244
10268
  * const res = await networkservices.projects.locations.serviceBindings.create({
10245
10269
  * // Required. The parent resource of the ServiceBinding. Must be in the format `projects/x/locations/x`.
10246
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',
10247
10273
  * // Required. Short name of the ServiceBinding resource to be created.
10248
10274
  * serviceBindingId: 'placeholder-value',
10249
10275
  *
@@ -10324,6 +10350,8 @@ export declare namespace networkservices_v1beta1 {
10324
10350
  * const res = await networkservices.projects.locations.serviceBindings.delete({
10325
10351
  * // Required. A name of the ServiceBinding to delete. Must be in the format `projects/x/locations/x/serviceBindings/x`.
10326
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',
10327
10355
  * });
10328
10356
  * console.log(res.data);
10329
10357
  *
@@ -10520,6 +10548,8 @@ export declare namespace networkservices_v1beta1 {
10520
10548
  * const res = await networkservices.projects.locations.serviceBindings.patch({
10521
10549
  * // Identifier. Name of the ServiceBinding resource. It matches pattern `projects/x/locations/x/serviceBindings/`.
10522
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',
10523
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.
10524
10554
  * updateMask: 'placeholder-value',
10525
10555
  *
@@ -10573,6 +10603,10 @@ export declare namespace networkservices_v1beta1 {
10573
10603
  * Required. The parent resource of the ServiceBinding. Must be in the format `projects/x/locations/x`.
10574
10604
  */
10575
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;
10576
10610
  /**
10577
10611
  * Required. Short name of the ServiceBinding resource to be created.
10578
10612
  */
@@ -10587,6 +10621,10 @@ export declare namespace networkservices_v1beta1 {
10587
10621
  * Required. A name of the ServiceBinding to delete. Must be in the format `projects/x/locations/x/serviceBindings/x`.
10588
10622
  */
10589
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;
10590
10628
  }
10591
10629
  export interface Params$Resource$Projects$Locations$Servicebindings$Get extends StandardParameters {
10592
10630
  /**
@@ -10613,6 +10651,10 @@ export declare namespace networkservices_v1beta1 {
10613
10651
  * Identifier. Name of the ServiceBinding resource. It matches pattern `projects/x/locations/x/serviceBindings/`.
10614
10652
  */
10615
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;
10616
10658
  /**
10617
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.
10618
10660
  */