class Settings extends Resource (View source)

The "settings" collection of methods.

Typical usage is:

 $calendarService = new Google\Service\Calendar(...);
 $settings = $calendarService->settings;

Methods

get(string $setting, array $optParams = [])

Returns a single user setting. (settings.get)

listSettings(array $optParams = [])

Returns all user settings for the authenticated user. (settings.listSettings)

watch(Channel $postBody, array $optParams = [])

Watch for changes to Settings resources. (settings.watch)

Details

Setting get(string $setting, array $optParams = [])

Returns a single user setting. (settings.get)

Parameters

string $setting

The id of the user setting.

array $optParams

Optional parameters.

Return Value

Setting

Exceptions

Exception

Settings listSettings(array $optParams = [])

Returns all user settings for the authenticated user. (settings.listSettings)

Parameters

array $optParams

Optional parameters.

Return Value

Settings

Exceptions

Exception

Channel watch(Channel $postBody, array $optParams = [])

Watch for changes to Settings resources. (settings.watch)

Parameters

Channel $postBody
array $optParams

Optional parameters.

Return Value

Channel

Exceptions

Exception