google-apis-networksecurity_v1 0.40.0 → 0.42.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: edbfb5c426fbca4613b789fda55829772c8896b402b9f642e5a109fbbdffe268
4
- data.tar.gz: '061699d42676321974c889379c3dc3171dec49cdab1769b9e733d180738f2998'
3
+ metadata.gz: '030684738a11c653c6dbfefd383387196de0c56ab88b58487217afd4da882dc5'
4
+ data.tar.gz: d51d5842964ccf30b14c5d6c44d27bf062f34be15f6788245868693e015c66ca
5
5
  SHA512:
6
- metadata.gz: 99d07c9470fe7da57befdcec0c43286abd6845ec078d29ea692b067c8d5fad3d842007a97c927f60d25ab274dc41102576d413d3c0c639a2de2cefe1340872cb
7
- data.tar.gz: a63d98c37bace9079dc6446be1c05187e836a635a40e66db4064df8a7d9715a45723e0648c2f756afe80a80ac267f8deb71cdfb4748c6707972972cee4cb568c
6
+ metadata.gz: 50d039d18e697e77c7c89590cd1c8dfe5cdf6aa5dc0b90639611971934827fd9ca32fca7a88b3584f0c8484227b1ae5d11c03ae831446095ac012ef29aa4236d
7
+ data.tar.gz: 18c9e17d6c697f952773b87e078d6b0378fe7864f39b75b7a79c58cafb7e263818eb4316c6f5eeaaaf31be7b0d42847789511434b0e55d136a72ad6611ad61bf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networksecurity_v1
2
2
 
3
+ ### v0.42.0 (2025-08-17)
4
+
5
+ * Regenerated from discovery document revision 20250806
6
+
7
+ ### v0.41.0 (2025-07-27)
8
+
9
+ * Regenerated from discovery document revision 20250714
10
+
3
11
  ### v0.40.0 (2025-06-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20250604
@@ -375,14 +375,30 @@ module Google
375
375
  class AuthzPolicyAuthzRuleFromRequestSource
376
376
  include Google::Apis::Core::Hashable
377
377
 
378
- # Optional. A list of IPs or CIDRs to match against the source IP of a request.
379
- # Limited to 5 ip_blocks.
378
+ # Optional. A list of IP addresses or IP address ranges to match against the
379
+ # source IP address of the request. Limited to 10 ip_blocks per Authorization
380
+ # Policy
380
381
  # Corresponds to the JSON property `ipBlocks`
381
382
  # @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleIpBlock>]
382
383
  attr_accessor :ip_blocks
383
384
 
385
+ # Optional. A list of identities derived from the client's certificate. This
386
+ # field will not match on a request unless frontend mutual TLS is enabled for
387
+ # the forwarding rule or Gateway and the client certificate has been
388
+ # successfully validated by mTLS. Each identity is a string whose value is
389
+ # matched against a list of URI SANs, DNS Name SANs, or the common name in the
390
+ # client's certificate. A match happens when any principal matches with the rule.
391
+ # Limited to 50 principals per Authorization Policy for Regional Internal
392
+ # Application Load Balancer, Regional External Application Load Balancer, Cross-
393
+ # region Internal Application Load Balancer, and Cloud Service Mesh. Limited to
394
+ # 25 principals per Authorization Policy for Global External Application Load
395
+ # Balancer.
396
+ # Corresponds to the JSON property `principals`
397
+ # @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRulePrincipal>]
398
+ attr_accessor :principals
399
+
384
400
  # Optional. A list of resources to match against the resource of the source VM
385
- # of a request. Limited to 5 resources.
401
+ # of a request. Limited to 10 resources per Authorization Policy.
386
402
  # Corresponds to the JSON property `resources`
387
403
  # @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleRequestResource>]
388
404
  attr_accessor :resources
@@ -394,6 +410,7 @@ module Google
394
410
  # Update properties of this object
395
411
  def update!(**args)
396
412
  @ip_blocks = args[:ip_blocks] if args.key?(:ip_blocks)
413
+ @principals = args[:principals] if args.key?(:principals)
397
414
  @resources = args[:resources] if args.key?(:resources)
398
415
  end
399
416
  end
@@ -448,6 +465,32 @@ module Google
448
465
  end
449
466
  end
450
467
 
468
+ # Describes the properties of a principal to be matched against.
469
+ class AuthzPolicyAuthzRulePrincipal
470
+ include Google::Apis::Core::Hashable
471
+
472
+ # Determines how a string value should be matched.
473
+ # Corresponds to the JSON property `principal`
474
+ # @return [Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch]
475
+ attr_accessor :principal
476
+
477
+ # Optional. An enum to decide what principal value the principal rule will match
478
+ # against. If not specified, the PrincipalSelector is CLIENT_CERT_URI_SAN.
479
+ # Corresponds to the JSON property `principalSelector`
480
+ # @return [String]
481
+ attr_accessor :principal_selector
482
+
483
+ def initialize(**args)
484
+ update!(**args)
485
+ end
486
+
487
+ # Update properties of this object
488
+ def update!(**args)
489
+ @principal = args[:principal] if args.key?(:principal)
490
+ @principal_selector = args[:principal_selector] if args.key?(:principal_selector)
491
+ end
492
+ end
493
+
451
494
  # Describes the properties of a client VM resource accessing the internal
452
495
  # application load balancers.
453
496
  class AuthzPolicyAuthzRuleRequestResource
@@ -483,7 +526,7 @@ module Google
483
526
  # Required. A list of resource tag value permanent IDs to match against the
484
527
  # resource manager tags value associated with the source VM of a request. The
485
528
  # match follows AND semantics which means all the ids must match. Limited to 5
486
- # matches.
529
+ # ids in the Tag value id set.
487
530
  # Corresponds to the JSON property `ids`
488
531
  # @return [Array<Fixnum>]
489
532
  attr_accessor :ids
@@ -594,23 +637,26 @@ module Google
594
637
 
595
638
  # Optional. A list of HTTP Hosts to match against. The match can be one of exact,
596
639
  # prefix, suffix, or contains (substring match). Matches are always case
597
- # sensitive unless the ignoreCase is set. Limited to 5 matches.
640
+ # sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization
641
+ # Policy.
598
642
  # Corresponds to the JSON property `hosts`
599
643
  # @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch>]
600
644
  attr_accessor :hosts
601
645
 
602
646
  # Optional. A list of HTTP methods to match against. Each entry must be a valid
603
647
  # HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only
604
- # allows exact match and is always case sensitive.
648
+ # allows exact match and is always case sensitive. Limited to 10 methods per
649
+ # Authorization Policy.
605
650
  # Corresponds to the JSON property `methods`
606
651
  # @return [Array<String>]
607
652
  attr_accessor :methods_prop
608
653
 
609
654
  # Optional. A list of paths to match against. The match can be one of exact,
610
655
  # prefix, suffix, or contains (substring match). Matches are always case
611
- # sensitive unless the ignoreCase is set. Limited to 5 matches. Note that this
612
- # path match includes the query parameters. For gRPC services, this should be a
613
- # fully-qualified name of the form /package.service/method.
656
+ # sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization
657
+ # Policy. Note that this path match includes the query parameters. For gRPC
658
+ # services, this should be a fully-qualified name of the form /package.service/
659
+ # method.
614
660
  # Corresponds to the JSON property `paths`
615
661
  # @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch>]
616
662
  attr_accessor :paths
@@ -635,7 +681,8 @@ module Google
635
681
  # Required. A list of headers to match against in http header. The match can be
636
682
  # one of exact, prefix, suffix, or contains (substring match). The match follows
637
683
  # AND semantics which means all the headers must match. Matches are always case
638
- # sensitive unless the ignoreCase is set. Limited to 5 matches.
684
+ # sensitive unless the ignoreCase is set. Limited to 10 headers per
685
+ # Authorization Policy.
639
686
  # Corresponds to the JSON property `headers`
640
687
  # @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleHeaderMatch>]
641
688
  attr_accessor :headers
@@ -757,7 +804,7 @@ module Google
757
804
  # certificates trusted by the TrustConfig. * `clientCertificate` is a client
758
805
  # certificate that the load balancer uses to express its identity to the backend,
759
806
  # if the connection to the backend uses mTLS. You can attach the
760
- # BackendAuthenticationConfig to the load balancers BackendService directly
807
+ # BackendAuthenticationConfig to the load balancer's BackendService directly
761
808
  # determining how that BackendService negotiates TLS.
762
809
  class BackendAuthenticationConfig
763
810
  include Google::Apis::Core::Hashable
@@ -901,7 +948,7 @@ module Google
901
948
  attr_accessor :labels
902
949
 
903
950
  # Required. Name of the ClientTlsPolicy resource. It matches the pattern `
904
- # projects/*/locations/`location`/clientTlsPolicies/`client_tls_policy``
951
+ # projects/`project`/locations/`location`/clientTlsPolicies/`client_tls_policy``
905
952
  # Corresponds to the JSON property `name`
906
953
  # @return [String]
907
954
  attr_accessor :name
@@ -1130,7 +1177,7 @@ module Google
1130
1177
  end
1131
1178
  end
1132
1179
 
1133
- # Message describing Endpoint object
1180
+ # Message describing Endpoint object.
1134
1181
  class FirewallEndpoint
1135
1182
  include Google::Apis::Core::Hashable
1136
1183
 
@@ -1154,7 +1201,7 @@ module Google
1154
1201
  # @return [String]
1155
1202
  attr_accessor :billing_project_id
1156
1203
 
1157
- # Output only. Create time stamp
1204
+ # Output only. Create time stamp.
1158
1205
  # Corresponds to the JSON property `createTime`
1159
1206
  # @return [String]
1160
1207
  attr_accessor :create_time
@@ -1169,7 +1216,7 @@ module Google
1169
1216
  # @return [Hash<String,String>]
1170
1217
  attr_accessor :labels
1171
1218
 
1172
- # Immutable. Identifier. name of resource
1219
+ # Immutable. Identifier. Name of resource.
1173
1220
  # Corresponds to the JSON property `name`
1174
1221
  # @return [String]
1175
1222
  attr_accessor :name
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworksecurityV1
18
18
  # Version of the google-apis-networksecurity_v1 gem
19
- GEM_VERSION = "0.40.0"
19
+ GEM_VERSION = "0.42.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250604"
25
+ REVISION = "20250806"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class AuthzPolicyAuthzRulePrincipal
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class AuthzPolicyAuthzRuleRequestResource
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -760,6 +766,8 @@ module Google
760
766
  class Representation < Google::Apis::Core::JsonRepresentation
761
767
  collection :ip_blocks, as: 'ipBlocks', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleIpBlock, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleIpBlock::Representation
762
768
 
769
+ collection :principals, as: 'principals', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRulePrincipal, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRulePrincipal::Representation
770
+
763
771
  collection :resources, as: 'resources', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleRequestResource, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleRequestResource::Representation
764
772
 
765
773
  end
@@ -782,6 +790,15 @@ module Google
782
790
  end
783
791
  end
784
792
 
793
+ class AuthzPolicyAuthzRulePrincipal
794
+ # @private
795
+ class Representation < Google::Apis::Core::JsonRepresentation
796
+ property :principal, as: 'principal', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch::Representation
797
+
798
+ property :principal_selector, as: 'principalSelector'
799
+ end
800
+ end
801
+
785
802
  class AuthzPolicyAuthzRuleRequestResource
786
803
  # @private
787
804
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -581,7 +581,7 @@ module Google
581
581
 
582
582
  # Update a single Endpoint.
583
583
  # @param [String] name
584
- # Immutable. Identifier. name of resource
584
+ # Immutable. Identifier. Name of resource.
585
585
  # @param [Google::Apis::NetworksecurityV1::FirewallEndpoint] firewall_endpoint_object
586
586
  # @param [String] request_id
587
587
  # Optional. An optional request ID to identify requests. Specify a unique
@@ -2735,7 +2735,7 @@ module Google
2735
2735
  # Updates the parameters of a single ClientTlsPolicy.
2736
2736
  # @param [String] name
2737
2737
  # Required. Name of the ClientTlsPolicy resource. It matches the pattern `
2738
- # projects/*/locations/`location`/clientTlsPolicies/`client_tls_policy``
2738
+ # projects/`project`/locations/`location`/clientTlsPolicies/`client_tls_policy``
2739
2739
  # @param [Google::Apis::NetworksecurityV1::ClientTlsPolicy] client_tls_policy_object
2740
2740
  # @param [String] update_mask
2741
2741
  # Optional. Field mask is used to specify the fields to be overwritten in the
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networksecurity_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.42.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1/v0.40.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1/v0.42.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1
62
62
  rdoc_options: []
63
63
  require_paths: