Class: Google::Apis::ChatV1::ChatClientDataSourceMarkup
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::ChatClientDataSourceMarkup
- 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
For a SelectionInput
widget that uses a multiselect menu, a data source from
Google Chat. The data source populates selection items for the multiselect
menu. For example, a user can select Google Chat spaces that they're a member
of. Google Chat apps:
Instance Attribute Summary collapse
-
#space_data_source ⇒ Google::Apis::ChatV1::SpaceDataSource
A data source that populates Google Chat spaces as selection items for a multiselect menu.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChatClientDataSourceMarkup
constructor
A new instance of ChatClientDataSourceMarkup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChatClientDataSourceMarkup
Returns a new instance of ChatClientDataSourceMarkup.
593 594 595 |
# File 'lib/google/apis/chat_v1/classes.rb', line 593 def initialize(**args) update!(**args) end |
Instance Attribute Details
#space_data_source ⇒ Google::Apis::ChatV1::SpaceDataSource
A data source that populates Google Chat spaces as selection items for a
multiselect menu. Only populates spaces that the user is a member of. Google
Chat apps:
Corresponds to the JSON property spaceDataSource
591 592 593 |
# File 'lib/google/apis/chat_v1/classes.rb', line 591 def space_data_source @space_data_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
598 599 600 |
# File 'lib/google/apis/chat_v1/classes.rb', line 598 def update!(**args) @space_data_source = args[:space_data_source] if args.key?(:space_data_source) end |