GoogleApi.NetworkServices.V1.Model.LbTrafficExtension (google_api_network_services v0.11.0)

View Source

LbTrafficExtension is a resource that lets the extension service modify the headers and payloads of both requests and responses without impacting the choice of backend services or any other security policies associated with the backend service.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The timestamp when the resource was created.
  • description (type: String.t, default: nil) - Optional. A human-readable description of the resource.
  • extensionChains (type: list(GoogleApi.NetworkServices.V1.Model.ExtensionChain.t), default: nil) - 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.
  • forwardingRules (type: list(String.t), default: nil) - Optional. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. There can be only one LBTrafficExtension resource per forwarding rule.
  • labels (type: map(), default: nil) - Optional. Set of labels associated with the LbTrafficExtension resource. The format must comply with the requirements for labels for Google Cloud resources.
  • loadBalancingScheme (type: String.t, default: nil) - Required. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: INTERNAL_MANAGED and EXTERNAL_MANAGED. For more information, refer to Backend services overview.
  • metadata (type: map(), default: nil) - Optional. The metadata provided here is included in the ProcessingRequest.metadata_context.filter_metadata map field. The metadata is available under the key com.google.lb_traffic_extension.. The following variables are supported in the metadata: {forwarding_rule_id} - substituted with the forwarding rule's fully qualified resource name. This field is not supported for plugin extensions. Setting it results in a validation error.
  • name (type: String.t, default: nil) - Required. Identifier. Name of the LbTrafficExtension resource in the following format: projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}.
  • updateTime (type: DateTime.t, default: nil) - Output only. The timestamp when the resource was updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkServices.V1.Model.LbTrafficExtension{
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  extensionChains:
    [GoogleApi.NetworkServices.V1.Model.ExtensionChain.t()] | nil,
  forwardingRules: [String.t()] | nil,
  labels: map() | nil,
  loadBalancingScheme: String.t() | nil,
  metadata: map() | nil,
  name: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.