Skip to content

Commit e191073

Browse files
feat: Automated regeneration of networkservices v1beta1 client (#26396)
Auto-created at 2026-05-03 11:42:52 +0000 using the toys pull request generator.
1 parent 9174846 commit e191073

6 files changed

Lines changed: 30 additions & 8 deletions

File tree

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331940,6 +331940,8 @@
331940331940
"/networkservices:v1beta1/AgentGatewayNetworkConfigEgress/networkAttachment": network_attachment
331941331941
"/networkservices:v1beta1/AgentGatewaySelfManaged": agent_gateway_self_managed
331942331942
"/networkservices:v1beta1/AgentGatewaySelfManaged/resourceUri": resource_uri
331943+
"/networkservices:v1beta1/AgentGatewaySelfManaged/resourceUris": resource_uris
331944+
"/networkservices:v1beta1/AgentGatewaySelfManaged/resourceUris/resource_uri": resource_uri
331943331945
"/networkservices:v1beta1/AuditConfig": audit_config
331944331946
"/networkservices:v1beta1/AuditConfig/auditLogConfigs": audit_log_configs
331945331947
"/networkservices:v1beta1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config
@@ -332722,11 +332724,13 @@
332722332724
"/networkservices:v1beta1/networkservices.projects.locations.httpRoutes.create": create_project_location_http_route
332723332725
"/networkservices:v1beta1/networkservices.projects.locations.httpRoutes.create/httpRouteId": http_route_id
332724332726
"/networkservices:v1beta1/networkservices.projects.locations.httpRoutes.create/parent": parent
332727+
"/networkservices:v1beta1/networkservices.projects.locations.httpRoutes.create/requestId": request_id
332725332728
"/networkservices:v1beta1/networkservices.projects.locations.httpRoutes.delete": delete_project_location_http_route
332726332729
"/networkservices:v1beta1/networkservices.projects.locations.httpRoutes.delete/name": name
332727332730
"/networkservices:v1beta1/networkservices.projects.locations.httpRoutes.get": get_project_location_http_route
332728332731
"/networkservices:v1beta1/networkservices.projects.locations.httpRoutes.get/name": name
332729332732
"/networkservices:v1beta1/networkservices.projects.locations.httpRoutes.list": list_project_location_http_routes
332733+
"/networkservices:v1beta1/networkservices.projects.locations.httpRoutes.list/filter": filter
332730332734
"/networkservices:v1beta1/networkservices.projects.locations.httpRoutes.list/pageSize": page_size
332731332735
"/networkservices:v1beta1/networkservices.projects.locations.httpRoutes.list/pageToken": page_token
332732332736
"/networkservices:v1beta1/networkservices.projects.locations.httpRoutes.list/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.68.0 (2026-05-03)
4+
5+
* Regenerated from discovery document revision 20260424
6+
37
### v0.67.0 (2026-04-19)
48

59
* Regenerated from discovery document revision 20260407

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,13 +256,20 @@ class AgentGatewaySelfManaged
256256
# @return [String]
257257
attr_accessor :resource_uri
258258

259+
# Optional. List of supported Google Cloud networking proxies in the Project and
260+
# Location. resource_uris is mutually exclusive with resource_uri.
261+
# Corresponds to the JSON property `resourceUris`
262+
# @return [Array<String>]
263+
attr_accessor :resource_uris
264+
259265
def initialize(**args)
260266
update!(**args)
261267
end
262268

263269
# Update properties of this object
264270
def update!(**args)
265271
@resource_uri = args[:resource_uri] if args.key?(:resource_uri)
272+
@resource_uris = args[:resource_uris] if args.key?(:resource_uris)
266273
end
267274
end
268275

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.67.0"
19+
GEM_VERSION = "0.68.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 = "20260407"
25+
REVISION = "20260424"
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
@@ -714,6 +714,7 @@ class AgentGatewaySelfManaged
714714
# @private
715715
class Representation < Google::Apis::Core::JsonRepresentation
716716
property :resource_uri, as: 'resourceUri'
717+
collection :resource_uris, as: 'resourceUris'
717718
end
718719
end
719720

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

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
8282
end
8383

8484
# Lists information about the supported locations for this service. This method
85-
# lists locations based on the resource scope provided in the [
86-
# ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
85+
# lists locations based on the resource scope provided in the
86+
# ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
8787
# the method lists the public locations available to all projects. * **Project-
8888
# specific locations**: If `name` follows the format `projects/`project``, the
8989
# method lists locations visible to that specific project. This includes public,
@@ -94,8 +94,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
9494
# @param [String] name
9595
# The resource that owns the locations collection, if applicable.
9696
# @param [Array<String>, String] extra_location_types
97-
# Optional. Do not use this field. It is unsupported and is ignored unless
98-
# explicitly documented otherwise. This is primarily for internal usage.
97+
# Optional. Do not use this field unless explicitly documented otherwise. This
98+
# is primarily for internal usage.
9999
# @param [String] filter
100100
# A filter to narrow down results to a preferred subset. The filtering language
101101
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -1169,6 +1169,8 @@ def patch_project_location_grpc_route(name, grpc_route_object = nil, update_mask
11691169
# @param [Google::Apis::NetworkservicesV1beta1::HttpRoute] http_route_object
11701170
# @param [String] http_route_id
11711171
# Required. Short name of the HttpRoute resource to be created.
1172+
# @param [String] request_id
1173+
# Optional. Idempotent request UUID.
11721174
# @param [String] fields
11731175
# Selector specifying which fields to include in a partial response.
11741176
# @param [String] quota_user
@@ -1186,14 +1188,15 @@ def patch_project_location_grpc_route(name, grpc_route_object = nil, update_mask
11861188
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11871189
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11881190
# @raise [Google::Apis::AuthorizationError] Authorization is required
1189-
def create_project_location_http_route(parent, http_route_object = nil, http_route_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1191+
def create_project_location_http_route(parent, http_route_object = nil, http_route_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
11901192
command = make_simple_command(:post, 'v1beta1/{+parent}/httpRoutes', options)
11911193
command.request_representation = Google::Apis::NetworkservicesV1beta1::HttpRoute::Representation
11921194
command.request_object = http_route_object
11931195
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
11941196
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
11951197
command.params['parent'] = parent unless parent.nil?
11961198
command.query['httpRouteId'] = http_route_id unless http_route_id.nil?
1199+
command.query['requestId'] = request_id unless request_id.nil?
11971200
command.query['fields'] = fields unless fields.nil?
11981201
command.query['quotaUser'] = quota_user unless quota_user.nil?
11991202
execute_or_queue_command(command, &block)
@@ -1265,6 +1268,8 @@ def get_project_location_http_route(name, fields: nil, quota_user: nil, options:
12651268
# @param [String] parent
12661269
# Required. The project and location from which the HttpRoutes should be listed,
12671270
# specified in the format `projects/*/locations/*`.
1271+
# @param [String] filter
1272+
# Optional. Filter expression to restrict the list.
12681273
# @param [Fixnum] page_size
12691274
# Maximum number of HttpRoutes to return per call.
12701275
# @param [String] page_token
@@ -1292,11 +1297,12 @@ def get_project_location_http_route(name, fields: nil, quota_user: nil, options:
12921297
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12931298
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12941299
# @raise [Google::Apis::AuthorizationError] Authorization is required
1295-
def list_project_location_http_routes(parent, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
1300+
def list_project_location_http_routes(parent, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
12961301
command = make_simple_command(:get, 'v1beta1/{+parent}/httpRoutes', options)
12971302
command.response_representation = Google::Apis::NetworkservicesV1beta1::ListHttpRoutesResponse::Representation
12981303
command.response_class = Google::Apis::NetworkservicesV1beta1::ListHttpRoutesResponse
12991304
command.params['parent'] = parent unless parent.nil?
1305+
command.query['filter'] = filter unless filter.nil?
13001306
command.query['pageSize'] = page_size unless page_size.nil?
13011307
command.query['pageToken'] = page_token unless page_token.nil?
13021308
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?

0 commit comments

Comments
 (0)