CData Python Connector for Gmail

Build 25.0.9454

SendAsAliasSmimeInfo

Query, create or delete s/mime email configurations.

Table Specific Information

Query the available SendAsAliasSmimeInfo.

SELECT

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/gmail.settings.basic

The driver uses the GMail REST API to process search criteria that refer to the Id and SendAsEmail columns. The driver processes other filters client-side within the driver.

  • Id supports the '=' operator.
  • SendAsEmail supports the '=' operator.

For example, the following queries are processed server-side:

SELECT * FROM SendAsAliasSmimeInfo WHERE ID = 123

INSERT

This method is only available to service account clients that have been delegated domain-wide authority.

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/gmail.settings.sharing

DELETE

This method is only available to service account clients that have been delegated domain-wide authority.

Requires the following OAuth scopes:

  • https://www.googleapis.com/auth/gmail.settings.basic
  • https://www.googleapis.com/auth/gmail.settings.sharing

Columns

Name Type ReadOnly References Description
Id [KEY] String False

The immutable ID for the SmimeInfo.

SendAsEmail [KEY] String False

he email address that appears in the From header for mail sent using this alias.

IssuerCn String False

The S/MIME certificate issuer's common name.

IsDefault Bool False

Whether this SmimeInfo is the default one for this user's send-as address.

Expiration Datetime False

When the certificate expires

EncryptedKeyPassword String False

Encrypted key password, when key is encrypted.

Pem String False

PEM formatted X509 concatenated certificate string (standard base64 encoding). Format used for returning key, which includes public key as well as certificate chain (not private key).

Pkcs12 String False

PKCS#12 format containing a single private/public key pair and certificate chain. This format is only accepted from client for creating a new SmimeInfo and is never returned, because the private key is not intended to be exported. PKCS#12 may be encrypted, in which case encryptedKeyPassword should be set appropriately. A base64-encoded string.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454