Google Apps Chat V1 Client - Class PermissionSettings (0.7.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

Optional. Setting for managing members and groups in a space.

↳ modify_space_details PermissionSetting

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

↳ toggle_history PermissionSetting

Optional. Setting for toggling space history on and off.

↳ use_at_mention_all PermissionSetting

Optional. Setting for using @all in a space.

↳ manage_apps PermissionSetting

Optional. Setting for managing apps in a space.

↳ manage_webhooks PermissionSetting

Optional. Setting for managing webhooks in a space.

↳ post_messages PermissionSetting

Output only. Setting for posting messages in a space.

↳ reply_messages PermissionSetting

Optional. Setting for replying to messages in a space.

getManageMembersAndGroups

Optional. Setting for managing members and groups in a space.

Returns
Type Description
PermissionSetting|null

hasManageMembersAndGroups

clearManageMembersAndGroups

setManageMembersAndGroups

Optional. Setting for managing members and groups in a space.

Parameter
Name Description
var PermissionSetting
Returns
Type Description
$this

getModifySpaceDetails

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

Returns
Type Description
PermissionSetting|null

hasModifySpaceDetails

clearModifySpaceDetails

setModifySpaceDetails

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

Parameter
Name Description
var PermissionSetting
Returns
Type Description
$this

getToggleHistory

Optional. Setting for toggling space history on and off.

Returns
Type Description
PermissionSetting|null

hasToggleHistory

clearToggleHistory

setToggleHistory

Optional. Setting for toggling space history on and off.

Parameter
Name Description
var PermissionSetting
Returns
Type Description
$this

getUseAtMentionAll

Optional. Setting for using @all in a space.

Returns
Type Description
PermissionSetting|null

hasUseAtMentionAll

clearUseAtMentionAll

setUseAtMentionAll

Optional. Setting for using @all in a space.

Parameter
Name Description
var PermissionSetting
Returns
Type Description
$this

getManageApps

Optional. Setting for managing apps in a space.

Returns
Type Description
PermissionSetting|null

hasManageApps

clearManageApps

setManageApps

Optional. Setting for managing apps in a space.

Parameter
Name Description
var PermissionSetting
Returns
Type Description
$this

getManageWebhooks

Optional. Setting for managing webhooks in a space.

Returns
Type Description
PermissionSetting|null

hasManageWebhooks

clearManageWebhooks

setManageWebhooks

Optional. 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

Optional. Setting for replying to messages in a space.

Returns
Type Description
PermissionSetting|null

hasReplyMessages

clearReplyMessages

setReplyMessages

Optional. Setting for replying to messages in a space.

Parameter
Name Description
var PermissionSetting
Returns
Type Description
$this