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

title: compute v1 BackendServiceLocalityLoadBalancingPolicyConfigPolicy export schema
description: A gcloud export/import command YAML validation schema.
type: object
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
  name:
    description: |-
      The name of a locality load-balancing policy. Valid values include
      ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about
      these values, see the description of localityLbPolicy. Do not specify the
      same policy more than once for a backend. If you do, the configuration is
      rejected.
    type: string
    enum:
    - INVALID_LB_POLICY
    - LEAST_REQUEST
    - MAGLEV
    - ORIGINAL_DESTINATION
    - RANDOM
    - RING_HASH
    - ROUND_ROBIN
    - WEIGHTED_MAGLEV
    - WEIGHTED_ROUND_ROBIN
