Google Apps Chat V1 Client - Class PermissionSettings (0.6.0)

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 Google\Apps\Chat\V1\Space\PermissionSetting

Setting for managing members and groups in a space.

↳ modify_space_details Google\Apps\Chat\V1\Space\PermissionSetting

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

↳ toggle_history Google\Apps\Chat\V1\Space\PermissionSetting

Setting for toggling space history on and off.

↳ use_at_mention_all Google\Apps\Chat\V1\Space\PermissionSetting

Setting for using @all in a space.

↳ manage_apps Google\Apps\Chat\V1\Space\PermissionSetting

Setting for managing apps in a space.

↳ manage_webhooks Google\Apps\Chat\V1\Space\PermissionSetting

Setting for managing webhooks in a space.

↳ post_messages Google\Apps\Chat\V1\Space\PermissionSetting

Output only. Setting for posting messages in a space.

↳ reply_messages Google\Apps\Chat\V1\Space\PermissionSetting

Setting for replying to messages in a space.

getManageMembersAndGroups

Setting for managing members and groups in a space.

Returns
Type Description
Google\Apps\Chat\V1\Space\PermissionSetting|null

hasManageMembersAndGroups

clearManageMembersAndGroups

setManageMembersAndGroups

Setting for managing members and groups in a space.

Parameter
Name Description
var Google\Apps\Chat\V1\Space\PermissionSetting
Returns
Type Description
$this

getModifySpaceDetails

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

Returns
Type Description
Google\Apps\Chat\V1\Space\PermissionSetting|null

hasModifySpaceDetails

clearModifySpaceDetails

setModifySpaceDetails

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

Parameter
Name Description
var Google\Apps\Chat\V1\Space\PermissionSetting
Returns
Type Description
$this

getToggleHistory

Setting for toggling space history on and off.

Returns
Type Description
Google\Apps\Chat\V1\Space\PermissionSetting|null

hasToggleHistory

clearToggleHistory

setToggleHistory

Setting for toggling space history on and off.

Parameter
Name Description
var Google\Apps\Chat\V1\Space\PermissionSetting
Returns
Type Description
$this

getUseAtMentionAll

Setting for using @all in a space.

Returns
Type Description
Google\Apps\Chat\V1\Space\PermissionSetting|null

hasUseAtMentionAll

clearUseAtMentionAll

setUseAtMentionAll

Setting for using @all in a space.

Parameter
Name Description
var Google\Apps\Chat\V1\Space\PermissionSetting
Returns
Type Description
$this

getManageApps

Setting for managing apps in a space.

Returns
Type Description
Google\Apps\Chat\V1\Space\PermissionSetting|null

hasManageApps

clearManageApps

setManageApps

Setting for managing apps in a space.

Parameter
Name Description
var Google\Apps\Chat\V1\Space\PermissionSetting
Returns
Type Description
$this

getManageWebhooks

Setting for managing webhooks in a space.

Returns
Type Description
Google\Apps\Chat\V1\Space\PermissionSetting|null

hasManageWebhooks

clearManageWebhooks

setManageWebhooks

Setting for managing webhooks in a space.

Parameter
Name Description
var Google\Apps\Chat\V1\Space\PermissionSetting
Returns
Type Description
$this

getPostMessages

Output only. Setting for posting messages in a space.

Returns
Type Description
Google\Apps\Chat\V1\Space\PermissionSetting|null

hasPostMessages

clearPostMessages

setPostMessages

Output only. Setting for posting messages in a space.

Parameter
Name Description
var Google\Apps\Chat\V1\Space\PermissionSetting
Returns
Type Description
$this

getReplyMessages

Setting for replying to messages in a space.

Returns
Type Description
Google\Apps\Chat\V1\Space\PermissionSetting|null

hasReplyMessages

clearReplyMessages

setReplyMessages

Setting for replying to messages in a space.

Parameter
Name Description
var Google\Apps\Chat\V1\Space\PermissionSetting
Returns
Type Description
$this