$schema: "http://json-schema.org/draft-06/schema#"

title: networkservices v1beta1 LbTcpExtension export schema
description: A gcloud export/import command YAML validation schema.
type: object
required:
- extensionChains
- 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
  labels:
    description: |-
      Set of labels associated with the `LbTcpExtension` resource. The
      format must comply with [the requirements for
      labels](/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`. 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
  name:
    description: |-
      Identifier. Name of the `LbTcpExtension` resource in the following
      format: `projects/{project}/locations/{location}/LbTcpExtensio
      n/{lb_tcp_extension}`
    type: string
  networks:
    description: |-
      If set, this `LbTcpExtension` resource applies to all `ForwardingRule`
      resources in these VPC networks. Values should be relative resource
      names identifying VPC networks, for example
      `projects/*/global/networks/network-1`. Currently limited to 1 network
      per resource. Limited to 1 network per resource.
    type: array
    items:
      type: string
