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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Configuration for communication with an SMTP service. |
host | string | Optional | The hostname of the SMTP service. Required. |
password | string | Optional | The 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. |
port | JSON | Optional | |
port (anyOf 1) | integer | Alternative | The port of the SMTP service. Required. Format: int32 |
port (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
securityMode | string | Optional | The protocol that will be used to secure communication with the SMTP service. Required. Known values: securityModeUnspecified, none, ssl, starttls |
username | string | Optional | The 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. |