google-apis-networksecurity_v1 0.48.0 → 0.49.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: 46065746dd02ed0a67b62a32134bdd1ffb6880d6eb7f0bca4e6cf27162081743
4
- data.tar.gz: e8c7c919175cb02b1ca36aefe5fe9274c102a3546e06d1556a99d5fc381d3be3
3
+ metadata.gz: 607e746e43512cb5222ab0b0ad9aaa1a13ab7ae0cfed94149297aecaac6150b6
4
+ data.tar.gz: 35e02294c2877a55d4ba7c30160a43a9e60c5fa2a2e84de7265fbee56e617870
5
5
  SHA512:
6
- metadata.gz: cfff316a566d3c6e0efe33f27f028894c8a2e532f33cc83e35c645ee719336e0f754bbf5d74869478057cd124f8e5ca8481bf70a68937b0292c751bcb607af2e
7
- data.tar.gz: 0e0b68c43389ad9c6ac84d274ea284da54181f1d1e550a2ac174bfc91e8d5e06f099d5a92fec7a41417a0b642d906a5ccf2eedb40a730351f84c133003d3e3c9
6
+ metadata.gz: 2a4e7f23a2fefb9fccc5301d483c7124ac71c4cb172cb231337c8e37db018d033616a3d83d5701d743f93d42abfc42c3e2c0f7f837a57a3b988a1b6cc7bff587
7
+ data.tar.gz: ab300198e605851217940ae30b28051028218d3c7de45338c0b1895d7210ae53fb522f91a6163047b45f78b1240790ba082fc346bcdd5223f0a55cd79ec04f8c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networksecurity_v1
2
2
 
3
+ ### v0.49.0 (2026-02-22)
4
+
5
+ * Regenerated from discovery document revision 20260204
6
+
3
7
  ### v0.48.0 (2026-02-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20260131
@@ -4222,6 +4222,11 @@ module Google
4222
4222
  # @return [String]
4223
4223
  attr_accessor :update_time
4224
4224
 
4225
+ # UrlFilteringProfile defines filters based on URL.
4226
+ # Corresponds to the JSON property `urlFilteringProfile`
4227
+ # @return [Google::Apis::NetworksecurityV1::UrlFilteringProfile]
4228
+ attr_accessor :url_filtering_profile
4229
+
4225
4230
  def initialize(**args)
4226
4231
  update!(**args)
4227
4232
  end
@@ -4238,6 +4243,7 @@ module Google
4238
4243
  @threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
4239
4244
  @type = args[:type] if args.key?(:type)
4240
4245
  @update_time = args[:update_time] if args.key?(:update_time)
4246
+ @url_filtering_profile = args[:url_filtering_profile] if args.key?(:url_filtering_profile)
4241
4247
  end
4242
4248
  end
4243
4249
 
@@ -4305,6 +4311,11 @@ module Google
4305
4311
  # @return [String]
4306
4312
  attr_accessor :update_time
4307
4313
 
4314
+ # Optional. Reference to a SecurityProfile with the UrlFiltering configuration.
4315
+ # Corresponds to the JSON property `urlFilteringProfile`
4316
+ # @return [String]
4317
+ attr_accessor :url_filtering_profile
4318
+
4308
4319
  def initialize(**args)
4309
4320
  update!(**args)
4310
4321
  end
@@ -4321,6 +4332,7 @@ module Google
4321
4332
  @name = args[:name] if args.key?(:name)
4322
4333
  @threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
4323
4334
  @update_time = args[:update_time] if args.key?(:update_time)
4335
+ @url_filtering_profile = args[:url_filtering_profile] if args.key?(:url_filtering_profile)
4324
4336
  end
4325
4337
  end
4326
4338
 
@@ -4673,6 +4685,60 @@ module Google
4673
4685
  end
4674
4686
  end
4675
4687
 
4688
+ # A URL filter defines an action to take for some URL match.
4689
+ class UrlFilter
4690
+ include Google::Apis::Core::Hashable
4691
+
4692
+ # Required. The action taken when this filter is applied.
4693
+ # Corresponds to the JSON property `filteringAction`
4694
+ # @return [String]
4695
+ attr_accessor :filtering_action
4696
+
4697
+ # Required. The priority of this filter within the URL Filtering Profile. Lower
4698
+ # integers indicate higher priorities. The priority of a filter must be unique
4699
+ # within a URL Filtering Profile.
4700
+ # Corresponds to the JSON property `priority`
4701
+ # @return [Fixnum]
4702
+ attr_accessor :priority
4703
+
4704
+ # Required. The list of strings that a URL must match with for this filter to be
4705
+ # applied.
4706
+ # Corresponds to the JSON property `urls`
4707
+ # @return [Array<String>]
4708
+ attr_accessor :urls
4709
+
4710
+ def initialize(**args)
4711
+ update!(**args)
4712
+ end
4713
+
4714
+ # Update properties of this object
4715
+ def update!(**args)
4716
+ @filtering_action = args[:filtering_action] if args.key?(:filtering_action)
4717
+ @priority = args[:priority] if args.key?(:priority)
4718
+ @urls = args[:urls] if args.key?(:urls)
4719
+ end
4720
+ end
4721
+
4722
+ # UrlFilteringProfile defines filters based on URL.
4723
+ class UrlFilteringProfile
4724
+ include Google::Apis::Core::Hashable
4725
+
4726
+ # Optional. The list of filtering configs in which each config defines an action
4727
+ # to take for some URL match.
4728
+ # Corresponds to the JSON property `urlFilters`
4729
+ # @return [Array<Google::Apis::NetworksecurityV1::UrlFilter>]
4730
+ attr_accessor :url_filters
4731
+
4732
+ def initialize(**args)
4733
+ update!(**args)
4734
+ end
4735
+
4736
+ # Update properties of this object
4737
+ def update!(**args)
4738
+ @url_filters = args[:url_filters] if args.key?(:url_filters)
4739
+ end
4740
+ end
4741
+
4676
4742
  # UrlList proto helps users to set reusable, independently manageable lists of
4677
4743
  # hosts, host patterns, URLs, URL patterns.
4678
4744
  class UrlList
@@ -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.48.0"
19
+ GEM_VERSION = "0.49.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 = "20260131"
25
+ REVISION = "20260204"
26
26
  end
27
27
  end
28
28
  end
@@ -682,6 +682,18 @@ module Google
682
682
  include Google::Apis::Core::JsonObjectSupport
683
683
  end
684
684
 
685
+ class UrlFilter
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
691
+ class UrlFilteringProfile
692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
693
+
694
+ include Google::Apis::Core::JsonObjectSupport
695
+ end
696
+
685
697
  class UrlList
686
698
  class Representation < Google::Apis::Core::JsonRepresentation; end
687
699
 
@@ -1756,6 +1768,8 @@ module Google
1756
1768
 
1757
1769
  property :type, as: 'type'
1758
1770
  property :update_time, as: 'updateTime'
1771
+ property :url_filtering_profile, as: 'urlFilteringProfile', class: Google::Apis::NetworksecurityV1::UrlFilteringProfile, decorator: Google::Apis::NetworksecurityV1::UrlFilteringProfile::Representation
1772
+
1759
1773
  end
1760
1774
  end
1761
1775
 
@@ -1772,6 +1786,7 @@ module Google
1772
1786
  property :name, as: 'name'
1773
1787
  property :threat_prevention_profile, as: 'threatPreventionProfile'
1774
1788
  property :update_time, as: 'updateTime'
1789
+ property :url_filtering_profile, as: 'urlFilteringProfile'
1775
1790
  end
1776
1791
  end
1777
1792
 
@@ -1853,6 +1868,23 @@ module Google
1853
1868
  end
1854
1869
  end
1855
1870
 
1871
+ class UrlFilter
1872
+ # @private
1873
+ class Representation < Google::Apis::Core::JsonRepresentation
1874
+ property :filtering_action, as: 'filteringAction'
1875
+ property :priority, as: 'priority'
1876
+ collection :urls, as: 'urls'
1877
+ end
1878
+ end
1879
+
1880
+ class UrlFilteringProfile
1881
+ # @private
1882
+ class Representation < Google::Apis::Core::JsonRepresentation
1883
+ collection :url_filters, as: 'urlFilters', class: Google::Apis::NetworksecurityV1::UrlFilter, decorator: Google::Apis::NetworksecurityV1::UrlFilter::Representation
1884
+
1885
+ end
1886
+ end
1887
+
1856
1888
  class UrlList
1857
1889
  # @private
1858
1890
  class Representation < Google::Apis::Core::JsonRepresentation
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.48.0
4
+ version: 0.49.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.48.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1/v0.49.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: