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 \ SpaceMethods
__construct
Constructor.
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. If unset, only users or Google Groups who have been individually invited or added to the space can access it. 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
. Reading the target audience supports: - User authentication
- App authentication
with administrator approval
with the chat.app.spaces
scope in Developer Preview
. This field is not populated when using the chat.bot
scope with app authentication
. Setting the target audience requires user authentication
.
getAccessState
Output only. Indicates the access state of the space.
int
setAccessState
Output only. Indicates the access state of the space.
var
int
$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. If unset, only users or Google Groups who have been individually invited or added to the space can access it. 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
.
Reading the target audience supports:
- User authentication
- App
authentication
with administrator
approval
with the
chat.app.spaces
scope in Developer Preview . This field is not populated when using thechat.bot
scope with app authentication . Setting the target audience requires user authentication .
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. If unset, only users or Google Groups who have been individually invited or added to the space can access it. 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
.
Reading the target audience supports:
- User authentication
- App
authentication
with administrator
approval
with the
chat.app.spaces
scope in Developer Preview . This field is not populated when using thechat.bot
scope with app authentication . Setting the target audience requires user authentication .
var
string
$this