@@ -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
0 commit comments