The "settings" collection of methods. Typical usage is:
$gmailService = new Google_Service_Gmail(...);
$settings = $gmailService->settings;
Methods summary
public
Google_Service_Gmail_AutoForwarding
|
#
getAutoForwarding( string $userId, array $optParams = array() )
Gets the auto-forwarding setting for the specified account.
(settings.getAutoForwarding)
Gets the auto-forwarding setting for the specified account.
(settings.getAutoForwarding)
Parameters
- $userId
- User's email address. The special value "me" can be used to indicate the
authenticated user.
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Gmail_ImapSettings
|
#
getImap( string $userId, array $optParams = array() )
Gets IMAP settings. (settings.getImap)
Gets IMAP settings. (settings.getImap)
Parameters
- $userId
- User's email address. The special value "me" can be used to indicate the
authenticated user.
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Gmail_LanguageSettings
|
#
getLanguage( string $userId, array $optParams = array() )
Gets language settings. (settings.getLanguage)
Gets language settings. (settings.getLanguage)
Parameters
- $userId
- User's email address. The special value "me" can be used to indicate the
authenticated user.
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Gmail_PopSettings
|
#
getPop( string $userId, array $optParams = array() )
Gets POP settings. (settings.getPop)
Gets POP settings. (settings.getPop)
Parameters
- $userId
- User's email address. The special value "me" can be used to indicate the
authenticated user.
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Gmail_VacationSettings
|
#
getVacation( string $userId, array $optParams = array() )
Gets vacation responder settings. (settings.getVacation)
Gets vacation responder settings. (settings.getVacation)
Parameters
- $userId
- User's email address. The special value "me" can be used to indicate the
authenticated user.
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Gmail_AutoForwarding
|
#
updateAutoForwarding( string $userId, Google_Service_Gmail_AutoForwarding $postBody, array $optParams = array() )
Updates the auto-forwarding setting for the specified account. A verified
forwarding address must be specified when auto-forwarding is enabled.
Updates the auto-forwarding setting for the specified account. A verified
forwarding address must be specified when auto-forwarding is enabled.
This method is only available to service account clients that have been
delegated domain-wide authority. (settings.updateAutoForwarding)
Parameters
- $userId
- User's email address. The special value "me" can be used to indicate the
authenticated user.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Gmail_ImapSettings
|
#
updateImap( string $userId, Google_Service_Gmail_ImapSettings $postBody, array $optParams = array() )
Updates IMAP settings. (settings.updateImap)
Updates IMAP settings. (settings.updateImap)
Parameters
- $userId
- User's email address. The special value "me" can be used to indicate the
authenticated user.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Gmail_LanguageSettings
|
#
updateLanguage( string $userId, Google_Service_Gmail_LanguageSettings $postBody, array $optParams = array() )
Updates language settings.
Updates language settings.
If successful, the return object contains the displayLanguage that was saved
for the user, which may differ from the value passed into the request. This is
because the requested displayLanguage may not be directly supported by Gmail but
have a close variant that is, and so the variant may be chosen and saved
instead. (settings.updateLanguage)
Parameters
- $userId
- User's email address. The special value "me" can be used to indicate the
authenticated user.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Gmail_PopSettings
|
#
updatePop( string $userId, Google_Service_Gmail_PopSettings $postBody, array $optParams = array() )
Updates POP settings. (settings.updatePop)
Updates POP settings. (settings.updatePop)
Parameters
- $userId
- User's email address. The special value "me" can be used to indicate the
authenticated user.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Gmail_VacationSettings
|
#
updateVacation( string $userId, Google_Service_Gmail_VacationSettings $postBody, array $optParams = array() )
Updates vacation responder settings. (settings.updateVacation)
Updates vacation responder settings. (settings.updateVacation)
Parameters
- $userId
- User's email address. The special value "me" can be used to indicate the
authenticated user.
- $postBody
- $optParams
- Optional parameters.
Returns
|