Class Space.Types.AccessSettings
Represents the access setting of the space.
Implements
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class Space.Types.AccessSettings : IMessage<Space.Types.AccessSettings>, IEquatable<Space.Types.AccessSettings>, IDeepCloneable<Space.Types.AccessSettings>, IBufferMessage, IMessage
Constructors
AccessSettings()
Declaration
public AccessSettings()
AccessSettings(AccessSettings)
Declaration
public AccessSettings(Space.Types.AccessSettings other)
Parameters
Type | Name | Description |
---|---|---|
Space.Types.AccessSettings | other |
Properties
AccessState
Output only. Indicates the access state of the space.
Declaration
public Space.Types.AccessSettings.Types.AccessState AccessState { get; set; }
Property Value
Type | Description |
---|---|
Space.Types.AccessSettings.Types.AccessState |
Audience
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:
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.
Declaration
public string Audience { get; set; }
Property Value
Type | Description |
---|---|
string |