Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::Space::AccessSettings.
Represents the access setting of the space.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#access_state
def access_state() -> ::Google::Apps::Chat::V1::Space::AccessSettings::AccessState
- (::Google::Apps::Chat::V1::Space::AccessSettings::AccessState) — Output only. Indicates the access state of the space.
#audience
def audience() -> ::String
-
(::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:
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.
#audience=
def audience=(value) -> ::String
-
value (::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:
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.
-
(::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:
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.