Google Apps Chat V1 Client - Class AccessSettings (0.3.0)

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

Represents the access setting of the space.

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

Namespace

Google \ Apps \ Chat \ V1 \ Space

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ access_state int

Output only. Indicates the access state of the space.

↳ audience string

Optional. The resource name of the target audience who can discover the space, join the space, and preview the messages in the space. For details, see Make a space discoverable to a target audience. Format: audiences/{audience} To use the default target audience for the Google Workspace organization, set to audiences/default.

getAccessState

Output only. Indicates the access state of the space.

Returns
Type Description
int

setAccessState

Output only. Indicates the access state of the space.

Parameter
Name Description
var int
Returns
Type Description
$this

getAudience

Optional. The resource name of the target audience who can discover the space, join the space, and preview the messages in the space. For details, see Make a space discoverable to a target audience.

Format: audiences/{audience} To use the default target audience for the Google Workspace organization, set to audiences/default.

Returns
Type Description
string

setAudience

Optional. The resource name of the target audience who can discover the space, join the space, and preview the messages in the space. For details, see Make a space discoverable to a target audience.

Format: audiences/{audience} To use the default target audience for the Google Workspace organization, set to audiences/default.

Parameter
Name Description
var string
Returns
Type Description
$this