google-apis-networksecurity_v1beta1 0.55.0 → 0.56.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: 0c6e261332bd76efca1f64f3541d9e019121f182cdbfee1cff0184377f5f4a95
4
- data.tar.gz: 4811f39ee8831128893a9b77741831b245c59a1bfe93eb229fbc3654900dad6c
3
+ metadata.gz: a2580f53fb34cb74adb81a85786c67327c5c69143b96a6bfbead45f61388672e
4
+ data.tar.gz: f9fe9a03a33e6e12c4e8ec30679702ea624428c211e64be4db3b449a84562ed3
5
5
  SHA512:
6
- metadata.gz: 41fd55a747532eff1ccba3652d4c1f0a70e41b373f1dd610168e19c3c62cd0953cf82b5922855903d4affb81ccb97cbe4283be519b2085fd8f93207297a24a5a
7
- data.tar.gz: 3f90e2af3ed7c7ce7fb3bf5094c50c039c3d507c62f918aac6480d32d5e16582fbedce1b137224d796bd0f3796a40cfbe8587d18bb736dc8b4f157d78ace7eef
6
+ metadata.gz: 77b155afb7e8fb971dca1f571268367d1a5130eb388cb2205af553087885d0534cb2e90e22236e211fc8433e864d149b46e58f272316b80264c988ee96328e2d
7
+ data.tar.gz: 49dc17b1ad2fd467536ebb1fadc3e9d3a83dc09097e00e1d24baa46a66807902ae450ff21065f62721232e5f9635b867fb07bec9f4840e853e52fd3ea2199b43
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networksecurity_v1beta1
2
2
 
3
+ ### v0.56.0 (2025-09-07)
4
+
5
+ * Regenerated from discovery document revision 20250903
6
+
3
7
  ### v0.55.0 (2025-08-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20250822
@@ -4495,6 +4495,11 @@ module Google
4495
4495
  # @return [String]
4496
4496
  attr_accessor :update_time
4497
4497
 
4498
+ # UrlFilteringProfile defines filters based on URL.
4499
+ # Corresponds to the JSON property `urlFilteringProfile`
4500
+ # @return [Google::Apis::NetworksecurityV1beta1::UrlFilteringProfile]
4501
+ attr_accessor :url_filtering_profile
4502
+
4498
4503
  def initialize(**args)
4499
4504
  update!(**args)
4500
4505
  end
@@ -4511,6 +4516,7 @@ module Google
4511
4516
  @threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
4512
4517
  @type = args[:type] if args.key?(:type)
4513
4518
  @update_time = args[:update_time] if args.key?(:update_time)
4519
+ @url_filtering_profile = args[:url_filtering_profile] if args.key?(:url_filtering_profile)
4514
4520
  end
4515
4521
  end
4516
4522
 
@@ -4578,6 +4584,11 @@ module Google
4578
4584
  # @return [String]
4579
4585
  attr_accessor :update_time
4580
4586
 
4587
+ # Optional. Reference to a SecurityProfile with the UrlFiltering configuration.
4588
+ # Corresponds to the JSON property `urlFilteringProfile`
4589
+ # @return [String]
4590
+ attr_accessor :url_filtering_profile
4591
+
4581
4592
  def initialize(**args)
4582
4593
  update!(**args)
4583
4594
  end
@@ -4594,6 +4605,7 @@ module Google
4594
4605
  @name = args[:name] if args.key?(:name)
4595
4606
  @threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
4596
4607
  @update_time = args[:update_time] if args.key?(:update_time)
4608
+ @url_filtering_profile = args[:url_filtering_profile] if args.key?(:url_filtering_profile)
4597
4609
  end
4598
4610
  end
4599
4611
 
@@ -4946,6 +4958,60 @@ module Google
4946
4958
  end
4947
4959
  end
4948
4960
 
4961
+ # A URL filter defines an action to take for some URL match.
4962
+ class UrlFilter
4963
+ include Google::Apis::Core::Hashable
4964
+
4965
+ # Required. The action taken when this filter is applied.
4966
+ # Corresponds to the JSON property `filteringAction`
4967
+ # @return [String]
4968
+ attr_accessor :filtering_action
4969
+
4970
+ # Required. The priority of this filter within the URL Filtering Profile. Lower
4971
+ # integers indicate higher priorities. The priority of a filter must be unique
4972
+ # within a URL Filtering Profile.
4973
+ # Corresponds to the JSON property `priority`
4974
+ # @return [Fixnum]
4975
+ attr_accessor :priority
4976
+
4977
+ # Required. The list of strings that a URL must match with for this filter to be
4978
+ # applied.
4979
+ # Corresponds to the JSON property `urls`
4980
+ # @return [Array<String>]
4981
+ attr_accessor :urls
4982
+
4983
+ def initialize(**args)
4984
+ update!(**args)
4985
+ end
4986
+
4987
+ # Update properties of this object
4988
+ def update!(**args)
4989
+ @filtering_action = args[:filtering_action] if args.key?(:filtering_action)
4990
+ @priority = args[:priority] if args.key?(:priority)
4991
+ @urls = args[:urls] if args.key?(:urls)
4992
+ end
4993
+ end
4994
+
4995
+ # UrlFilteringProfile defines filters based on URL.
4996
+ class UrlFilteringProfile
4997
+ include Google::Apis::Core::Hashable
4998
+
4999
+ # Optional. The list of filtering configs in which each config defines an action
5000
+ # to take for some URL match.
5001
+ # Corresponds to the JSON property `urlFilters`
5002
+ # @return [Array<Google::Apis::NetworksecurityV1beta1::UrlFilter>]
5003
+ attr_accessor :url_filters
5004
+
5005
+ def initialize(**args)
5006
+ update!(**args)
5007
+ end
5008
+
5009
+ # Update properties of this object
5010
+ def update!(**args)
5011
+ @url_filters = args[:url_filters] if args.key?(:url_filters)
5012
+ end
5013
+ end
5014
+
4949
5015
  # UrlList proto helps users to set reusable, independently manageable lists of
4950
5016
  # hosts, host patterns, URLs, URL patterns.
4951
5017
  class UrlList
@@ -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.55.0"
19
+ GEM_VERSION = "0.56.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 = "20250822"
25
+ REVISION = "20250903"
26
26
  end
27
27
  end
28
28
  end
@@ -724,6 +724,18 @@ module Google
724
724
  include Google::Apis::Core::JsonObjectSupport
725
725
  end
726
726
 
727
+ class UrlFilter
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
733
+ class UrlFilteringProfile
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
727
739
  class UrlList
728
740
  class Representation < Google::Apis::Core::JsonRepresentation; end
729
741
 
@@ -1873,6 +1885,8 @@ module Google
1873
1885
 
1874
1886
  property :type, as: 'type'
1875
1887
  property :update_time, as: 'updateTime'
1888
+ property :url_filtering_profile, as: 'urlFilteringProfile', class: Google::Apis::NetworksecurityV1beta1::UrlFilteringProfile, decorator: Google::Apis::NetworksecurityV1beta1::UrlFilteringProfile::Representation
1889
+
1876
1890
  end
1877
1891
  end
1878
1892
 
@@ -1889,6 +1903,7 @@ module Google
1889
1903
  property :name, as: 'name'
1890
1904
  property :threat_prevention_profile, as: 'threatPreventionProfile'
1891
1905
  property :update_time, as: 'updateTime'
1906
+ property :url_filtering_profile, as: 'urlFilteringProfile'
1892
1907
  end
1893
1908
  end
1894
1909
 
@@ -1970,6 +1985,23 @@ module Google
1970
1985
  end
1971
1986
  end
1972
1987
 
1988
+ class UrlFilter
1989
+ # @private
1990
+ class Representation < Google::Apis::Core::JsonRepresentation
1991
+ property :filtering_action, as: 'filteringAction'
1992
+ property :priority, as: 'priority'
1993
+ collection :urls, as: 'urls'
1994
+ end
1995
+ end
1996
+
1997
+ class UrlFilteringProfile
1998
+ # @private
1999
+ class Representation < Google::Apis::Core::JsonRepresentation
2000
+ collection :url_filters, as: 'urlFilters', class: Google::Apis::NetworksecurityV1beta1::UrlFilter, decorator: Google::Apis::NetworksecurityV1beta1::UrlFilter::Representation
2001
+
2002
+ end
2003
+ end
2004
+
1973
2005
  class UrlList
1974
2006
  # @private
1975
2007
  class Representation < Google::Apis::Core::JsonRepresentation
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.55.0
4
+ version: 0.56.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.55.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.56.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: