@googleapis/networkservices 38.1.0 → 38.2.1
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/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +68 -26
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +63 -21
- package/build/v1beta1.js.map +1 -1
- package/package.json +2 -2
- package/tsconfig.build.json +10 -0
- package/v1.ts +68 -26
- package/v1beta1.ts +63 -21
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
|
*/
|
|
@@ -499,7 +523,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
499
523
|
[key: string]: string;
|
|
500
524
|
} | null;
|
|
501
525
|
/**
|
|
502
|
-
* Optional. A list of match conditions to
|
|
526
|
+
* Optional. A list of match conditions to evaluate against the incoming request. The extension is invoked if the request matches at least one condition, or if no match conditions are specified. A request matches a condition only if it matches every field that is set in that condition. Limited to 5 conditions.
|
|
503
527
|
*/
|
|
504
528
|
matchConditions?: Schema$ExtensionBindingMatchCondition[];
|
|
505
529
|
/**
|
|
@@ -507,21 +531,21 @@ export declare namespace networkservices_v1beta1 {
|
|
|
507
531
|
*/
|
|
508
532
|
name?: string | null;
|
|
509
533
|
/**
|
|
510
|
-
* Optional. Priority of the extension binding. Lower numbers indicate higher priority.
|
|
534
|
+
* Optional. Priority of the extension binding. Lower numbers indicate higher priority. The priority determines the order in which extension bindings are applied to a request.
|
|
511
535
|
*/
|
|
512
536
|
priority?: number | null;
|
|
513
537
|
/**
|
|
514
|
-
* Required. The name of the extension that this binding should attach to target resources. Format: For Google-provided extensions, specify the service endpoint
|
|
538
|
+
* Required. The name of the extension that this binding should attach to target resources. Format: For Google-provided extensions, specify the service endpoint, for example `modelarmor.us-central1.rep.googleapis.com`.
|
|
515
539
|
*/
|
|
516
540
|
producerExtension?: string | null;
|
|
517
541
|
/**
|
|
518
|
-
* Optional. Additional metadata that should be passed to the attached extension with each request.
|
|
542
|
+
* Optional. Additional metadata that should be passed to the attached extension with each request. This field is subject to the following limitations: * The total size of the metadata must be less than 1 KiB. * The total number of keys must be less than 16. * The length of each key must be less than 64 characters. * The length of each value must be less than 1024 characters.
|
|
519
543
|
*/
|
|
520
544
|
producerMetadata?: {
|
|
521
545
|
[key: string]: string;
|
|
522
546
|
} | null;
|
|
523
547
|
/**
|
|
524
|
-
* Required. Specifies a target to which this `ExtensionBinding` should be attached.
|
|
548
|
+
* Required. Specifies a target to which this `ExtensionBinding` should be attached.
|
|
525
549
|
*/
|
|
526
550
|
target?: Schema$ExtensionBindingTarget;
|
|
527
551
|
/**
|
|
@@ -556,23 +580,23 @@ export declare namespace networkservices_v1beta1 {
|
|
|
556
580
|
*/
|
|
557
581
|
export interface Schema$ExtensionBindingMatchConditionStringMatch {
|
|
558
582
|
/**
|
|
559
|
-
* Optional. The input string must
|
|
583
|
+
* Optional. The input string must contain the substring specified here. An empty substring is not allowed. Examples: * `abc` matches the value `xyz.abc.def`.
|
|
560
584
|
*/
|
|
561
585
|
contains?: string | null;
|
|
562
586
|
/**
|
|
563
|
-
* Optional. The input string must match exactly the string specified here. Examples: *
|
|
587
|
+
* Optional. The input string must match exactly the string specified here. Examples: * `abc` only matches the value `abc`.
|
|
564
588
|
*/
|
|
565
589
|
exact?: string | null;
|
|
566
590
|
/**
|
|
567
|
-
* Optional. If true,
|
|
591
|
+
* Optional. If true, the `exact`, `prefix`, `suffix`, or `contains` match is case insensitive. For example, the matcher `data` matches both `Data` and `data` when set to true.
|
|
568
592
|
*/
|
|
569
593
|
ignoreCase?: boolean | null;
|
|
570
594
|
/**
|
|
571
|
-
* Optional. The input string must have the prefix specified here.
|
|
595
|
+
* Optional. The input string must have the prefix specified here. An empty prefix is not allowed. Examples: * `abc` matches the value `abc.xyz`.
|
|
572
596
|
*/
|
|
573
597
|
prefix?: string | null;
|
|
574
598
|
/**
|
|
575
|
-
* Optional. The input string must have the suffix specified here.
|
|
599
|
+
* Optional. The input string must have the suffix specified here. An empty suffix is not allowed. Examples: * `abc` matches the value `xyz.abc`.
|
|
576
600
|
*/
|
|
577
601
|
suffix?: string | null;
|
|
578
602
|
}
|
|
@@ -581,7 +605,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
581
605
|
*/
|
|
582
606
|
export interface Schema$ExtensionBindingMatchConditionTo {
|
|
583
607
|
/**
|
|
584
|
-
* Optional. Describes properties of destination of a request.
|
|
608
|
+
* Optional. Describes properties of the destination of a request. A request matches the destination only if it matches every field that is set. Fields that are not set are always considered a match. For example, if only `hosts` and `paths` are set, a request matches when any host matches and any path matches. At least one of `destination` or `not_destination` must be specified.
|
|
585
609
|
*/
|
|
586
610
|
destination?: Schema$ExtensionBindingMatchConditionToDestination;
|
|
587
611
|
/**
|
|
@@ -615,7 +639,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
615
639
|
*/
|
|
616
640
|
export interface Schema$ExtensionBindingMatchConditionToDestinationHeaderSet {
|
|
617
641
|
/**
|
|
618
|
-
* Required. A list of headers to match against
|
|
642
|
+
* Required. A list of HTTP headers to match against. If multiple header matches are provided, they are evaluated as an AND, meaning that all header matches must match for the request to match. Limited to 10 headers.
|
|
619
643
|
*/
|
|
620
644
|
headers?: Schema$ExtensionBindingMatchConditionHeaderMatch[];
|
|
621
645
|
}
|
|
@@ -624,7 +648,7 @@ export declare namespace networkservices_v1beta1 {
|
|
|
624
648
|
*/
|
|
625
649
|
export interface Schema$ExtensionBindingTarget {
|
|
626
650
|
/**
|
|
627
|
-
* Optional. The
|
|
651
|
+
* Optional. The references to the target resources to which this binding should attach. Exactly one of `resources` or `scope` must be set. For AI Application resources, specify the full resource name in the format: `projects/{project\}/locations/{location\}/applications/{application\}`. Limited to 1 resource.
|
|
628
652
|
*/
|
|
629
653
|
resources?: string[] | null;
|
|
630
654
|
/**
|
|
@@ -637,11 +661,11 @@ export declare namespace networkservices_v1beta1 {
|
|
|
637
661
|
*/
|
|
638
662
|
export interface Schema$ExtensionBindingTargetScope {
|
|
639
663
|
/**
|
|
640
|
-
* Required.
|
|
664
|
+
* Required. The parent resource that defines the scope, in the format `projects/{project_number\}`. When the scope is a project, the binding applies to the resources that meet all of the following conditions: * The resource belongs to the specified project. * The resource is in the same location as the `ExtensionBinding`. * The resource type is listed in `resource_types`.
|
|
641
665
|
*/
|
|
642
666
|
parent?: string | null;
|
|
643
667
|
/**
|
|
644
|
-
* Required.
|
|
668
|
+
* Required. The types of resources to which the binding should attach. Limited to 1 resource type.
|
|
645
669
|
*/
|
|
646
670
|
resourceTypes?: string[] | null;
|
|
647
671
|
}
|
|
@@ -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
|
/**
|
|
@@ -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
|
-
* //
|
|
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
|
-
*
|
|
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
|
*/
|