@@ -4222,6 +4222,11 @@ class SecurityProfile
42224222 # @return [String]
42234223 attr_accessor :update_time
42244224
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+
42254230 def initialize ( **args )
42264231 update! ( **args )
42274232 end
@@ -4238,6 +4243,7 @@ def update!(**args)
42384243 @threat_prevention_profile = args [ :threat_prevention_profile ] if args . key? ( :threat_prevention_profile )
42394244 @type = args [ :type ] if args . key? ( :type )
42404245 @update_time = args [ :update_time ] if args . key? ( :update_time )
4246+ @url_filtering_profile = args [ :url_filtering_profile ] if args . key? ( :url_filtering_profile )
42414247 end
42424248 end
42434249
@@ -4305,6 +4311,11 @@ class SecurityProfileGroup
43054311 # @return [String]
43064312 attr_accessor :update_time
43074313
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+
43084319 def initialize ( **args )
43094320 update! ( **args )
43104321 end
@@ -4321,6 +4332,7 @@ def update!(**args)
43214332 @name = args [ :name ] if args . key? ( :name )
43224333 @threat_prevention_profile = args [ :threat_prevention_profile ] if args . key? ( :threat_prevention_profile )
43234334 @update_time = args [ :update_time ] if args . key? ( :update_time )
4335+ @url_filtering_profile = args [ :url_filtering_profile ] if args . key? ( :url_filtering_profile )
43244336 end
43254337 end
43264338
@@ -4673,6 +4685,60 @@ def update!(**args)
46734685 end
46744686 end
46754687
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+
46764742 # UrlList proto helps users to set reusable, independently manageable lists of
46774743 # hosts, host patterns, URLs, URL patterns.
46784744 class UrlList
0 commit comments