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

title: datastream v1 Oauth2ClientCredentials export schema
description: A gcloud export/import command YAML validation schema.
type: object
required:
- clientId
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
  clientId:
    description: Client ID for Salesforce OAuth2 Client Credentials.
    type: string
  clientSecret:
    description: |-
      Client secret for Salesforce OAuth2 Client Credentials. Mutually exclusive
      with the `secret_manager_stored_client_secret` field.
    type: string
  secretManagerStoredClientSecret:
    description: |-
      A reference to a Secret Manager resource name storing the Salesforce
      OAuth2 client_secret. Mutually exclusive with the `client_secret` field.
    type: string
