GmailFilter
Use with GmailFilter
Section titled “Use with GmailFilter”Support Using Service Accounts or Using Application Default Credentials.
Example:
# Using Service Accountsexport GOOGLE_CREDENTIALS=/path/to/client_secret.jsonexport IMPERSONATED_USER_EMAIL="foobar@example.com"
# Using Application Default Credentialsgcloud auth application-default login \ --client-id-file=client_secret.json \ --scopes \https://www.googleapis.com/auth/gmail.labels,\https://www.googleapis.com/auth/gmail.settings.basic
./terraformer import gmailfilter -r=filter,labelList of supported GmailFilter resources:
filtergmailfilter_filter
labelgmailfilter_label