Class Google_Service_Directory_Notifications_Resource
The "notifications" collection of methods. Typical usage is:
$adminService = new Google_Service_Directory(...);
$notifications = $adminService->notifications;
-
Google_Service_Resource
-
Google_Service_Directory_Notifications_Resource
Located at Directory.php
Methods summary
public
|
#
delete( string $customer, string $notificationId, array $optParams = array() )
Deletes a notification (notifications.delete)
Deletes a notification (notifications.delete)
Parameters
- $customer
- The unique ID for the customer's G Suite account. The customerId is also
returned as part of the Users resource.
- $notificationId
- The unique ID of the notification.
- $optParams
- Optional parameters.
|
public
Google_Service_Directory_Notification
|
#
get( string $customer, string $notificationId, array $optParams = array() )
Retrieves a notification. (notifications.get)
Retrieves a notification. (notifications.get)
Parameters
- $customer
- The unique ID for the customer's G Suite account. The customerId is also
returned as part of the Users resource.
- $notificationId
- The unique ID of the notification.
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Directory_Notifications
|
#
listNotifications( string $customer, array $optParams = array() )
Retrieves a list of notifications. (notifications.listNotifications)
Retrieves a list of notifications. (notifications.listNotifications)
Parameters
- $customer
- The unique ID for the customer's G Suite account.
- $optParams
- Optional parameters.
Returns
Opt_param
string language The ISO 639-1 code of the language notifications are returned
in. The default is English (en).
string maxResults Maximum number of notifications to return per page. The
default is 100.
string pageToken The token to specify the page of results to retrieve.
|
public
Google_Service_Directory_Notification
|
#
patch( string $customer, string $notificationId, Google_Service_Directory_Notification $postBody, array $optParams = array() )
Updates a notification. This method supports patch semantics.
(notifications.patch)
Updates a notification. This method supports patch semantics.
(notifications.patch)
Parameters
- $customer
- The unique ID for the customer's G Suite account.
- $notificationId
- The unique ID of the notification.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Directory_Notification
|
#
update( string $customer, string $notificationId, Google_Service_Directory_Notification $postBody, array $optParams = array() )
Updates a notification. (notifications.update)
Updates a notification. (notifications.update)
Parameters
- $customer
- The unique ID for the customer's G Suite account.
- $notificationId
- The unique ID of the notification.
- $postBody
- $optParams
- Optional parameters.
Returns
|