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) — response 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).: response body, field 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) — response 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.
portJSONOptional
port (anyOf 1)integerAlternativeThe port of the SMTP service. Required.
Format: int32
port (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
securityModestringOptionalThe protocol that will be used to secure communication with the SMTP service. Required.
Known values: 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.