Class UsersResource.SpacesResource.SpaceNotificationSettingResource.PatchRequest
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
Inheritance
UsersResource.SpacesResource.SpaceNotificationSettingResource.PatchRequest
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class UsersResource.SpacesResource.SpaceNotificationSettingResource.PatchRequest : HangoutsChatBaseServiceRequest<SpaceNotificationSetting>, IClientServiceRequest<SpaceNotificationSetting>, IClientServiceRequest
Constructors
PatchRequest(IClientService, SpaceNotificationSetting, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, SpaceNotificationSetting body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SpaceNotificationSetting | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Identifier. The resource name of the space notification setting. Format:
users/{user}/spaces/{space}/spaceNotificationSetting
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UpdateMask
Required. Supported field paths: - notification_setting
- mute_setting
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()