Google Apps Chat V1 Client - Class PermissionSettings (0.6.1)

Reference documentation and code samples for the Google Apps Chat V1 Client class PermissionSettings.

Permission settings that you can specify when updating an existing named space.

To set permission settings when creating a space, specify the PredefinedPermissionSettings field in your request.

Generated from protobuf message google.chat.v1.Space.PermissionSettings

Namespace

Google \ Apps \ Chat \ V1 \ Space

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ manage_members_and_groups PermissionSetting

Setting for managing members and groups in a space.

↳ modify_space_details PermissionSetting

Setting for updating space name, avatar, description and guidelines.

↳ toggle_history PermissionSetting

Setting for toggling space history on and off.

↳ use_at_mention_all PermissionSetting

Setting for using @all in a space.

↳ manage_apps PermissionSetting

Setting for managing apps in a space.

↳ manage_webhooks PermissionSetting

Setting for managing webhooks in a space.

↳ post_messages PermissionSetting

Output only. Setting for posting messages in a space.

↳ reply_messages PermissionSetting

Setting for replying to messages in a space.

getManageMembersAndGroups

Setting for managing members and groups in a space.

Returns
Type Description
PermissionSetting|null

hasManageMembersAndGroups

clearManageMembersAndGroups

setManageMembersAndGroups

Setting for managing members and groups in a space.

Parameter
Name Description
var PermissionSetting
Returns
Type Description
$this

getModifySpaceDetails

Setting for updating space name, avatar, description and guidelines.

Returns
Type Description
PermissionSetting|null

hasModifySpaceDetails

clearModifySpaceDetails

setModifySpaceDetails

Setting for updating space name, avatar, description and guidelines.

Parameter
Name Description
var PermissionSetting
Returns
Type Description
$this

getToggleHistory

Setting for toggling space history on and off.

Returns
Type Description
PermissionSetting|null

hasToggleHistory

clearToggleHistory

setToggleHistory

Setting for toggling space history on and off.

Parameter
Name Description
var PermissionSetting
Returns
Type Description
$this

getUseAtMentionAll

Setting for using @all in a space.

Returns
Type Description
PermissionSetting|null

hasUseAtMentionAll

clearUseAtMentionAll

setUseAtMentionAll

Setting for using @all in a space.

Parameter
Name Description
var PermissionSetting
Returns
Type Description
$this

getManageApps

Setting for managing apps in a space.

Returns
Type Description
PermissionSetting|null

hasManageApps

clearManageApps

setManageApps

Setting for managing apps in a space.

Parameter
Name Description
var PermissionSetting
Returns
Type Description
$this

getManageWebhooks

Setting for managing webhooks in a space.

Returns
Type Description
PermissionSetting|null

hasManageWebhooks

clearManageWebhooks

setManageWebhooks

Setting for managing webhooks in a space.

Parameter
Name Description
var PermissionSetting
Returns
Type Description
$this

getPostMessages

Output only. Setting for posting messages in a space.

Returns
Type Description
PermissionSetting|null

hasPostMessages

clearPostMessages

setPostMessages

Output only. Setting for posting messages in a space.

Parameter
Name Description
var PermissionSetting
Returns
Type Description
$this

getReplyMessages

Setting for replying to messages in a space.

Returns
Type Description
PermissionSetting|null

hasReplyMessages

clearReplyMessages

setReplyMessages

Setting for replying to messages in a space.

Parameter
Name Description
var PermissionSetting
Returns
Type Description
$this