Class UsersResource.SpacesResource.SpaceNotificationSettingResource
The "spaceNotificationSetting" collection of methods.
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class UsersResource.SpacesResource.SpaceNotificationSettingResource
Constructors
SpaceNotificationSettingResource(IClientService)
Constructs a new resource.
Declaration
public SpaceNotificationSettingResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(string)
Gets the space notification setting. For an example, see Get the caller's space notification
setting. Requires
user authentication
with the authorization
scope: -
https://www.googleapis.com/auth/chat.users.spacesettings
Declaration
public virtual UsersResource.SpacesResource.SpaceNotificationSettingResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Format: users/{user}/spaces/{space}/spaceNotificationSetting -
|
Returns
Type | Description |
---|---|
UsersResource.SpacesResource.SpaceNotificationSettingResource.GetRequest |
Patch(SpaceNotificationSetting, string)
Updates the space notification setting. For an example, see Update the caller's space notification
setting. Requires
user authentication
with the authorization
scope: -
https://www.googleapis.com/auth/chat.users.spacesettings
Declaration
public virtual UsersResource.SpacesResource.SpaceNotificationSettingResource.PatchRequest Patch(SpaceNotificationSetting body, string name)
Parameters
Type | Name | Description |
---|---|---|
SpaceNotificationSetting | body | The body of the request. |
string | name | Identifier. The resource name of the space notification setting. Format:
|
Returns
Type | Description |
---|---|
UsersResource.SpacesResource.SpaceNotificationSettingResource.PatchRequest |