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 \ SpaceMethods
__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. |
↳ view_space_membership |
PermissionSetting
Optional. Setting for viewing space membership. Must be specified together with |
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 |
|
getViewSpaceMembership
Optional. Setting for viewing space membership.
Must be specified together with
AccessPermissionSettings.view_space_membership_setting in the update
mask and request body when updating who can view space membership.
When restricting view access to specific roles (for example, space
managers or assistant managers only), specify the desired role
permissions here and provide an empty
AccessPermissionSettings.view_space_membership_setting in the same
request. If a target audience is configured in
AccessPermissionSettings.view_space_membership_setting, this setting
must be granted to all members.
| Returns | |
|---|---|
| Type | Description |
PermissionSetting|null |
|
hasViewSpaceMembership
clearViewSpaceMembership
setViewSpaceMembership
Optional. Setting for viewing space membership.
Must be specified together with
AccessPermissionSettings.view_space_membership_setting in the update
mask and request body when updating who can view space membership.
When restricting view access to specific roles (for example, space
managers or assistant managers only), specify the desired role
permissions here and provide an empty
AccessPermissionSettings.view_space_membership_setting in the same
request. If a target audience is configured in
AccessPermissionSettings.view_space_membership_setting, this setting
must be granted to all members.
| Parameter | |
|---|---|
| Name | Description |
var |
PermissionSetting
|
| Returns | |
|---|---|
| Type | Description |
$this |
|