Class AccountsResource
The "accounts" collection of methods.
Inherited Members
Namespace: Google.Apis.MyBusinessNotificationSettings.v1
Assembly: Google.Apis.MyBusinessNotificationSettings.v1.dll
Syntax
public class AccountsResource
Constructors
AccountsResource(IClientService)
Constructs a new resource.
Declaration
public AccountsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
GetNotificationSetting(string)
Returns the pubsub notification settings for the account.
Declaration
public virtual AccountsResource.GetNotificationSettingRequest GetNotificationSetting(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the notification setting we are trying to fetch. |
Returns
Type | Description |
---|---|
AccountsResource.GetNotificationSettingRequest |
UpdateNotificationSetting(NotificationSetting, string)
Sets the pubsub notification setting for the account informing Google which topic to send pubsub notifications for. Use the notification_types field within notification_setting to manipulate the events an account wants to subscribe to. An account will only have one notification setting resource, and only one pubsub topic can be set. To delete the setting, update with an empty notification_types
Declaration
public virtual AccountsResource.UpdateNotificationSettingRequest UpdateNotificationSetting(NotificationSetting body, string name)
Parameters
Type | Name | Description |
---|---|---|
NotificationSetting | body | The body of the request. |
string | name | Required. The resource name this setting is for. This is of the form
|
Returns
Type | Description |
---|---|
AccountsResource.UpdateNotificationSettingRequest |