public class MyBusinessNotificationSettings.Accounts extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
MyBusinessNotificationSettings.Accounts.GetNotificationSetting |
class |
MyBusinessNotificationSettings.Accounts.UpdateNotificationSetting |
| Constructor and Description |
|---|
Accounts() |
| Modifier and Type | Method and Description |
|---|---|
MyBusinessNotificationSettings.Accounts.GetNotificationSetting |
getNotificationSetting(String name)
Returns the pubsub notification settings for the account.
|
MyBusinessNotificationSettings.Accounts.UpdateNotificationSetting |
updateNotificationSetting(String name,
NotificationSetting content)
Sets the pubsub notification setting for the account informing Google which topic to send pubsub
notifications for.
|
public MyBusinessNotificationSettings.Accounts.GetNotificationSetting getNotificationSetting(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the
remote operation.name - Required. The resource name of the notification setting we are trying to fetch.IOExceptionpublic MyBusinessNotificationSettings.Accounts.UpdateNotificationSetting updateNotificationSetting(String name, NotificationSetting content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke
the remote operation.name - Required. The resource name this setting is for. This is of the form
`accounts/{account_id}/notificationSetting`.content - the NotificationSettingIOExceptionCopyright © 2011–2023 Google. All rights reserved.