Class: Google::Apis::ChatV1::AccessSettings
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::AccessSettings
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb
Overview
Represents the access setting of the space.
Instance Attribute Summary collapse
-
#access_state ⇒ String
Output only.
-
#audience ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccessSettings
constructor
A new instance of AccessSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccessSettings
Returns a new instance of AccessSettings.
45 46 47 |
# File 'lib/google/apis/chat_v1/classes.rb', line 45 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_state ⇒ String
Output only. Indicates the access state of the space.
Corresponds to the JSON property accessState
33 34 35 |
# File 'lib/google/apis/chat_v1/classes.rb', line 33 def access_state @access_state end |
#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.
Corresponds to the JSON property
audience`
43 44 45 |
# File 'lib/google/apis/chat_v1/classes.rb', line 43 def audience @audience end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
50 51 52 53 |
# File 'lib/google/apis/chat_v1/classes.rb', line 50 def update!(**args) @access_state = args[:access_state] if args.key?(:access_state) @audience = args[:audience] if args.key?(:audience) end |