Skip to content

Commit 3c26572

Browse files
feat: Automated regeneration of networksecurity v1 client (#25795)
Auto-created at 2026-02-22 10:30:27 +0000 using the toys pull request generator.
1 parent e8b2083 commit 3c26572

File tree

5 files changed

+114
-2
lines changed

5 files changed

+114
-2
lines changed

api_names_out.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321016,6 +321016,7 @@
321016321016
"/networksecurity:v1/SecurityProfile/threatPreventionProfile": threat_prevention_profile
321017321017
"/networksecurity:v1/SecurityProfile/type": type
321018321018
"/networksecurity:v1/SecurityProfile/updateTime": update_time
321019+
"/networksecurity:v1/SecurityProfile/urlFilteringProfile": url_filtering_profile
321019321020
"/networksecurity:v1/SecurityProfileGroup": security_profile_group
321020321021
"/networksecurity:v1/SecurityProfileGroup/createTime": create_time
321021321022
"/networksecurity:v1/SecurityProfileGroup/customInterceptProfile": custom_intercept_profile
@@ -321028,6 +321029,7 @@
321028321029
"/networksecurity:v1/SecurityProfileGroup/name": name
321029321030
"/networksecurity:v1/SecurityProfileGroup/threatPreventionProfile": threat_prevention_profile
321030321031
"/networksecurity:v1/SecurityProfileGroup/updateTime": update_time
321032+
"/networksecurity:v1/SecurityProfileGroup/urlFilteringProfile": url_filtering_profile
321031321033
"/networksecurity:v1/ServerTlsPolicy": server_tls_policy
321032321034
"/networksecurity:v1/ServerTlsPolicy/allowOpen": allow_open
321033321035
"/networksecurity:v1/ServerTlsPolicy/createTime": create_time
@@ -321075,6 +321077,14 @@
321075321077
"/networksecurity:v1/TlsInspectionPolicy/tlsFeatureProfile": tls_feature_profile
321076321078
"/networksecurity:v1/TlsInspectionPolicy/trustConfig": trust_config
321077321079
"/networksecurity:v1/TlsInspectionPolicy/updateTime": update_time
321080+
"/networksecurity:v1/UrlFilter": url_filter
321081+
"/networksecurity:v1/UrlFilter/filteringAction": filtering_action
321082+
"/networksecurity:v1/UrlFilter/priority": priority
321083+
"/networksecurity:v1/UrlFilter/urls": urls
321084+
"/networksecurity:v1/UrlFilter/urls/url": url
321085+
"/networksecurity:v1/UrlFilteringProfile": url_filtering_profile
321086+
"/networksecurity:v1/UrlFilteringProfile/urlFilters": url_filters
321087+
"/networksecurity:v1/UrlFilteringProfile/urlFilters/url_filter": url_filter
321078321088
"/networksecurity:v1/UrlList": url_list
321079321089
"/networksecurity:v1/UrlList/createTime": create_time
321080321090
"/networksecurity:v1/UrlList/description": description

generated/google-apis-networksecurity_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-networksecurity_v1
22

3+
### v0.49.0 (2026-02-22)
4+
5+
* Regenerated from discovery document revision 20260204
6+
37
### v0.48.0 (2026-02-08)
48

59
* Regenerated from discovery document revision 20260131

generated/google-apis-networksecurity_v1/lib/google/apis/networksecurity_v1/classes.rb

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

generated/google-apis-networksecurity_v1/lib/google/apis/networksecurity_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module NetworksecurityV1
1818
# Version of the google-apis-networksecurity_v1 gem
19-
GEM_VERSION = "0.48.0"
19+
GEM_VERSION = "0.49.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260131"
25+
REVISION = "20260204"
2626
end
2727
end
2828
end

generated/google-apis-networksecurity_v1/lib/google/apis/networksecurity_v1/representations.rb

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
682682
include Google::Apis::Core::JsonObjectSupport
683683
end
684684

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+
685697
class UrlList
686698
class Representation < Google::Apis::Core::JsonRepresentation; end
687699

@@ -1756,6 +1768,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
17561768

17571769
property :type, as: 'type'
17581770
property :update_time, as: 'updateTime'
1771+
property :url_filtering_profile, as: 'urlFilteringProfile', class: Google::Apis::NetworksecurityV1::UrlFilteringProfile, decorator: Google::Apis::NetworksecurityV1::UrlFilteringProfile::Representation
1772+
17591773
end
17601774
end
17611775

@@ -1772,6 +1786,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
17721786
property :name, as: 'name'
17731787
property :threat_prevention_profile, as: 'threatPreventionProfile'
17741788
property :update_time, as: 'updateTime'
1789+
property :url_filtering_profile, as: 'urlFilteringProfile'
17751790
end
17761791
end
17771792

@@ -1853,6 +1868,23 @@ class Representation < Google::Apis::Core::JsonRepresentation
18531868
end
18541869
end
18551870

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+
18561888
class UrlList
18571889
# @private
18581890
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)