Skip to content

Commit 6667f80

Browse files
feat: Automated regeneration of networksecurity v1beta1 client (googleapis#23851)
Auto-created at 2025-08-03 10:25:57 +0000 using the toys pull request generator.
1 parent ffb8c5a commit 6667f80

File tree

6 files changed

+327
-2
lines changed

6 files changed

+327
-2
lines changed

api_names_out.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294338,6 +294338,15 @@
294338294338
"/networksecurity:v1beta1/Destination/methods/methods_prop": methods_prop
294339294339
"/networksecurity:v1beta1/Destination/ports": ports
294340294340
"/networksecurity:v1beta1/Destination/ports/port": port
294341+
"/networksecurity:v1beta1/DnsThreatDetector": dns_threat_detector
294342+
"/networksecurity:v1beta1/DnsThreatDetector/createTime": create_time
294343+
"/networksecurity:v1beta1/DnsThreatDetector/excludedNetworks": excluded_networks
294344+
"/networksecurity:v1beta1/DnsThreatDetector/excludedNetworks/excluded_network": excluded_network
294345+
"/networksecurity:v1beta1/DnsThreatDetector/labels": labels
294346+
"/networksecurity:v1beta1/DnsThreatDetector/labels/label": label
294347+
"/networksecurity:v1beta1/DnsThreatDetector/name": name
294348+
"/networksecurity:v1beta1/DnsThreatDetector/provider": provider
294349+
"/networksecurity:v1beta1/DnsThreatDetector/updateTime": update_time
294341294350
"/networksecurity:v1beta1/Empty": empty
294342294351
"/networksecurity:v1beta1/Expr": expr
294343294352
"/networksecurity:v1beta1/Expr/description": description
@@ -294536,6 +294545,12 @@
294536294545
"/networksecurity:v1beta1/ListClientTlsPoliciesResponse/clientTlsPolicies": client_tls_policies
294537294546
"/networksecurity:v1beta1/ListClientTlsPoliciesResponse/clientTlsPolicies/client_tls_policy": client_tls_policy
294538294547
"/networksecurity:v1beta1/ListClientTlsPoliciesResponse/nextPageToken": next_page_token
294548+
"/networksecurity:v1beta1/ListDnsThreatDetectorsResponse": list_dns_threat_detectors_response
294549+
"/networksecurity:v1beta1/ListDnsThreatDetectorsResponse/dnsThreatDetectors": dns_threat_detectors
294550+
"/networksecurity:v1beta1/ListDnsThreatDetectorsResponse/dnsThreatDetectors/dns_threat_detector": dns_threat_detector
294551+
"/networksecurity:v1beta1/ListDnsThreatDetectorsResponse/nextPageToken": next_page_token
294552+
"/networksecurity:v1beta1/ListDnsThreatDetectorsResponse/unreachable": unreachable
294553+
"/networksecurity:v1beta1/ListDnsThreatDetectorsResponse/unreachable/unreachable": unreachable
294539294554
"/networksecurity:v1beta1/ListFirewallEndpointAssociationsResponse": list_firewall_endpoint_associations_response
294540294555
"/networksecurity:v1beta1/ListFirewallEndpointAssociationsResponse/firewallEndpointAssociations": firewall_endpoint_associations
294541294556
"/networksecurity:v1beta1/ListFirewallEndpointAssociationsResponse/firewallEndpointAssociations/firewall_endpoint_association": firewall_endpoint_association
@@ -295078,6 +295093,20 @@
295078295093
"/networksecurity:v1beta1/networksecurity.projects.locations.clientTlsPolicies.setIamPolicy/resource": resource
295079295094
"/networksecurity:v1beta1/networksecurity.projects.locations.clientTlsPolicies.testIamPermissions": test_project_location_client_tls_policy_iam_permissions
295080295095
"/networksecurity:v1beta1/networksecurity.projects.locations.clientTlsPolicies.testIamPermissions/resource": resource
295096+
"/networksecurity:v1beta1/networksecurity.projects.locations.dnsThreatDetectors.create": create_project_location_dns_threat_detector
295097+
"/networksecurity:v1beta1/networksecurity.projects.locations.dnsThreatDetectors.create/dnsThreatDetectorId": dns_threat_detector_id
295098+
"/networksecurity:v1beta1/networksecurity.projects.locations.dnsThreatDetectors.create/parent": parent
295099+
"/networksecurity:v1beta1/networksecurity.projects.locations.dnsThreatDetectors.delete": delete_project_location_dns_threat_detector
295100+
"/networksecurity:v1beta1/networksecurity.projects.locations.dnsThreatDetectors.delete/name": name
295101+
"/networksecurity:v1beta1/networksecurity.projects.locations.dnsThreatDetectors.get": get_project_location_dns_threat_detector
295102+
"/networksecurity:v1beta1/networksecurity.projects.locations.dnsThreatDetectors.get/name": name
295103+
"/networksecurity:v1beta1/networksecurity.projects.locations.dnsThreatDetectors.list": list_project_location_dns_threat_detectors
295104+
"/networksecurity:v1beta1/networksecurity.projects.locations.dnsThreatDetectors.list/pageSize": page_size
295105+
"/networksecurity:v1beta1/networksecurity.projects.locations.dnsThreatDetectors.list/pageToken": page_token
295106+
"/networksecurity:v1beta1/networksecurity.projects.locations.dnsThreatDetectors.list/parent": parent
295107+
"/networksecurity:v1beta1/networksecurity.projects.locations.dnsThreatDetectors.patch": patch_project_location_dns_threat_detector
295108+
"/networksecurity:v1beta1/networksecurity.projects.locations.dnsThreatDetectors.patch/name": name
295109+
"/networksecurity:v1beta1/networksecurity.projects.locations.dnsThreatDetectors.patch/updateMask": update_mask
295081295110
"/networksecurity:v1beta1/networksecurity.projects.locations.firewallEndpointAssociations.create": create_project_location_firewall_endpoint_association
295082295111
"/networksecurity:v1beta1/networksecurity.projects.locations.firewallEndpointAssociations.create/firewallEndpointAssociationId": firewall_endpoint_association_id
295083295112
"/networksecurity:v1beta1/networksecurity.projects.locations.firewallEndpointAssociations.create/parent": parent

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.52.0 (2025-08-03)
4+
5+
* Regenerated from discovery document revision 20250721
6+
37
### v0.51.0 (2025-07-27)
48

59
* Regenerated from discovery document revision 20250714

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

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,57 @@ def update!(**args)
10981098
end
10991099
end
11001100

1101+
# Message describing DnsThreatDetector object
1102+
class DnsThreatDetector
1103+
include Google::Apis::Core::Hashable
1104+
1105+
# Output only. [Output only] Create time stamp
1106+
# Corresponds to the JSON property `createTime`
1107+
# @return [String]
1108+
attr_accessor :create_time
1109+
1110+
# Optional. A list of Network resource names which are exempt from the
1111+
# configuration in this DnsThreatDetector. Example: `projects/PROJECT_ID/global/
1112+
# networks/NETWORK_NAME`.
1113+
# Corresponds to the JSON property `excludedNetworks`
1114+
# @return [Array<String>]
1115+
attr_accessor :excluded_networks
1116+
1117+
# Optional. Labels as key value pairs
1118+
# Corresponds to the JSON property `labels`
1119+
# @return [Hash<String,String>]
1120+
attr_accessor :labels
1121+
1122+
# Immutable. Identifier. Name of the DnsThreatDetector resource.
1123+
# Corresponds to the JSON property `name`
1124+
# @return [String]
1125+
attr_accessor :name
1126+
1127+
# Required. The provider used for DNS threat analysis.
1128+
# Corresponds to the JSON property `provider`
1129+
# @return [String]
1130+
attr_accessor :provider
1131+
1132+
# Output only. [Output only] Update time stamp
1133+
# Corresponds to the JSON property `updateTime`
1134+
# @return [String]
1135+
attr_accessor :update_time
1136+
1137+
def initialize(**args)
1138+
update!(**args)
1139+
end
1140+
1141+
# Update properties of this object
1142+
def update!(**args)
1143+
@create_time = args[:create_time] if args.key?(:create_time)
1144+
@excluded_networks = args[:excluded_networks] if args.key?(:excluded_networks)
1145+
@labels = args[:labels] if args.key?(:labels)
1146+
@name = args[:name] if args.key?(:name)
1147+
@provider = args[:provider] if args.key?(:provider)
1148+
@update_time = args[:update_time] if args.key?(:update_time)
1149+
end
1150+
end
1151+
11011152
# A generic empty message that you can re-use to avoid defining duplicated empty
11021153
# messages in your APIs. A typical example is to use it as the request or the
11031154
# response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -2667,6 +2718,37 @@ def update!(**args)
26672718
end
26682719
end
26692720

2721+
# Message for response to listing DnsThreatDetectors
2722+
class ListDnsThreatDetectorsResponse
2723+
include Google::Apis::Core::Hashable
2724+
2725+
# The list of DnsThreatDetector resources.
2726+
# Corresponds to the JSON property `dnsThreatDetectors`
2727+
# @return [Array<Google::Apis::NetworksecurityV1beta1::DnsThreatDetector>]
2728+
attr_accessor :dns_threat_detectors
2729+
2730+
# A token, which can be sent as `page_token` to retrieve the next page.
2731+
# Corresponds to the JSON property `nextPageToken`
2732+
# @return [String]
2733+
attr_accessor :next_page_token
2734+
2735+
# Unordered list. Unreachable `DnsThreatDetector` resources.
2736+
# Corresponds to the JSON property `unreachable`
2737+
# @return [Array<String>]
2738+
attr_accessor :unreachable
2739+
2740+
def initialize(**args)
2741+
update!(**args)
2742+
end
2743+
2744+
# Update properties of this object
2745+
def update!(**args)
2746+
@dns_threat_detectors = args[:dns_threat_detectors] if args.key?(:dns_threat_detectors)
2747+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2748+
@unreachable = args[:unreachable] if args.key?(:unreachable)
2749+
end
2750+
end
2751+
26702752
# Message for response to listing Associations
26712753
class ListFirewallEndpointAssociationsResponse
26722754
include Google::Apis::Core::Hashable

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.51.0"
19+
GEM_VERSION = "0.52.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 = "20250714"
25+
REVISION = "20250721"
2626
end
2727
end
2828
end

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

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
196196
include Google::Apis::Core::JsonObjectSupport
197197
end
198198

199+
class DnsThreatDetector
200+
class Representation < Google::Apis::Core::JsonRepresentation; end
201+
202+
include Google::Apis::Core::JsonObjectSupport
203+
end
204+
199205
class Empty
200206
class Representation < Google::Apis::Core::JsonRepresentation; end
201207

@@ -400,6 +406,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
400406
include Google::Apis::Core::JsonObjectSupport
401407
end
402408

409+
class ListDnsThreatDetectorsResponse
410+
class Representation < Google::Apis::Core::JsonRepresentation; end
411+
412+
include Google::Apis::Core::JsonObjectSupport
413+
end
414+
403415
class ListFirewallEndpointAssociationsResponse
404416
class Representation < Google::Apis::Core::JsonRepresentation; end
405417

@@ -1008,6 +1020,18 @@ class Representation < Google::Apis::Core::JsonRepresentation
10081020
end
10091021
end
10101022

1023+
class DnsThreatDetector
1024+
# @private
1025+
class Representation < Google::Apis::Core::JsonRepresentation
1026+
property :create_time, as: 'createTime'
1027+
collection :excluded_networks, as: 'excludedNetworks'
1028+
hash :labels, as: 'labels'
1029+
property :name, as: 'name'
1030+
property :provider, as: 'provider'
1031+
property :update_time, as: 'updateTime'
1032+
end
1033+
end
1034+
10111035
class Empty
10121036
# @private
10131037
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1367,6 +1391,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
13671391
end
13681392
end
13691393

1394+
class ListDnsThreatDetectorsResponse
1395+
# @private
1396+
class Representation < Google::Apis::Core::JsonRepresentation
1397+
collection :dns_threat_detectors, as: 'dnsThreatDetectors', class: Google::Apis::NetworksecurityV1beta1::DnsThreatDetector, decorator: Google::Apis::NetworksecurityV1beta1::DnsThreatDetector::Representation
1398+
1399+
property :next_page_token, as: 'nextPageToken'
1400+
collection :unreachable, as: 'unreachable'
1401+
end
1402+
end
1403+
13701404
class ListFirewallEndpointAssociationsResponse
13711405
# @private
13721406
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)