Skip to content

Commit 4dd62ee

Browse files
feat: Automated regeneration of networkservices v1beta1 client (googleapis#23899)
Auto-created at 2025-08-10 10:13:24 +0000 using the toys pull request generator.
1 parent 62c72b2 commit 4dd62ee

File tree

6 files changed

+413
-2
lines changed

6 files changed

+413
-2
lines changed

api_names_out.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297245,6 +297245,18 @@
297245297245
"/networkservices:v1beta1/LbRouteExtension/metadata/metadatum": metadatum
297246297246
"/networkservices:v1beta1/LbRouteExtension/name": name
297247297247
"/networkservices:v1beta1/LbRouteExtension/updateTime": update_time
297248+
"/networkservices:v1beta1/LbTcpExtension": lb_tcp_extension
297249+
"/networkservices:v1beta1/LbTcpExtension/createTime": create_time
297250+
"/networkservices:v1beta1/LbTcpExtension/description": description
297251+
"/networkservices:v1beta1/LbTcpExtension/extensionChains": extension_chains
297252+
"/networkservices:v1beta1/LbTcpExtension/extensionChains/extension_chain": extension_chain
297253+
"/networkservices:v1beta1/LbTcpExtension/labels": labels
297254+
"/networkservices:v1beta1/LbTcpExtension/labels/label": label
297255+
"/networkservices:v1beta1/LbTcpExtension/loadBalancingScheme": load_balancing_scheme
297256+
"/networkservices:v1beta1/LbTcpExtension/name": name
297257+
"/networkservices:v1beta1/LbTcpExtension/networks": networks
297258+
"/networkservices:v1beta1/LbTcpExtension/networks/network": network
297259+
"/networkservices:v1beta1/LbTcpExtension/updateTime": update_time
297248297260
"/networkservices:v1beta1/LbTrafficExtension": lb_traffic_extension
297249297261
"/networkservices:v1beta1/LbTrafficExtension/createTime": create_time
297250297262
"/networkservices:v1beta1/LbTrafficExtension/description": description
@@ -297307,6 +297319,12 @@
297307297319
"/networkservices:v1beta1/ListLbRouteExtensionsResponse/nextPageToken": next_page_token
297308297320
"/networkservices:v1beta1/ListLbRouteExtensionsResponse/unreachable": unreachable
297309297321
"/networkservices:v1beta1/ListLbRouteExtensionsResponse/unreachable/unreachable": unreachable
297322+
"/networkservices:v1beta1/ListLbTcpExtensionsResponse": list_lb_tcp_extensions_response
297323+
"/networkservices:v1beta1/ListLbTcpExtensionsResponse/lbTcpExtensions": lb_tcp_extensions
297324+
"/networkservices:v1beta1/ListLbTcpExtensionsResponse/lbTcpExtensions/lb_tcp_extension": lb_tcp_extension
297325+
"/networkservices:v1beta1/ListLbTcpExtensionsResponse/nextPageToken": next_page_token
297326+
"/networkservices:v1beta1/ListLbTcpExtensionsResponse/unreachable": unreachable
297327+
"/networkservices:v1beta1/ListLbTcpExtensionsResponse/unreachable/unreachable": unreachable
297310297328
"/networkservices:v1beta1/ListLbTrafficExtensionsResponse": list_lb_traffic_extensions_response
297311297329
"/networkservices:v1beta1/ListLbTrafficExtensionsResponse/lbTrafficExtensions": lb_traffic_extensions
297312297330
"/networkservices:v1beta1/ListLbTrafficExtensionsResponse/lbTrafficExtensions/lb_traffic_extension": lb_traffic_extension
@@ -297714,6 +297732,25 @@
297714297732
"/networkservices:v1beta1/networkservices.projects.locations.lbRouteExtensions.patch/name": name
297715297733
"/networkservices:v1beta1/networkservices.projects.locations.lbRouteExtensions.patch/requestId": request_id
297716297734
"/networkservices:v1beta1/networkservices.projects.locations.lbRouteExtensions.patch/updateMask": update_mask
297735+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.create": create_project_location_lb_tcp_extension
297736+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.create/lbTcpExtensionId": lb_tcp_extension_id
297737+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.create/parent": parent
297738+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.create/requestId": request_id
297739+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.delete": delete_project_location_lb_tcp_extension
297740+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.delete/name": name
297741+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.delete/requestId": request_id
297742+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.get": get_project_location_lb_tcp_extension
297743+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.get/name": name
297744+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.list": list_project_location_lb_tcp_extensions
297745+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.list/filter": filter
297746+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.list/orderBy": order_by
297747+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.list/pageSize": page_size
297748+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.list/pageToken": page_token
297749+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.list/parent": parent
297750+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.patch": patch_project_location_lb_tcp_extension
297751+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.patch/name": name
297752+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.patch/requestId": request_id
297753+
"/networkservices:v1beta1/networkservices.projects.locations.lbTcpExtensions.patch/updateMask": update_mask
297717297754
"/networkservices:v1beta1/networkservices.projects.locations.lbTrafficExtensions.create": create_project_location_lb_traffic_extension
297718297755
"/networkservices:v1beta1/networkservices.projects.locations.lbTrafficExtensions.create/lbTrafficExtensionId": lb_traffic_extension_id
297719297756
"/networkservices:v1beta1/networkservices.projects.locations.lbTrafficExtensions.create/parent": parent

generated/google-apis-networkservices_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-networkservices_v1beta1
22

3+
### v0.58.0 (2025-08-10)
4+
5+
* Regenerated from discovery document revision 20250730
6+
37
### v0.57.0 (2025-08-03)
48

59
* Regenerated from discovery document revision 20250723

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

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2260,6 +2260,85 @@ def update!(**args)
22602260
end
22612261
end
22622262

2263+
# `LbTcpExtension` is a resource that allows traffic forwarding to different
2264+
# backend services to make allow/deny decisions on TCP connections for all L7
2265+
# Load Balancers within a network. Currently only internal load-balancers are
2266+
# supported.
2267+
class LbTcpExtension
2268+
include Google::Apis::Core::Hashable
2269+
2270+
# Output only. The timestamp when the resource was created.
2271+
# Corresponds to the JSON property `createTime`
2272+
# @return [String]
2273+
attr_accessor :create_time
2274+
2275+
# Optional. A human-readable description of the resource.
2276+
# Corresponds to the JSON property `description`
2277+
# @return [String]
2278+
attr_accessor :description
2279+
2280+
# Required. A set of ordered extension chains that contain the match conditions
2281+
# and extensions to execute. Match conditions for each extension chain are
2282+
# evaluated in sequence for a given request. The first extension chain that has
2283+
# a condition that matches the request is executed. Any subsequent extension
2284+
# chains do not execute. Limited to 5 extension chains per resource.
2285+
# Corresponds to the JSON property `extensionChains`
2286+
# @return [Array<Google::Apis::NetworkservicesV1beta1::ExtensionChain>]
2287+
attr_accessor :extension_chains
2288+
2289+
# Optional. Set of labels associated with the `LbTcpExtension` resource. The
2290+
# format must comply with [the requirements for labels](/compute/docs/labeling-
2291+
# resources#requirements) for Google Cloud resources.
2292+
# Corresponds to the JSON property `labels`
2293+
# @return [Hash<String,String>]
2294+
attr_accessor :labels
2295+
2296+
# Required. All backend services and forwarding rules referenced by this
2297+
# extension must share the same load balancing scheme. Supported values: `
2298+
# INTERNAL_MANAGED`. For more information, refer to [Backend services overview](
2299+
# https://cloud.google.com/load-balancing/docs/backend-service).
2300+
# Corresponds to the JSON property `loadBalancingScheme`
2301+
# @return [String]
2302+
attr_accessor :load_balancing_scheme
2303+
2304+
# Required. Identifier. Name of the `LbTcpExtension` resource in the following
2305+
# format: `projects/`project`/locations/`location`/LbTcpExtension/`
2306+
# lb_tcp_extension``
2307+
# Corresponds to the JSON property `name`
2308+
# @return [String]
2309+
attr_accessor :name
2310+
2311+
# Optional. If set, this `LbTcpExtension` resource applies to all `
2312+
# ForwardingRule` resources in these VPC networks. Values should be relative
2313+
# resource names identifying VPC networks, for example `projects/*/global/
2314+
# networks/network-1`. Currently limited to 1 network per resource. Limited to 1
2315+
# network per resource.
2316+
# Corresponds to the JSON property `networks`
2317+
# @return [Array<String>]
2318+
attr_accessor :networks
2319+
2320+
# Output only. The timestamp when the resource was updated.
2321+
# Corresponds to the JSON property `updateTime`
2322+
# @return [String]
2323+
attr_accessor :update_time
2324+
2325+
def initialize(**args)
2326+
update!(**args)
2327+
end
2328+
2329+
# Update properties of this object
2330+
def update!(**args)
2331+
@create_time = args[:create_time] if args.key?(:create_time)
2332+
@description = args[:description] if args.key?(:description)
2333+
@extension_chains = args[:extension_chains] if args.key?(:extension_chains)
2334+
@labels = args[:labels] if args.key?(:labels)
2335+
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
2336+
@name = args[:name] if args.key?(:name)
2337+
@networks = args[:networks] if args.key?(:networks)
2338+
@update_time = args[:update_time] if args.key?(:update_time)
2339+
end
2340+
end
2341+
22632342
# `LbTrafficExtension` is a resource that lets the extension service modify the
22642343
# headers and payloads of both requests and responses without impacting the
22652344
# choice of backend services or any other security policies associated with the
@@ -2619,6 +2698,37 @@ def update!(**args)
26192698
end
26202699
end
26212700

2701+
# Message for response to listing `LbTcpExtension` resources.
2702+
class ListLbTcpExtensionsResponse
2703+
include Google::Apis::Core::Hashable
2704+
2705+
# The list of `LbTcpExtension` resources.
2706+
# Corresponds to the JSON property `lbTcpExtensions`
2707+
# @return [Array<Google::Apis::NetworkservicesV1beta1::LbTcpExtension>]
2708+
attr_accessor :lb_tcp_extensions
2709+
2710+
# A token identifying a page of results that the server returns.
2711+
# Corresponds to the JSON property `nextPageToken`
2712+
# @return [String]
2713+
attr_accessor :next_page_token
2714+
2715+
# Locations that could not be reached.
2716+
# Corresponds to the JSON property `unreachable`
2717+
# @return [Array<String>]
2718+
attr_accessor :unreachable
2719+
2720+
def initialize(**args)
2721+
update!(**args)
2722+
end
2723+
2724+
# Update properties of this object
2725+
def update!(**args)
2726+
@lb_tcp_extensions = args[:lb_tcp_extensions] if args.key?(:lb_tcp_extensions)
2727+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2728+
@unreachable = args[:unreachable] if args.key?(:unreachable)
2729+
end
2730+
end
2731+
26222732
# Message for response to listing `LbTrafficExtension` resources.
26232733
class ListLbTrafficExtensionsResponse
26242734
include Google::Apis::Core::Hashable

generated/google-apis-networkservices_v1beta1/lib/google/apis/networkservices_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 NetworkservicesV1beta1
1818
# Version of the google-apis-networkservices_v1beta1 gem
19-
GEM_VERSION = "0.57.0"
19+
GEM_VERSION = "0.58.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 = "20250723"
25+
REVISION = "20250730"
2626
end
2727
end
2828
end

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

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
280280
include Google::Apis::Core::JsonObjectSupport
281281
end
282282

283+
class LbTcpExtension
284+
class Representation < Google::Apis::Core::JsonRepresentation; end
285+
286+
include Google::Apis::Core::JsonObjectSupport
287+
end
288+
283289
class LbTrafficExtension
284290
class Representation < Google::Apis::Core::JsonRepresentation; end
285291

@@ -334,6 +340,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
334340
include Google::Apis::Core::JsonObjectSupport
335341
end
336342

343+
class ListLbTcpExtensionsResponse
344+
class Representation < Google::Apis::Core::JsonRepresentation; end
345+
346+
include Google::Apis::Core::JsonObjectSupport
347+
end
348+
337349
class ListLbTrafficExtensionsResponse
338350
class Representation < Google::Apis::Core::JsonRepresentation; end
339351

@@ -1087,6 +1099,21 @@ class Representation < Google::Apis::Core::JsonRepresentation
10871099
end
10881100
end
10891101

1102+
class LbTcpExtension
1103+
# @private
1104+
class Representation < Google::Apis::Core::JsonRepresentation
1105+
property :create_time, as: 'createTime'
1106+
property :description, as: 'description'
1107+
collection :extension_chains, as: 'extensionChains', class: Google::Apis::NetworkservicesV1beta1::ExtensionChain, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionChain::Representation
1108+
1109+
hash :labels, as: 'labels'
1110+
property :load_balancing_scheme, as: 'loadBalancingScheme'
1111+
property :name, as: 'name'
1112+
collection :networks, as: 'networks'
1113+
property :update_time, as: 'updateTime'
1114+
end
1115+
end
1116+
10901117
class LbTrafficExtension
10911118
# @private
10921119
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1183,6 +1210,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
11831210
end
11841211
end
11851212

1213+
class ListLbTcpExtensionsResponse
1214+
# @private
1215+
class Representation < Google::Apis::Core::JsonRepresentation
1216+
collection :lb_tcp_extensions, as: 'lbTcpExtensions', class: Google::Apis::NetworkservicesV1beta1::LbTcpExtension, decorator: Google::Apis::NetworkservicesV1beta1::LbTcpExtension::Representation
1217+
1218+
property :next_page_token, as: 'nextPageToken'
1219+
collection :unreachable, as: 'unreachable'
1220+
end
1221+
end
1222+
11861223
class ListLbTrafficExtensionsResponse
11871224
# @private
11881225
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)