Full name: projects.locations.instances.legacySoarSettings.legacyTestEmailSettings
legacySoarSettings.legacyTestEmailSettings tests the email settings.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The instance to get the test email settings for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "senderDisplayName": string, "senderEmailAddress": string, "username": string, "password": string, "smtpServerAddress": string, "mailServerProvider": string, "azureClientId": string, "azureTenantId": string, "siemplifySmtp": boolean, "isRequireAuthentication": boolean, "smtpPort": integer, "useOauthToken": boolean, "useSsl": boolean, "trustCertificate": boolean } |
Fields | |
---|---|
senderDisplayName |
Optional. The sender display name. |
senderEmailAddress |
Required. The sender email address. |
username |
Optional. The username. |
password |
Optional. The password. |
smtpServerAddress |
Required. The smtp server address. |
mailServerProvider |
Optional. The mail server provider. |
azureClientId |
Optional. The azure client id. |
azureTenantId |
Optional. The azure tenant id. |
siemplifySmtp |
Optional. Whether siemplify smtp is enabled. |
isRequireAuthentication |
Optional. Whether authentication is required. |
smtpPort |
Optional. The smtp port. |
useOauthToken |
Optional. Whether to use oauth token. |
useSsl |
Optional. Whether to use ssl. |
trustCertificate |
Optional. Whether to trust certificate. |
Response body
Response message for LegacySoarSettingService.LegacyTestEmailSettings.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "errorMessage": string, "isSuccessful": boolean } |
Fields | |
---|---|
errorMessage |
Output only. The error message. |
isSuccessful |
Output only. Whether the email was successful. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.