Google Apps Chat V1 Client - Class AccessPermissionSettings (0.27.0)

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

Access permission settings for a space.

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

Namespace

Google \ Apps \ Chat \ V1 \ Space

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ discover_space_setting AccessPermissionSetting

Optional. Access permission setting for discovering the space.

↳ join_space_setting AccessPermissionSetting

Optional. Access permission setting for joining the space.

↳ view_space_membership_setting AccessPermissionSetting

Optional. Access permission setting for viewing space membership. Must be specified together with PermissionSettings.view_space_membership in the update mask and request body when updating who can view space membership. When granting view access to a target audience, you must also grant PermissionSettings.view_space_membership to all members in the same request. To remove an existing target audience (for example, to restrict view access to space managers or assistant managers only), specify an empty AccessPermissionSetting (with no principals).

getDiscoverSpaceSetting

Optional. Access permission setting for discovering the space.

Returns
Type Description
AccessPermissionSetting|null

hasDiscoverSpaceSetting

clearDiscoverSpaceSetting

setDiscoverSpaceSetting

Optional. Access permission setting for discovering the space.

Parameter
Name Description
var AccessPermissionSetting
Returns
Type Description
$this

getJoinSpaceSetting

Optional. Access permission setting for joining the space.

Returns
Type Description
AccessPermissionSetting|null

hasJoinSpaceSetting

clearJoinSpaceSetting

setJoinSpaceSetting

Optional. Access permission setting for joining the space.

Parameter
Name Description
var AccessPermissionSetting
Returns
Type Description
$this

getViewSpaceMembershipSetting

Optional. Access permission setting for viewing space membership.

Must be specified together with PermissionSettings.view_space_membership in the update mask and request body when updating who can view space membership. When granting view access to a target audience, you must also grant PermissionSettings.view_space_membership to all members in the same request. To remove an existing target audience (for example, to restrict view access to space managers or assistant managers only), specify an empty AccessPermissionSetting (with no principals).

Returns
Type Description
AccessPermissionSetting|null

hasViewSpaceMembershipSetting

clearViewSpaceMembershipSetting

setViewSpaceMembershipSetting

Optional. Access permission setting for viewing space membership.

Must be specified together with PermissionSettings.view_space_membership in the update mask and request body when updating who can view space membership. When granting view access to a target audience, you must also grant PermissionSettings.view_space_membership to all members in the same request. To remove an existing target audience (for example, to restrict view access to space managers or assistant managers only), specify an empty AccessPermissionSetting (with no principals).

Parameter
Name Description
var AccessPermissionSetting
Returns
Type Description
$this