Skip to content

Commit a5fd4b2

Browse files
feat: Automated regeneration of networkservices v1beta1 client (#24699)
Auto-created at 2025-10-26 09:14:46 +0000 using the toys pull request generator.
1 parent bb5f57b commit a5fd4b2

File tree

4 files changed

+37
-27
lines changed

4 files changed

+37
-27
lines changed

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.59.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251015
6+
37
### v0.58.0 (2025-08-10)
48

59
* Regenerated from discovery document revision 20250730

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

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,8 @@ class ExtensionChainExtension
347347

348348
# Optional. When set to `TRUE`, the response from an extension service is
349349
# allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the
350-
# dynamic metadata. This field is not supported for plugin extensions. Setting
351-
# it results in a validation error.
350+
# dynamic metadata. This field is not supported for plugin extensions or
351+
# AuthzExtensions. Setting it results in a validation error.
352352
# Corresponds to the JSON property `allowDynamicForwarding`
353353
# @return [Boolean]
354354
attr_accessor :allow_dynamic_forwarding
@@ -384,28 +384,30 @@ class ExtensionChainExtension
384384

385385
# Optional. The metadata provided here is included as part of the `
386386
# metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest`
387-
# message sent to the extension server. The metadata is available under the
388-
# namespace `com.google....`. For example: `com.google.lb_traffic_extension.
389-
# lbtrafficextension1.chain1.ext1`. The following variables are supported in the
390-
# metadata: ``forwarding_rule_id`` - substituted with the forwarding rule's
391-
# fully qualified resource name. This field must not be set for plugin
392-
# extensions. Setting it results in a validation error. You can set metadata at
393-
# either the resource level or the extension level. The extension level metadata
394-
# is recommended because you can pass a different set of metadata through each
395-
# extension to the backend. This field is subject to following limitations: *
396-
# The total size of the metadata must be less than 1KiB. * The total number of
397-
# keys in the metadata must be less than 16. * The length of each key must be
398-
# less than 64 characters. * The length of each value must be less than 1024
399-
# characters. * All values must be strings.
387+
# message sent to the extension server. For `AuthzExtension` resources, the
388+
# metadata is available under the namespace `com.google.authz_extension.`. For
389+
# other types of extensions, the metadata is available under the namespace `com.
390+
# google....`. For example: `com.google.lb_traffic_extension.lbtrafficextension1.
391+
# chain1.ext1`. The following variables are supported in the metadata: ``
392+
# forwarding_rule_id`` - substituted with the forwarding rule's fully qualified
393+
# resource name. This field must not be set for plugin extensions. Setting it
394+
# results in a validation error. You can set metadata at either the resource
395+
# level or the extension level. The extension level metadata is recommended
396+
# because you can pass a different set of metadata through each extension to the
397+
# backend. This field is subject to following limitations: * The total size of
398+
# the metadata must be less than 1KiB. * The total number of keys in the
399+
# metadata must be less than 16. * The length of each key must be less than 64
400+
# characters. * The length of each value must be less than 1024 characters. *
401+
# All values must be strings.
400402
# Corresponds to the JSON property `metadata`
401403
# @return [Hash<String,Object>]
402404
attr_accessor :metadata
403405

404-
# Required. The name for this extension. The name is logged as part of the HTTP
406+
# Optional. The name for this extension. The name is logged as part of the HTTP
405407
# request logs. The name must conform with RFC-1034, is restricted to lower-
406408
# cased letters, numbers and hyphens, and can have a maximum length of 63
407409
# characters. Additionally, the first character must be a letter and the last a
408-
# letter or a number.
410+
# letter or a number. This field is required except for AuthzExtension.
409411
# Corresponds to the JSON property `name`
410412
# @return [String]
411413
attr_accessor :name
@@ -424,11 +426,13 @@ class ExtensionChainExtension
424426
attr_accessor :request_body_send_mode
425427

426428
# Optional. Configures the send mode for response processing. If unspecified,
427-
# the default value `STREAMED` is used. When this field is set to `
428-
# FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY`
429-
# and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension`
430-
# resources, and only when the `service` field of the extension points to a `
431-
# BackendService`.
429+
# the default value `STREAMED` is used. The field can only be set if `
430+
# supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `
431+
# RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `
432+
# STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `
433+
# supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`.
434+
# This field can be set only for `LbTrafficExtension` resources, and only when
435+
# the `service` field of the extension points to a `BackendService`.
432436
# Corresponds to the JSON property `responseBodySendMode`
433437
# @return [String]
434438
attr_accessor :response_body_send_mode
@@ -456,7 +460,9 @@ class ExtensionChainExtension
456460
# required. For the `LbRouteExtension` resource, this field is optional. If
457461
# unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `
458462
# LbEdgeExtension` resource, this field is required and must only contain `
459-
# REQUEST_HEADERS` event.
463+
# REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is
464+
# optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `
465+
# REQUEST_HEADERS` event is assumed as supported.
460466
# Corresponds to the JSON property `supportedEvents`
461467
# @return [Array<String>]
462468
attr_accessor :supported_events

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.58.0"
19+
GEM_VERSION = "0.59.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 = "20250730"
25+
REVISION = "20251015"
2626
end
2727
end
2828
end

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
8585
# @param [String] name
8686
# The resource that owns the locations collection, if applicable.
8787
# @param [Array<String>, String] extra_location_types
88-
# Optional. A list of extra location types that should be used as conditions for
89-
# controlling the visibility of the locations.
88+
# Optional. Do not use this field. It is unsupported and is ignored unless
89+
# explicitly documented otherwise. This is primarily for internal usage.
9090
# @param [String] filter
9191
# A filter to narrow down results to a preferred subset. The filtering language
9292
# accepts strings like `"displayName=tokyo"`, and is documented in more detail

0 commit comments

Comments
 (0)