google-apis-networksecurity_v1beta1 0.50.0 → 0.51.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: c106267f674e7426489d0f92fbde6b51ec0dce1f094e16676c088cd4fe1b32be
4
- data.tar.gz: 350f4794b71a9e2072309a60c012b5787f63f9db9b20ed0b87b696fda57f7299
3
+ metadata.gz: 8a632ff06b209f402185adfdea96f424b9c75dc649b79979aedb9bc463997b77
4
+ data.tar.gz: e7b9cba77035a10058d2c2a7cf7596519e58e8d13dbd7a300c11f0ad59e4b002
5
5
  SHA512:
6
- metadata.gz: 69b13416264abb646539a345e6a082592e6887037e24cf5ba520f998ecd64d84d3dff42aadc06d3df6d42c41933f6c8bf16fb93939534c31fe697ff7fac16a14
7
- data.tar.gz: be287e7a883660e1036a7cfe89bdaa44462d9d19b570f4adcc8412e1cfd00a79dce5391461e43702d3068d5be03623f9697a0dd907b7ec57ce275bfb8bc8484f
6
+ metadata.gz: 8f4c9e407411267e4e70d2da82879e64f6a0b6558f4de02b9b4995904eccd6e903b13ae717429bd1e467a22b8e67332e0989f203f883bb1495d36e693d60b3cd
7
+ data.tar.gz: 5ea133a595d9d59089aedec192bab1f1d8a9120e079cb3b53207ef044a44629e0d17550cd0d713f6d70234e6305d48914e1f3f471310ba18ea8fd0ff6f270b3b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networksecurity_v1beta1
2
2
 
3
+ ### v0.51.0 (2025-07-27)
4
+
5
+ * Regenerated from discovery document revision 20250714
6
+
3
7
  ### v0.50.0 (2025-07-06)
4
8
 
5
9
  * Regenerated from discovery document revision 20250608
@@ -375,12 +375,23 @@ 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 5 ip_blocks.
380
380
  # Corresponds to the JSON property `ipBlocks`
381
381
  # @return [Array<Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleIpBlock>]
382
382
  attr_accessor :ip_blocks
383
383
 
384
+ # Optional. A list of identities derived from the client's certificate. This
385
+ # field will not match on a request unless frontend mutual TLS is enabled for
386
+ # the forwarding rule or Gateway and the client certificate has been
387
+ # successfully validated by mTLS. Each identity is a string whose value is
388
+ # matched against a list of URI SANs, DNS Name SANs, or the common name in the
389
+ # client's certificate. A match happens when any principal matches with the rule.
390
+ # Limited to 5 principals.
391
+ # Corresponds to the JSON property `principals`
392
+ # @return [Array<Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRulePrincipal>]
393
+ attr_accessor :principals
394
+
384
395
  # Optional. A list of resources to match against the resource of the source VM
385
396
  # of a request. Limited to 5 resources.
386
397
  # Corresponds to the JSON property `resources`
@@ -394,6 +405,7 @@ module Google
394
405
  # Update properties of this object
395
406
  def update!(**args)
396
407
  @ip_blocks = args[:ip_blocks] if args.key?(:ip_blocks)
408
+ @principals = args[:principals] if args.key?(:principals)
397
409
  @resources = args[:resources] if args.key?(:resources)
398
410
  end
399
411
  end
@@ -448,6 +460,32 @@ module Google
448
460
  end
449
461
  end
450
462
 
463
+ # Describes the properties of a principal to be matched against.
464
+ class AuthzPolicyAuthzRulePrincipal
465
+ include Google::Apis::Core::Hashable
466
+
467
+ # Determines how a string value should be matched.
468
+ # Corresponds to the JSON property `principal`
469
+ # @return [Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleStringMatch]
470
+ attr_accessor :principal
471
+
472
+ # Optional. An enum to decide what principal value the principal rule will match
473
+ # against. If not specified, the PrincipalSelector is CLIENT_CERT_URI_SAN.
474
+ # Corresponds to the JSON property `principalSelector`
475
+ # @return [String]
476
+ attr_accessor :principal_selector
477
+
478
+ def initialize(**args)
479
+ update!(**args)
480
+ end
481
+
482
+ # Update properties of this object
483
+ def update!(**args)
484
+ @principal = args[:principal] if args.key?(:principal)
485
+ @principal_selector = args[:principal_selector] if args.key?(:principal_selector)
486
+ end
487
+ end
488
+
451
489
  # Describes the properties of a client VM resource accessing the internal
452
490
  # application load balancers.
453
491
  class AuthzPolicyAuthzRuleRequestResource
@@ -757,7 +795,7 @@ module Google
757
795
  # certificates trusted by the TrustConfig. * `clientCertificate` is a client
758
796
  # certificate that the load balancer uses to express its identity to the backend,
759
797
  # if the connection to the backend uses mTLS. You can attach the
760
- # BackendAuthenticationConfig to the load balancers BackendService directly
798
+ # BackendAuthenticationConfig to the load balancer's BackendService directly
761
799
  # determining how that BackendService negotiates TLS.
762
800
  class BackendAuthenticationConfig
763
801
  include Google::Apis::Core::Hashable
@@ -901,7 +939,7 @@ module Google
901
939
  attr_accessor :labels
902
940
 
903
941
  # Required. Name of the ClientTlsPolicy resource. It matches the pattern `
904
- # projects/*/locations/`location`/clientTlsPolicies/`client_tls_policy``
942
+ # projects/`project`/locations/`location`/clientTlsPolicies/`client_tls_policy``
905
943
  # Corresponds to the JSON property `name`
906
944
  # @return [String]
907
945
  attr_accessor :name
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworksecurityV1beta1
18
18
  # Version of the google-apis-networksecurity_v1beta1 gem
19
- GEM_VERSION = "0.50.0"
19
+ GEM_VERSION = "0.51.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 = "20250608"
25
+ REVISION = "20250714"
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
 
@@ -802,6 +808,8 @@ module Google
802
808
  class Representation < Google::Apis::Core::JsonRepresentation
803
809
  collection :ip_blocks, as: 'ipBlocks', class: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleIpBlock, decorator: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleIpBlock::Representation
804
810
 
811
+ collection :principals, as: 'principals', class: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRulePrincipal, decorator: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRulePrincipal::Representation
812
+
805
813
  collection :resources, as: 'resources', class: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleRequestResource, decorator: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleRequestResource::Representation
806
814
 
807
815
  end
@@ -824,6 +832,15 @@ module Google
824
832
  end
825
833
  end
826
834
 
835
+ class AuthzPolicyAuthzRulePrincipal
836
+ # @private
837
+ class Representation < Google::Apis::Core::JsonRepresentation
838
+ property :principal, as: 'principal', class: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleStringMatch, decorator: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleStringMatch::Representation
839
+
840
+ property :principal_selector, as: 'principalSelector'
841
+ end
842
+ end
843
+
827
844
  class AuthzPolicyAuthzRuleRequestResource
828
845
  # @private
829
846
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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::NetworksecurityV1beta1::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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.51.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_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.50.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.51.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: