Skip to content

Commit 6727fd5

Browse files
feat: Automated regeneration of networkservices v1beta1 client (googleapis#23281)
Auto-created at 2025-06-01 09:46:18 +0000 using the toys pull request generator.
1 parent 88eb95c commit 6727fd5

File tree

5 files changed

+23
-5
lines changed

5 files changed

+23
-5
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291825,6 +291825,7 @@
291825291825
"/networkservices:v1beta1/EndpointPolicy/labels": labels
291826291826
"/networkservices:v1beta1/EndpointPolicy/labels/label": label
291827291827
"/networkservices:v1beta1/EndpointPolicy/name": name
291828+
"/networkservices:v1beta1/EndpointPolicy/securityPolicy": security_policy
291828291829
"/networkservices:v1beta1/EndpointPolicy/serverTlsPolicy": server_tls_policy
291829291830
"/networkservices:v1beta1/EndpointPolicy/trafficPortSelector": traffic_port_selector
291830291831
"/networkservices:v1beta1/EndpointPolicy/type": type

generated/google-apis-networkservices_v1beta1/CHANGELOG.md

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

3+
### v0.53.0 (2025-06-01)
4+
5+
* Regenerated from discovery document revision 20250521
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.52.0 (2025-05-18)
49

510
* Regenerated from discovery document revision 20250508

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

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,14 @@ class EndpointPolicy
249249
# @return [String]
250250
attr_accessor :name
251251

252+
# Optional. A URL referring to a SecurityPolicy resource. SecurityPolicy is used
253+
# to enforce rate limiting policy on the inbound traffic at the identified
254+
# backends. If this field is not set, rate limiting is disabled for this
255+
# endpoint.
256+
# Corresponds to the JSON property `securityPolicy`
257+
# @return [String]
258+
attr_accessor :security_policy
259+
252260
# Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used
253261
# to determine the authentication policy to be applied to terminate the inbound
254262
# traffic at the identified backends. If this field is not set, authentication
@@ -286,6 +294,7 @@ def update!(**args)
286294
@endpoint_matcher = args[:endpoint_matcher] if args.key?(:endpoint_matcher)
287295
@labels = args[:labels] if args.key?(:labels)
288296
@name = args[:name] if args.key?(:name)
297+
@security_policy = args[:security_policy] if args.key?(:security_policy)
289298
@server_tls_policy = args[:server_tls_policy] if args.key?(:server_tls_policy)
290299
@traffic_port_selector = args[:traffic_port_selector] if args.key?(:traffic_port_selector)
291300
@type = args[:type] if args.key?(:type)
@@ -1752,7 +1761,8 @@ def update!(**args)
17521761
# Specifies the policy on how requests are shadowed to a separate mirrored
17531762
# destination service. The proxy does not wait for responses from the shadow
17541763
# service. Prior to sending traffic to the shadow service, the host/authority
1755-
# header is suffixed with -shadow.
1764+
# header is suffixed with -shadow. Mirroring is currently not supported for
1765+
# Cloud Run destinations.
17561766
class HttpRouteRequestMirrorPolicy
17571767
include Google::Apis::Core::Hashable
17581768

@@ -1871,7 +1881,8 @@ class HttpRouteRouteAction
18711881
# Specifies the policy on how requests are shadowed to a separate mirrored
18721882
# destination service. The proxy does not wait for responses from the shadow
18731883
# service. Prior to sending traffic to the shadow service, the host/authority
1874-
# header is suffixed with -shadow.
1884+
# header is suffixed with -shadow. Mirroring is currently not supported for
1885+
# Cloud Run destinations.
18751886
# Corresponds to the JSON property `requestMirrorPolicy`
18761887
# @return [Google::Apis::NetworkservicesV1beta1::HttpRouteRequestMirrorPolicy]
18771888
attr_accessor :request_mirror_policy

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module NetworkservicesV1beta1
1818
# Version of the google-apis-networkservices_v1beta1 gem
19-
GEM_VERSION = "0.52.0"
19+
GEM_VERSION = "0.53.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
636636

637637
hash :labels, as: 'labels'
638638
property :name, as: 'name'
639+
property :security_policy, as: 'securityPolicy'
639640
property :server_tls_policy, as: 'serverTlsPolicy'
640641
property :traffic_port_selector, as: 'trafficPortSelector', class: Google::Apis::NetworkservicesV1beta1::TrafficPortSelector, decorator: Google::Apis::NetworkservicesV1beta1::TrafficPortSelector::Representation
641642

0 commit comments

Comments
 (0)