Class LbRouteExtension (0.5.12)

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

LbRouteExtension is a resource that lets you control where traffic is routed to for a given request.

Attributes

Name Description
name str
Required. Identifier. Name of the LbRouteExtension resource in the following format: projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}.
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 LbRouteExtension resource. The format must comply with `the requirements for labels
forwarding_rules MutableSequence[str]
Required. A list of references to the forwarding rules to which this service extension is attached to. At least one forwarding rule is required. There can be only one LbRouteExtension resource per forwarding rule.
extension_chains MutableSequence[google.cloud.network_services_v1.types.ExtensionChain]
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
load_balancing_scheme google.cloud.network_services_v1.types.LoadBalancingScheme
Required. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: INTERNAL_MANAGED, EXTERNAL_MANAGED. For more information, refer to `Choosing a load balancer
metadata google.protobuf.struct_pb2.Struct
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.lb_route_extension.. The following variables are supported in the metadata Struct: {forwarding_rule_id} - substituted with the forwarding rule's fully qualified resource name.

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.