HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/396/lib/googlecloudsdk/schemas/networkservices/v1/LbTrafficExtension.yaml
$schema: "http://json-schema.org/draft-06/schema#"

title: networkservices v1 LbTrafficExtension export schema
description: A gcloud export/import command YAML validation schema.
type: object
required:
- extensionChains
- forwardingRules
- loadBalancingScheme
- name
additionalProperties: false
properties:
  COMMENT:
    type: object
    description: User specified info ignored by gcloud import.
    additionalProperties: false
    properties:
      template-id:
        type: string
      region:
        type: string
      description:
        type: string
      date:
        type: string
      version:
        type: string
  UNKNOWN:
    type: array
    description: Unknown API fields that cannot be imported.
    items:
      type: string
  description:
    description: A human-readable description of the resource.
    type: string
  extensionChains:
    description: |-
      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.
    type: array
    items:
      $ref: ExtensionChain.yaml
  forwardingRules:
    description: |-
      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.
    type: array
    items:
      type: string
  labels:
    description: |-
      Set of labels associated with the `LbTrafficExtension` resource.
      The format must comply with [the requirements for
      labels](https://cloud.google.com/compute/docs/labeling-
      resources#requirements) for Google Cloud resources.
    $ref: LabelsValue.yaml
  loadBalancingScheme:
    description: |-
      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 [Backend services
      overview](https://cloud.google.com/load-balancing/docs/backend-
      service).
    type: string
    enum:
    - EXTERNAL_MANAGED
    - INTERNAL_MANAGED
    - LOAD_BALANCING_SCHEME_UNSPECIFIED
  metadata:
    description: |-
      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.
    type: object
  name:
    description: |-
      Identifier. Name of the `LbTrafficExtension` resource in the
      following format:
      `projects/{project}/locations/{location}/lbTraffic
      Extensions/{lb_traffic_extension}`.
    type: string