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

title: compute beta CallCredentials 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
  accessToken:
    description: |-
      The access token that is used as call credential for the SDS server. This
      field is used only if callCredentialType is ACCESS_TOKEN.
    type: string
  callCredentialType:
    description: |-
      The type of call credentials to use for GRPC requests to the SDS server.
      This field can be set to one of the following:
    type: string
    enum:
    - ACCESS_TOKEN
    - FROM_PLUGIN
    - GCE_VM
    - INVALID
    - JWT_SERVICE_ACCOUNT
  fromPlugin:
    description: Custom authenticator credentials.
    $ref: MetadataCredentialsFromPlugin.yaml
  jwtServiceAccount:
    description: |-
      This service account credentials are used as call credentials for the SDS
      server. This field is used only if callCredentialType is
      JWT_SERVICE_ACCOUNT.
    $ref: ServiceAccountJwtAccessCredentials.yaml
