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

title: datastream v1 UserCredentials export schema
description: A gcloud export/import command YAML validation schema.
type: object
required:
- username
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
  password:
    description: |-
      Password for the Salesforce connection. Mutually exclusive with the
      `secret_manager_stored_password` field.
    type: string
  secretManagerStoredPassword:
    description: |-
      A reference to a Secret Manager resource name storing the Salesforce
      connection's password. Mutually exclusive with the `password` field.
    type: string
  secretManagerStoredSecurityToken:
    description: |-
      A reference to a Secret Manager resource name storing the Salesforce
      connection's security token. Mutually exclusive with the `security_token`
      field.
    type: string
  securityToken:
    description: |-
      Security token for the Salesforce connection. Mutually exclusive with the
      `secret_manager_stored_security_token` field.
    type: string
  username:
    description: Username for the Salesforce connection.
    type: string
