Class ExtensionBinding (0.10.4)

ExtensionBinding(mapping=None, *, ignore_unknown_fields=False, **kwargs)

ExtensionBinding is a resource representing the attachment of an extension to a service.

Attributes

Name Description
name str
Identifier. Name of the ExtensionBinding resource in the following format: projects/{project}/locations/{location}/extensionBindings/{extension_binding}.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the resource was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the resource was updated.
description str
Optional. A human-readable description of the resource.
labels MutableMapping[str, str]
Optional. Set of labels associated with the ExtensionBinding resource. The format must comply with `the following requirements
etag str
Optional. Etag of the resource. If provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
producer_extension str
Required. The name of the extension that this binding should attach to target resources. Format: For Google-provided extensions, specify the service endpoint (see `Model Armor integration
target google.cloud.network_services_v1beta1.types.ExtensionBinding.Target
Required. Specifies a target to which this ExtensionBinding should be attached. The target can be either a single resource or a scope of resources.
match_conditions MutableSequence[google.cloud.network_services_v1beta1.types.ExtensionBinding.MatchCondition]
Optional. A list of match conditions to match against the incoming request. The extension will be invoked if at least one condition matches the request, or if no match conditions are specified. Limited to 5 conditions.
fail_open bool
Optional. Determines the behavior of the extension binding when the call to the extension fails or times out. Default value is FALSE. When set to TRUE, failures of the extension are silently ignored.
producer_metadata MutableMapping[str, str]
Optional. Additional metadata that should be passed to the attached extension with each request.
priority int
Optional. Priority of the extension binding. Lower numbers indicate higher priority. Priority of extension bindings are used to determine the order in which extension bindings are applied to a request.

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

MatchCondition

MatchCondition(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Conditions to match against the incoming request.

ProducerMetadataEntry

ProducerMetadataEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

Target

Target(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specifies a list of targets to which this ExtensionBinding should attach.