Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -307017,6 +307017,8 @@
"/networkservices:v1/ExtensionChainExtension/metadata": metadata
"/networkservices:v1/ExtensionChainExtension/metadata/metadatum": metadatum
"/networkservices:v1/ExtensionChainExtension/name": name
"/networkservices:v1/ExtensionChainExtension/requestBodySendMode": request_body_send_mode
"/networkservices:v1/ExtensionChainExtension/responseBodySendMode": response_body_send_mode
"/networkservices:v1/ExtensionChainExtension/service": service
"/networkservices:v1/ExtensionChainExtension/supportedEvents": supported_events
"/networkservices:v1/ExtensionChainExtension/supportedEvents/supported_event": supported_event
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-networkservices_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-networkservices_v1

### v0.63.0 (2025-10-26)

* Regenerated from discovery document revision 20251015

### v0.62.0 (2025-08-03)

* Regenerated from discovery document revision 20250723
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -657,32 +657,59 @@ class ExtensionChainExtension

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

# Required. The name for this extension. The name is logged as part of the HTTP
# Optional. The name for this extension. The name is logged as part of the HTTP
# request logs. The name must conform with RFC-1034, is restricted to lower-
# cased letters, numbers and hyphens, and can have a maximum length of 63
# characters. Additionally, the first character must be a letter and the last a
# letter or a number.
# letter or a number. This field is required except for AuthzExtension.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

# Optional. Configures the send mode for request body processing. The field can
# only be set if `supported_events` includes `REQUEST_BODY`. If `
# supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is
# unset, the default value `STREAMED` is used. When this field is set to `
# FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and
# `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `
# LbRouteExtension` resources, and only when the `service` field of the
# extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is
# supported for `LbRouteExtension` resources.
# Corresponds to the JSON property `requestBodySendMode`
# @return [String]
attr_accessor :request_body_send_mode

# Optional. Configures the send mode for response processing. If unspecified,
# the default value `STREAMED` is used. The field can only be set if `
# supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `
# RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `
# STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `
# supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`.
# This field can be set only for `LbTrafficExtension` resources, and only when
# the `service` field of the extension points to a `BackendService`.
# Corresponds to the JSON property `responseBodySendMode`
# @return [String]
attr_accessor :response_body_send_mode

# Required. The reference to the service that runs the extension. To configure a
# callout extension, `service` must be a fully-qualified reference to a [backend
# service](https://cloud.google.com/compute/docs/reference/rest/v1/
Expand All @@ -706,7 +733,9 @@ class ExtensionChainExtension
# required. For the `LbRouteExtension` resource, this field is optional. If
# unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `
# LbEdgeExtension` resource, this field is required and must only contain `
# REQUEST_HEADERS` event.
# REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is
# optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `
# REQUEST_HEADERS` event is assumed as supported.
# Corresponds to the JSON property `supportedEvents`
# @return [Array<String>]
attr_accessor :supported_events
Expand All @@ -730,6 +759,8 @@ def update!(**args)
@forward_headers = args[:forward_headers] if args.key?(:forward_headers)
@metadata = args[:metadata] if args.key?(:metadata)
@name = args[:name] if args.key?(:name)
@request_body_send_mode = args[:request_body_send_mode] if args.key?(:request_body_send_mode)
@response_body_send_mode = args[:response_body_send_mode] if args.key?(:response_body_send_mode)
@service = args[:service] if args.key?(:service)
@supported_events = args[:supported_events] if args.key?(:supported_events)
@timeout = args[:timeout] if args.key?(:timeout)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module NetworkservicesV1
# Version of the google-apis-networkservices_v1 gem
GEM_VERSION = "0.62.0"
GEM_VERSION = "0.63.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.18.0"

# Revision of the discovery document this client was generated from
REVISION = "20250723"
REVISION = "20251015"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
collection :forward_headers, as: 'forwardHeaders'
hash :metadata, as: 'metadata'
property :name, as: 'name'
property :request_body_send_mode, as: 'requestBodySendMode'
property :response_body_send_mode, as: 'responseBodySendMode'
property :service, as: 'service'
collection :supported_events, as: 'supportedEvents'
property :timeout, as: 'timeout'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
# @param [String] name
# The resource that owns the locations collection, if applicable.
# @param [Array<String>, String] extra_location_types
# Optional. A list of extra location types that should be used as conditions for
# controlling the visibility of the locations.
# Optional. Do not use this field. It is unsupported and is ignored unless
# explicitly documented otherwise. This is primarily for internal usage.
# @param [String] filter
# A filter to narrow down results to a preferred subset. The filtering language
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
Expand Down