Class: Google::Apis::ChatV1::SpaceDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SpaceDetails

Returns a new instance of SpaceDetails.



3918
3919
3920
# File 'lib/google/apis/chat_v1/classes.rb', line 3918

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionString

Optional. A description of the space. For example, describe the space's discussion topic, functional purpose, or participants. Supports up to 150 characters. Corresponds to the JSON property description

Returns:

  • (String)


3910
3911
3912
# File 'lib/google/apis/chat_v1/classes.rb', line 3910

def description
  @description
end

#guidelinesString

Optional. The space's rules, expectations, and etiquette. Supports up to 5,000 characters. Corresponds to the JSON property guidelines

Returns:

  • (String)


3916
3917
3918
# File 'lib/google/apis/chat_v1/classes.rb', line 3916

def guidelines
  @guidelines
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3923
3924
3925
3926
# File 'lib/google/apis/chat_v1/classes.rb', line 3923

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @guidelines = args[:guidelines] if args.key?(:guidelines)
end