Class: Google::Apis::ChatV1::SpaceDetails
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::SpaceDetails
- 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
Details about the space including description and rules.
Instance Attribute Summary collapse
-
#description ⇒ String
Optional.
-
#guidelines ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SpaceDetails
constructor
A new instance of SpaceDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SpaceDetails
Returns a new instance of SpaceDetails.
2828 2829 2830 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2828 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Optional. A description of the space. It could describe the space's discussion
topic, functional purpose, or participants.
Corresponds to the JSON property description
2821 2822 2823 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2821 def description @description end |
#guidelines ⇒ String
Optional. The space's rules, expectations, and etiquette.
Corresponds to the JSON property guidelines
2826 2827 2828 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2826 def guidelines @guidelines end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2833 2834 2835 2836 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2833 def update!(**args) @description = args[:description] if args.key?(:description) @guidelines = args[:guidelines] if args.key?(:guidelines) end |