Skip to content

Google: Patch the specified send-as alias For more information, see Manage aliases and signatures with the Gmail API (https: developers google com workspace gmail api guides alias and signature settings) — request body — body smtp Msa

Patch the specified send-as alias. For more information, see [Manage aliases and signatures with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/alias_and_signature_settings).: request body, field body / smtpMsa. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Patch the specified send-as alias For more information, see Manage aliases and signatures with the Gmail API (https: developers google com workspace gmail api guides alias and signature settings) — request body — body smtp Msa

FieldTypePresenceDescription and constraints
$objectRootConfiguration for communication with an SMTP service.
hoststringOptionalThe hostname of the SMTP service. Required.
passwordstringOptionalThe password that will be used for authentication with the SMTP service. This is a write-only field that can be specified in requests to create or update SendAs settings; it is never populated in responses.
portintegerOptionalThe port of the SMTP service. Required.
Format: int32
securityModestringOptionalThe protocol that will be used to secure communication with the SMTP service. Required.
One of: securityModeUnspecified, none, ssl, starttls
usernamestringOptionalThe username that will be used for authentication with the SMTP service. This is a write-only field that can be specified in requests to create or update SendAs settings; it is never populated in responses.

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.