class UsersSettingsSendAsSmimeInfo extends Resource (View source)

The "smimeInfo" collection of methods.

Typical usage is:

 $gmailService = new Google\Service\Gmail(...);
 $smimeInfo = $gmailService->users_settings_sendAs_smimeInfo;

Methods

delete(string $userId, string $sendAsEmail, string $id, array $optParams = [])

Deletes the specified S/MIME config for the specified send-as alias.

get(string $userId, string $sendAsEmail, string $id, array $optParams = [])

Gets the specified S/MIME config for the specified send-as alias.

insert(string $userId, string $sendAsEmail, SmimeInfo $postBody, array $optParams = [])

Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format is required for the key. (smimeInfo.insert)

listUsersSettingsSendAsSmimeInfo(string $userId, string $sendAsEmail, array $optParams = [])

Lists S/MIME configs for the specified send-as alias.

setDefault(string $userId, string $sendAsEmail, string $id, array $optParams = [])

Sets the default S/MIME config for the specified send-as alias.

Details

delete(string $userId, string $sendAsEmail, string $id, array $optParams = [])

Deletes the specified S/MIME config for the specified send-as alias.

(smimeInfo.delete)

Parameters

string $userId

The user's email address. The special value me can be used to indicate the authenticated user.

string $sendAsEmail

The email address that appears in the "From:" header for mail sent using this alias.

string $id

The immutable ID for the SmimeInfo.

array $optParams

Optional parameters.

Exceptions

Exception

SmimeInfo get(string $userId, string $sendAsEmail, string $id, array $optParams = [])

Gets the specified S/MIME config for the specified send-as alias.

(smimeInfo.get)

Parameters

string $userId

The user's email address. The special value me can be used to indicate the authenticated user.

string $sendAsEmail

The email address that appears in the "From:" header for mail sent using this alias.

string $id

The immutable ID for the SmimeInfo.

array $optParams

Optional parameters.

Return Value

SmimeInfo

Exceptions

Exception

SmimeInfo insert(string $userId, string $sendAsEmail, SmimeInfo $postBody, array $optParams = [])

Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format is required for the key. (smimeInfo.insert)

Parameters

string $userId

The user's email address. The special value me can be used to indicate the authenticated user.

string $sendAsEmail

The email address that appears in the "From:" header for mail sent using this alias.

SmimeInfo $postBody
array $optParams

Optional parameters.

Return Value

SmimeInfo

Exceptions

Exception

ListSmimeInfoResponse listUsersSettingsSendAsSmimeInfo(string $userId, string $sendAsEmail, array $optParams = [])

Lists S/MIME configs for the specified send-as alias.

(smimeInfo.listUsersSettingsSendAsSmimeInfo)

Parameters

string $userId

The user's email address. The special value me can be used to indicate the authenticated user.

string $sendAsEmail

The email address that appears in the "From:" header for mail sent using this alias.

array $optParams

Optional parameters.

Return Value

ListSmimeInfoResponse

Exceptions

Exception

setDefault(string $userId, string $sendAsEmail, string $id, array $optParams = [])

Sets the default S/MIME config for the specified send-as alias.

(smimeInfo.setDefault)

Parameters

string $userId

The user's email address. The special value me can be used to indicate the authenticated user.

string $sendAsEmail

The email address that appears in the "From:" header for mail sent using this alias.

string $id

The immutable ID for the SmimeInfo.

array $optParams

Optional parameters.

Exceptions

Exception