Class UpdateMembershipRequest
Request message for updating a membership.
Implements
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class UpdateMembershipRequest : IMessage<UpdateMembershipRequest>, IEquatable<UpdateMembershipRequest>, IDeepCloneable<UpdateMembershipRequest>, IBufferMessage, IMessage
Constructors
UpdateMembershipRequest()
Declaration
public UpdateMembershipRequest()
UpdateMembershipRequest(UpdateMembershipRequest)
Declaration
public UpdateMembershipRequest(UpdateMembershipRequest other)
Parameters
Type | Name | Description |
---|---|---|
UpdateMembershipRequest | other |
Properties
Membership
Required. The membership to update. Only fields specified by update_mask
are updated.
Declaration
public Membership Membership { get; set; }
Property Value
Type | Description |
---|---|
Membership |
UpdateMask
Required. The field paths to update. Separate multiple values with commas
or use *
to update all field paths.
Currently supported field paths:
role
Declaration
public FieldMask UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
FieldMask |
UseAdminAccess
When true
, the method runs using the user's Google Workspace
administrator privileges.
The calling user must be a Google Workspace administrator with the manage chat and spaces conversations privilege.
Requires the chat.admin.memberships
OAuth 2.0
scope.
Declaration
public bool UseAdminAccess { get; set; }
Property Value
Type | Description |
---|---|
bool |