Skip to content

Latest commit

 

History

History
69 lines (50 loc) · 1.84 KB

source_gmail.md

File metadata and controls

69 lines (50 loc) · 1.84 KB
page_title subcategory description
airbyte_source_gmail Resource - terraform-provider-airbyte
SourceGmail Resource

airbyte_source_gmail (Resource)

SourceGmail Resource

Example Usage

resource "airbyte_source_gmail" "my_source_gmail" {
  configuration = {
    client_id              = "...my_client_id..."
    client_refresh_token   = "...my_client_refresh_token..."
    client_secret          = "...my_client_secret..."
    include_spam_and_trash = true
  }
  definition_id = "7955e0e4-3651-43bd-aa0d-851fff1510aa"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "91cf70dd-2922-4ba3-aa00-75c581c84b39"
}

Schema

Required

  • configuration (Attributes) (see below for nested schema)
  • name (String) Name of the source e.g. dev-mysql-instance.
  • workspace_id (String)

Optional

  • definition_id (String) The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
  • secret_id (String) Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.

Read-Only

  • created_at (Number)
  • source_id (String)
  • source_type (String)

Nested Schema for configuration

Required:

  • client_id (String, Sensitive)
  • client_refresh_token (String, Sensitive)
  • client_secret (String, Sensitive)

Optional:

  • include_spam_and_trash (Boolean) Include drafts/messages from SPAM and TRASH in the results. Defaults to false. Default: false

Import

Import is supported using the following syntax:

terraform import airbyte_source_gmail.my_airbyte_source_gmail ""