google-apis-networksecurity_v1 0.51.0 → 0.53.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: 77c2fc7e074987bc4eb0340cd253efa2241e4fc70e11ff52c01f18d195e8f603
4
- data.tar.gz: f6d1b8c3ce89c306c27ebc6a3a3c71d7a3b82920009eca08acaa23633920ef5f
3
+ metadata.gz: 41b3aafd36566e93ad2d3afed5a42f40de334b3acc52ae9be5b6644ef1046e59
4
+ data.tar.gz: 299f9f6f22c9ceb7d65ef8fc659535c0b71ededc6182365ca0adb62dd52f68a9
5
5
  SHA512:
6
- metadata.gz: 26500c5a5c561c1bdd2a7108523e12dd12bc594c5888c0c558bbd5379907346afe971a22442761c80e0d293e6ff29b59a855530fdfe92e22728bc52e25d68ee3
7
- data.tar.gz: 19c91c457f0141bb0a898b53e4a9be14c84c1b5a3f3e50c73fed3d625471a2684d3e4e12a9a5c879335954d79415c9569323dd2051780bf03e65aee9eba9b815
6
+ metadata.gz: 5366905bf64d59263356f939c5dae9e6d41e64ed3f4793f959e9513feb0a3fb17b1eff8167a8cc3bdc65142978495cbb854447a8d7d0f241d51d462694980a39
7
+ data.tar.gz: f01558c828f2a4282e6ed45f053bccc7cb3ecf2273ec3e7cb098c251a9cd92c69431095b0fd75fc6542aef77c902a3f760ed15ef2b6c7d8537012daf849a5896
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networksecurity_v1
2
2
 
3
+ ### v0.53.0 (2026-05-24)
4
+
5
+ * Regenerated from discovery document revision 20260518
6
+
7
+ ### v0.52.0 (2026-05-03)
8
+
9
+ * Regenerated from discovery document revision 20260426
10
+
3
11
  ### v0.51.0 (2026-04-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20260407
@@ -278,6 +278,15 @@ module Google
278
278
  # @return [String]
279
279
  attr_accessor :name
280
280
 
281
+ # Optional. A list of authorization network rules to match against the incoming
282
+ # request. A policy match occurs when at least one network rule matches the
283
+ # request. At least one network rule is required for Allow or Deny Action if no
284
+ # HTTP rules are provided. Network rules are mutually exclusive with HTTP rules.
285
+ # Limited to 5 rules.
286
+ # Corresponds to the JSON property `networkRules`
287
+ # @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRule>]
288
+ attr_accessor :network_rules
289
+
281
290
  # Optional. Immutable. Defines the type of authorization being performed. If not
282
291
  # specified, `REQUEST_AUTHZ` is applied. This field cannot be changed once
283
292
  # AuthzPolicy is created.
@@ -308,6 +317,7 @@ module Google
308
317
  @http_rules = args[:http_rules] if args.key?(:http_rules)
309
318
  @labels = args[:labels] if args.key?(:labels)
310
319
  @name = args[:name] if args.key?(:name)
320
+ @network_rules = args[:network_rules] if args.key?(:network_rules)
311
321
  @policy_profile = args[:policy_profile] if args.key?(:policy_profile)
312
322
  @target = args[:target] if args.key?(:target)
313
323
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -674,6 +684,15 @@ module Google
674
684
  # @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch>]
675
685
  attr_accessor :paths
676
686
 
687
+ # Optional. A list of SNIs to match against. The match can be one of exact,
688
+ # prefix, suffix, or contains (substring match). If there is no SNI (i.e.
689
+ # plaintext HTTP traffic), the request will be denied. Matches are always case
690
+ # sensitive unless the ignoreCase is set. Limited to 10 SNIs per Authorization
691
+ # Policy.
692
+ # Corresponds to the JSON property `snis`
693
+ # @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch>]
694
+ attr_accessor :snis
695
+
677
696
  def initialize(**args)
678
697
  update!(**args)
679
698
  end
@@ -685,6 +704,7 @@ module Google
685
704
  @mcp = args[:mcp] if args.key?(:mcp)
686
705
  @methods_prop = args[:methods_prop] if args.key?(:methods_prop)
687
706
  @paths = args[:paths] if args.key?(:paths)
707
+ @snis = args[:snis] if args.key?(:snis)
688
708
  end
689
709
  end
690
710
 
@@ -1316,10 +1336,11 @@ module Google
1316
1336
  class FirewallEndpoint
1317
1337
  include Google::Apis::Core::Hashable
1318
1338
 
1319
- # Output only. List of networks that are associated with this endpoint in the
1320
- # local zone. This is a projection of the FirewallEndpointAssociations pointing
1321
- # at this endpoint. A network will only appear in this list after traffic
1322
- # routing is fully configured. Format: projects/`project`/global/networks/`name`.
1339
+ # Output only. Deprecated: List of networks that are associated with this
1340
+ # endpoint in the local zone. This is a projection of the
1341
+ # FirewallEndpointAssociations pointing at this endpoint. A network will only
1342
+ # appear in this list after traffic routing is fully configured. Format:
1343
+ # projects/`project`/global/networks/`name`.
1323
1344
  # Corresponds to the JSON property `associatedNetworks`
1324
1345
  # @return [Array<String>]
1325
1346
  attr_accessor :associated_networks
@@ -3294,6 +3315,68 @@ module Google
3294
3315
  end
3295
3316
  end
3296
3317
 
3318
+ # Response for `ListSACAttachments` method.
3319
+ class ListSacAttachmentsResponse
3320
+ include Google::Apis::Core::Hashable
3321
+
3322
+ # A token identifying a page of results the server should return.
3323
+ # Corresponds to the JSON property `nextPageToken`
3324
+ # @return [String]
3325
+ attr_accessor :next_page_token
3326
+
3327
+ # The list of SACAttachments.
3328
+ # Corresponds to the JSON property `sacAttachments`
3329
+ # @return [Array<Google::Apis::NetworksecurityV1::SacAttachment>]
3330
+ attr_accessor :sac_attachments
3331
+
3332
+ # Locations that could not be reached.
3333
+ # Corresponds to the JSON property `unreachable`
3334
+ # @return [Array<String>]
3335
+ attr_accessor :unreachable
3336
+
3337
+ def initialize(**args)
3338
+ update!(**args)
3339
+ end
3340
+
3341
+ # Update properties of this object
3342
+ def update!(**args)
3343
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3344
+ @sac_attachments = args[:sac_attachments] if args.key?(:sac_attachments)
3345
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
3346
+ end
3347
+ end
3348
+
3349
+ # Response for `ListSACRealms` method.
3350
+ class ListSacRealmsResponse
3351
+ include Google::Apis::Core::Hashable
3352
+
3353
+ # A token identifying a page of results the server should return.
3354
+ # Corresponds to the JSON property `nextPageToken`
3355
+ # @return [String]
3356
+ attr_accessor :next_page_token
3357
+
3358
+ # The list of SACRealms.
3359
+ # Corresponds to the JSON property `sacRealms`
3360
+ # @return [Array<Google::Apis::NetworksecurityV1::SacRealm>]
3361
+ attr_accessor :sac_realms
3362
+
3363
+ # Locations that could not be reached.
3364
+ # Corresponds to the JSON property `unreachable`
3365
+ # @return [Array<String>]
3366
+ attr_accessor :unreachable
3367
+
3368
+ def initialize(**args)
3369
+ update!(**args)
3370
+ end
3371
+
3372
+ # Update properties of this object
3373
+ def update!(**args)
3374
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3375
+ @sac_realms = args[:sac_realms] if args.key?(:sac_realms)
3376
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
3377
+ end
3378
+ end
3379
+
3297
3380
  # Response returned by the ListSecurityProfileGroups method.
3298
3381
  class ListSecurityProfileGroupsResponse
3299
3382
  include Google::Apis::Core::Hashable
@@ -4252,6 +4335,151 @@ module Google
4252
4335
  end
4253
4336
  end
4254
4337
 
4338
+ # Represents a Secure Access Connect (SAC) attachment resource. A Secure Access
4339
+ # Connect attachment enables NCC Gateway to process traffic with an SSE product.
4340
+ class SacAttachment
4341
+ include Google::Apis::Core::Hashable
4342
+
4343
+ # Output only. Timestamp when the attachment was created.
4344
+ # Corresponds to the JSON property `createTime`
4345
+ # @return [String]
4346
+ attr_accessor :create_time
4347
+
4348
+ # Optional. Optional list of labels applied to the resource.
4349
+ # Corresponds to the JSON property `labels`
4350
+ # @return [Hash<String,String>]
4351
+ attr_accessor :labels
4352
+
4353
+ # Identifier. Resource name, in the form `projects/`project`/locations/`location`
4354
+ # /sacAttachments/`sac_attachment``.
4355
+ # Corresponds to the JSON property `name`
4356
+ # @return [String]
4357
+ attr_accessor :name
4358
+
4359
+ # Required. NCC Gateway associated with the attachment. This can be input as an
4360
+ # ID or a full resource name. The output always has the form `projects/`
4361
+ # project_number`/locations/`location`/spokes/`ncc_gateway``.
4362
+ # Corresponds to the JSON property `nccGateway`
4363
+ # @return [String]
4364
+ attr_accessor :ncc_gateway
4365
+
4366
+ # Required. SAC Realm which owns the attachment. This can be input as an ID or a
4367
+ # full resource name. The output always has the form `projects/`project_number`/
4368
+ # locations/`location`/sacRealms/`sac_realm``.
4369
+ # Corresponds to the JSON property `sacRealm`
4370
+ # @return [String]
4371
+ attr_accessor :sac_realm
4372
+
4373
+ # Output only. State of the attachment.
4374
+ # Corresponds to the JSON property `state`
4375
+ # @return [String]
4376
+ attr_accessor :state
4377
+
4378
+ # Output only. Timestamp when the attachment was last updated.
4379
+ # Corresponds to the JSON property `updateTime`
4380
+ # @return [String]
4381
+ attr_accessor :update_time
4382
+
4383
+ def initialize(**args)
4384
+ update!(**args)
4385
+ end
4386
+
4387
+ # Update properties of this object
4388
+ def update!(**args)
4389
+ @create_time = args[:create_time] if args.key?(:create_time)
4390
+ @labels = args[:labels] if args.key?(:labels)
4391
+ @name = args[:name] if args.key?(:name)
4392
+ @ncc_gateway = args[:ncc_gateway] if args.key?(:ncc_gateway)
4393
+ @sac_realm = args[:sac_realm] if args.key?(:sac_realm)
4394
+ @state = args[:state] if args.key?(:state)
4395
+ @update_time = args[:update_time] if args.key?(:update_time)
4396
+ end
4397
+ end
4398
+
4399
+ # Represents a Secure Access Connect (SAC) realm resource. A Secure Access
4400
+ # Connect realm establishes a connection between your Google Cloud project and
4401
+ # an SSE service.
4402
+ class SacRealm
4403
+ include Google::Apis::Core::Hashable
4404
+
4405
+ # Output only. Timestamp when the realm was created.
4406
+ # Corresponds to the JSON property `createTime`
4407
+ # @return [String]
4408
+ attr_accessor :create_time
4409
+
4410
+ # Optional. Optional list of labels applied to the resource.
4411
+ # Corresponds to the JSON property `labels`
4412
+ # @return [Hash<String,String>]
4413
+ attr_accessor :labels
4414
+
4415
+ # Identifier. Resource name, in the form `projects/`project`/locations/global/
4416
+ # sacRealms/`sacRealm``.
4417
+ # Corresponds to the JSON property `name`
4418
+ # @return [String]
4419
+ attr_accessor :name
4420
+
4421
+ # Key to be shared with SSE service provider to establish global handshake.
4422
+ # Corresponds to the JSON property `pairingKey`
4423
+ # @return [Google::Apis::NetworksecurityV1::SacRealmPairingKey]
4424
+ attr_accessor :pairing_key
4425
+
4426
+ # Immutable. SSE service provider associated with the realm.
4427
+ # Corresponds to the JSON property `securityService`
4428
+ # @return [String]
4429
+ attr_accessor :security_service
4430
+
4431
+ # Output only. State of the realm.
4432
+ # Corresponds to the JSON property `state`
4433
+ # @return [String]
4434
+ attr_accessor :state
4435
+
4436
+ # Output only. Timestamp when the realm was last updated.
4437
+ # Corresponds to the JSON property `updateTime`
4438
+ # @return [String]
4439
+ attr_accessor :update_time
4440
+
4441
+ def initialize(**args)
4442
+ update!(**args)
4443
+ end
4444
+
4445
+ # Update properties of this object
4446
+ def update!(**args)
4447
+ @create_time = args[:create_time] if args.key?(:create_time)
4448
+ @labels = args[:labels] if args.key?(:labels)
4449
+ @name = args[:name] if args.key?(:name)
4450
+ @pairing_key = args[:pairing_key] if args.key?(:pairing_key)
4451
+ @security_service = args[:security_service] if args.key?(:security_service)
4452
+ @state = args[:state] if args.key?(:state)
4453
+ @update_time = args[:update_time] if args.key?(:update_time)
4454
+ end
4455
+ end
4456
+
4457
+ # Key to be shared with SSE service provider to establish global handshake.
4458
+ class SacRealmPairingKey
4459
+ include Google::Apis::Core::Hashable
4460
+
4461
+ # Output only. Timestamp in UTC of when this resource is considered expired. It
4462
+ # expires 7 days after creation.
4463
+ # Corresponds to the JSON property `expireTime`
4464
+ # @return [String]
4465
+ attr_accessor :expire_time
4466
+
4467
+ # Output only. Key value.
4468
+ # Corresponds to the JSON property `key`
4469
+ # @return [String]
4470
+ attr_accessor :key
4471
+
4472
+ def initialize(**args)
4473
+ update!(**args)
4474
+ end
4475
+
4476
+ # Update properties of this object
4477
+ def update!(**args)
4478
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
4479
+ @key = args[:key] if args.key?(:key)
4480
+ end
4481
+ end
4482
+
4255
4483
  # SecurityProfile is a resource that defines the behavior for one of many
4256
4484
  # ProfileTypes.
4257
4485
  class SecurityProfile
@@ -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.51.0"
19
+ GEM_VERSION = "0.53.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 = "20260407"
25
+ REVISION = "20260518"
26
26
  end
27
27
  end
28
28
  end
@@ -514,6 +514,18 @@ module Google
514
514
  include Google::Apis::Core::JsonObjectSupport
515
515
  end
516
516
 
517
+ class ListSacAttachmentsResponse
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class ListSacRealmsResponse
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
517
529
  class ListSecurityProfileGroupsResponse
518
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
519
531
 
@@ -640,6 +652,24 @@ module Google
640
652
  include Google::Apis::Core::JsonObjectSupport
641
653
  end
642
654
 
655
+ class SacAttachment
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
661
+ class SacRealm
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
667
+ class SacRealmPairingKey
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
643
673
  class SecurityProfile
644
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
645
675
 
@@ -776,6 +806,8 @@ module Google
776
806
 
777
807
  hash :labels, as: 'labels'
778
808
  property :name, as: 'name'
809
+ collection :network_rules, as: 'networkRules', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRule, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRule::Representation
810
+
779
811
  property :policy_profile, as: 'policyProfile'
780
812
  property :target, as: 'target', class: Google::Apis::NetworksecurityV1::AuthzPolicyTarget, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyTarget::Representation
781
813
 
@@ -892,6 +924,8 @@ module Google
892
924
  collection :methods_prop, as: 'methods'
893
925
  collection :paths, as: 'paths', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch::Representation
894
926
 
927
+ collection :snis, as: 'snis', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch::Representation
928
+
895
929
  end
896
930
  end
897
931
 
@@ -1553,6 +1587,26 @@ module Google
1553
1587
  end
1554
1588
  end
1555
1589
 
1590
+ class ListSacAttachmentsResponse
1591
+ # @private
1592
+ class Representation < Google::Apis::Core::JsonRepresentation
1593
+ property :next_page_token, as: 'nextPageToken'
1594
+ collection :sac_attachments, as: 'sacAttachments', class: Google::Apis::NetworksecurityV1::SacAttachment, decorator: Google::Apis::NetworksecurityV1::SacAttachment::Representation
1595
+
1596
+ collection :unreachable, as: 'unreachable'
1597
+ end
1598
+ end
1599
+
1600
+ class ListSacRealmsResponse
1601
+ # @private
1602
+ class Representation < Google::Apis::Core::JsonRepresentation
1603
+ property :next_page_token, as: 'nextPageToken'
1604
+ collection :sac_realms, as: 'sacRealms', class: Google::Apis::NetworksecurityV1::SacRealm, decorator: Google::Apis::NetworksecurityV1::SacRealm::Representation
1605
+
1606
+ collection :unreachable, as: 'unreachable'
1607
+ end
1608
+ end
1609
+
1556
1610
  class ListSecurityProfileGroupsResponse
1557
1611
  # @private
1558
1612
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1786,6 +1840,41 @@ module Google
1786
1840
  end
1787
1841
  end
1788
1842
 
1843
+ class SacAttachment
1844
+ # @private
1845
+ class Representation < Google::Apis::Core::JsonRepresentation
1846
+ property :create_time, as: 'createTime'
1847
+ hash :labels, as: 'labels'
1848
+ property :name, as: 'name'
1849
+ property :ncc_gateway, as: 'nccGateway'
1850
+ property :sac_realm, as: 'sacRealm'
1851
+ property :state, as: 'state'
1852
+ property :update_time, as: 'updateTime'
1853
+ end
1854
+ end
1855
+
1856
+ class SacRealm
1857
+ # @private
1858
+ class Representation < Google::Apis::Core::JsonRepresentation
1859
+ property :create_time, as: 'createTime'
1860
+ hash :labels, as: 'labels'
1861
+ property :name, as: 'name'
1862
+ property :pairing_key, as: 'pairingKey', class: Google::Apis::NetworksecurityV1::SacRealmPairingKey, decorator: Google::Apis::NetworksecurityV1::SacRealmPairingKey::Representation
1863
+
1864
+ property :security_service, as: 'securityService'
1865
+ property :state, as: 'state'
1866
+ property :update_time, as: 'updateTime'
1867
+ end
1868
+ end
1869
+
1870
+ class SacRealmPairingKey
1871
+ # @private
1872
+ class Representation < Google::Apis::Core::JsonRepresentation
1873
+ property :expire_time, as: 'expireTime'
1874
+ property :key, as: 'key'
1875
+ end
1876
+ end
1877
+
1789
1878
  class SecurityProfile
1790
1879
  # @private
1791
1880
  class Representation < Google::Apis::Core::JsonRepresentation