Skip to content

Commit 233292b

Browse files
feat: Automated regeneration of networksecurity v1beta1 client (googleapis#24220)
Auto-created at 2025-09-07 10:27:07 +0000 using the toys pull request generator.
1 parent 0e284af commit 233292b

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
@@ -300286,6 +300286,7 @@
300286300286
"/networksecurity:v1beta1/SecurityProfile/threatPreventionProfile": threat_prevention_profile
300287300287
"/networksecurity:v1beta1/SecurityProfile/type": type
300288300288
"/networksecurity:v1beta1/SecurityProfile/updateTime": update_time
300289+
"/networksecurity:v1beta1/SecurityProfile/urlFilteringProfile": url_filtering_profile
300289300290
"/networksecurity:v1beta1/SecurityProfileGroup": security_profile_group
300290300291
"/networksecurity:v1beta1/SecurityProfileGroup/createTime": create_time
300291300292
"/networksecurity:v1beta1/SecurityProfileGroup/customInterceptProfile": custom_intercept_profile
@@ -300298,6 +300299,7 @@
300298300299
"/networksecurity:v1beta1/SecurityProfileGroup/name": name
300299300300
"/networksecurity:v1beta1/SecurityProfileGroup/threatPreventionProfile": threat_prevention_profile
300300300301
"/networksecurity:v1beta1/SecurityProfileGroup/updateTime": update_time
300302+
"/networksecurity:v1beta1/SecurityProfileGroup/urlFilteringProfile": url_filtering_profile
300301300303
"/networksecurity:v1beta1/ServerTlsPolicy": server_tls_policy
300302300304
"/networksecurity:v1beta1/ServerTlsPolicy/allowOpen": allow_open
300303300305
"/networksecurity:v1beta1/ServerTlsPolicy/createTime": create_time
@@ -300345,6 +300347,14 @@
300345300347
"/networksecurity:v1beta1/TlsInspectionPolicy/tlsFeatureProfile": tls_feature_profile
300346300348
"/networksecurity:v1beta1/TlsInspectionPolicy/trustConfig": trust_config
300347300349
"/networksecurity:v1beta1/TlsInspectionPolicy/updateTime": update_time
300350+
"/networksecurity:v1beta1/UrlFilter": url_filter
300351+
"/networksecurity:v1beta1/UrlFilter/filteringAction": filtering_action
300352+
"/networksecurity:v1beta1/UrlFilter/priority": priority
300353+
"/networksecurity:v1beta1/UrlFilter/urls": urls
300354+
"/networksecurity:v1beta1/UrlFilter/urls/url": url
300355+
"/networksecurity:v1beta1/UrlFilteringProfile": url_filtering_profile
300356+
"/networksecurity:v1beta1/UrlFilteringProfile/urlFilters": url_filters
300357+
"/networksecurity:v1beta1/UrlFilteringProfile/urlFilters/url_filter": url_filter
300348300358
"/networksecurity:v1beta1/UrlList": url_list
300349300359
"/networksecurity:v1beta1/UrlList/createTime": create_time
300350300360
"/networksecurity:v1beta1/UrlList/description": description

generated/google-apis-networksecurity_v1beta1/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_v1beta1
22

3+
### v0.56.0 (2025-09-07)
4+
5+
* Regenerated from discovery document revision 20250903
6+
37
### v0.55.0 (2025-08-31)
48

59
* Regenerated from discovery document revision 20250822

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

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4495,6 +4495,11 @@ class SecurityProfile
44954495
# @return [String]
44964496
attr_accessor :update_time
44974497

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+
44984503
def initialize(**args)
44994504
update!(**args)
45004505
end
@@ -4511,6 +4516,7 @@ def update!(**args)
45114516
@threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
45124517
@type = args[:type] if args.key?(:type)
45134518
@update_time = args[:update_time] if args.key?(:update_time)
4519+
@url_filtering_profile = args[:url_filtering_profile] if args.key?(:url_filtering_profile)
45144520
end
45154521
end
45164522

@@ -4578,6 +4584,11 @@ class SecurityProfileGroup
45784584
# @return [String]
45794585
attr_accessor :update_time
45804586

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+
45814592
def initialize(**args)
45824593
update!(**args)
45834594
end
@@ -4594,6 +4605,7 @@ def update!(**args)
45944605
@name = args[:name] if args.key?(:name)
45954606
@threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
45964607
@update_time = args[:update_time] if args.key?(:update_time)
4608+
@url_filtering_profile = args[:url_filtering_profile] if args.key?(:url_filtering_profile)
45974609
end
45984610
end
45994611

@@ -4946,6 +4958,60 @@ def update!(**args)
49464958
end
49474959
end
49484960

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+
49495015
# UrlList proto helps users to set reusable, independently manageable lists of
49505016
# hosts, host patterns, URLs, URL patterns.
49515017
class UrlList

generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/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 NetworksecurityV1beta1
1818
# Version of the google-apis-networksecurity_v1beta1 gem
19-
GEM_VERSION = "0.55.0"
19+
GEM_VERSION = "0.56.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 = "20250822"
25+
REVISION = "20250903"
2626
end
2727
end
2828
end

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
724724
include Google::Apis::Core::JsonObjectSupport
725725
end
726726

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+
727739
class UrlList
728740
class Representation < Google::Apis::Core::JsonRepresentation; end
729741

@@ -1873,6 +1885,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
18731885

18741886
property :type, as: 'type'
18751887
property :update_time, as: 'updateTime'
1888+
property :url_filtering_profile, as: 'urlFilteringProfile', class: Google::Apis::NetworksecurityV1beta1::UrlFilteringProfile, decorator: Google::Apis::NetworksecurityV1beta1::UrlFilteringProfile::Representation
1889+
18761890
end
18771891
end
18781892

@@ -1889,6 +1903,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
18891903
property :name, as: 'name'
18901904
property :threat_prevention_profile, as: 'threatPreventionProfile'
18911905
property :update_time, as: 'updateTime'
1906+
property :url_filtering_profile, as: 'urlFilteringProfile'
18921907
end
18931908
end
18941909

@@ -1970,6 +1985,23 @@ class Representation < Google::Apis::Core::JsonRepresentation
19701985
end
19711986
end
19721987

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+
19732005
class UrlList
19742006
# @private
19752007
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)