Show / Hide Table of Contents

Class AccountsResource

The "accounts" collection of methods.

Inheritance
object
AccountsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 accounts/{account_id}/notificationSetting.

Returns
Type Description
AccountsResource.UpdateNotificationSettingRequest
In this article
Back to top Generated by DocFX