diff --git a/api_names_out.yaml b/api_names_out.yaml index dfd53947380..5acd84c7518 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 diff --git a/generated/google-apis-networkservices_v1/CHANGELOG.md b/generated/google-apis-networkservices_v1/CHANGELOG.md index 2cfa8d8db1e..329f436c3e1 100644 --- a/generated/google-apis-networkservices_v1/CHANGELOG.md +++ b/generated/google-apis-networkservices_v1/CHANGELOG.md @@ -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 diff --git a/generated/google-apis-networkservices_v1/lib/google/apis/networkservices_v1/classes.rb b/generated/google-apis-networkservices_v1/lib/google/apis/networkservices_v1/classes.rb index c1020c8a730..02e76978b8b 100644 --- a/generated/google-apis-networkservices_v1/lib/google/apis/networkservices_v1/classes.rb +++ b/generated/google-apis-networkservices_v1/lib/google/apis/networkservices_v1/classes.rb @@ -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] 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/ @@ -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] attr_accessor :supported_events @@ -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) diff --git a/generated/google-apis-networkservices_v1/lib/google/apis/networkservices_v1/gem_version.rb b/generated/google-apis-networkservices_v1/lib/google/apis/networkservices_v1/gem_version.rb index 674709ec6d1..23ffe203bee 100644 --- a/generated/google-apis-networkservices_v1/lib/google/apis/networkservices_v1/gem_version.rb +++ b/generated/google-apis-networkservices_v1/lib/google/apis/networkservices_v1/gem_version.rb @@ -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 diff --git a/generated/google-apis-networkservices_v1/lib/google/apis/networkservices_v1/representations.rb b/generated/google-apis-networkservices_v1/lib/google/apis/networkservices_v1/representations.rb index a4bd6f49391..5fed7336e4d 100644 --- a/generated/google-apis-networkservices_v1/lib/google/apis/networkservices_v1/representations.rb +++ b/generated/google-apis-networkservices_v1/lib/google/apis/networkservices_v1/representations.rb @@ -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' diff --git a/generated/google-apis-networkservices_v1/lib/google/apis/networkservices_v1/service.rb b/generated/google-apis-networkservices_v1/lib/google/apis/networkservices_v1/service.rb index 55a85a34a68..54e5b9f80ba 100644 --- a/generated/google-apis-networkservices_v1/lib/google/apis/networkservices_v1/service.rb +++ b/generated/google-apis-networkservices_v1/lib/google/apis/networkservices_v1/service.rb @@ -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] 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