Subscriptions
class Subscriptions extends Resource (View source)
The "subscriptions" collection of methods.
Typical usage is:
$workspaceeventsService = new Google\Service\WorkspaceEvents(...);
$subscriptions = $workspaceeventsService->subscriptions; Methods
Developer Preview: Creates a Google Workspace subscription. To learn how to use this method, see Create a Google Workspace subscription. (subscriptions.create)
Developer Preview: Deletes a Google Workspace subscription. To learn how to use this method, see Delete a Google Workspace subscription. (subscriptions.delete)
Developer Preview: Gets details about a Google Workspace subscription. To learn how to use this method, see Get details about a Google Workspace subscription. (subscriptions.get)
Developer Preview: Lists Google Workspace subscriptions. To learn how to use this method, see List Google Workspace subscriptions. (subscriptions.listSubscriptions)
Developer Preview: Updates or renews a Google Workspace subscription. To learn how to use this method, see Update or renew a Google Workspace subscription. (subscriptions.patch)
Developer Preview:
Reactivates a suspended Google Workspace subscription. This method resets
your subscription's State field to ACTIVE. Before you use this method,
you must fix the error that suspended the subscription. To learn how to use
this method, see Reactivate a Google Workspace subscription.
Details
Operation
create(Subscription $postBody, array $optParams = [])
Developer Preview: Creates a Google Workspace subscription. To learn how to use this method, see Create a Google Workspace subscription. (subscriptions.create)
Operation
delete(string $name, array $optParams = [])
Developer Preview: Deletes a Google Workspace subscription. To learn how to use this method, see Delete a Google Workspace subscription. (subscriptions.delete)
Subscription
get(string $name, array $optParams = [])
Developer Preview: Gets details about a Google Workspace subscription. To learn how to use this method, see Get details about a Google Workspace subscription. (subscriptions.get)
ListSubscriptionsResponse
listSubscriptions(array $optParams = [])
Developer Preview: Lists Google Workspace subscriptions. To learn how to use this method, see List Google Workspace subscriptions. (subscriptions.listSubscriptions)
Operation
patch(string $name, Subscription $postBody, array $optParams = [])
Developer Preview: Updates or renews a Google Workspace subscription. To learn how to use this method, see Update or renew a Google Workspace subscription. (subscriptions.patch)
Operation
reactivate(string $name, ReactivateSubscriptionRequest $postBody, array $optParams = [])
Developer Preview:
Reactivates a suspended Google Workspace subscription. This method resets
your subscription's State field to ACTIVE. Before you use this method,
you must fix the error that suspended the subscription. To learn how to use
this method, see Reactivate a Google Workspace subscription.
(subscriptions.reactivate)