Reference documentation and code samples for the Google Apps Chat V1 Client class UpdateMembershipRequest.
Request message for updating a membership.
Generated from protobuf message google.chat.v1.UpdateMembershipRequest
Namespace
Google \ Apps \ Chat \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ membership
↳ update_mask
Google\Protobuf\FieldMask
Required. The field paths to update. Separate multiple values with commas or use *
to update all field paths. Currently supported field paths: - role
↳ use_admin_access
bool
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
.
getMembership
Required. The membership to update. Only fields specified by update_mask
are updated.
hasMembership
clearMembership
setMembership
Required. The membership to update. Only fields specified by update_mask
are updated.
$this
getUpdateMask
Required. The field paths to update. Separate multiple values with commas
or use *
to update all field paths.
Currently supported field paths:
-
role
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. The field paths to update. Separate multiple values with commas
or use *
to update all field paths.
Currently supported field paths:
-
role
$this
getUseAdminAccess
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
.
bool
setUseAdminAccess
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
.
var
bool
$this
static::build
membership
updateMask
Google\Protobuf\FieldMask
Required. The field paths to update. Separate multiple values with commas
or use *
to update all field paths.
Currently supported field paths:
-
role