Class: Google::Apis::ChatV1::HostAppDataSourceMarkup

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
more...

Overview

For a SelectionInput widget that uses a multiselect menu, a data source from a Google Workspace application. The data source populates selection items for the multiselect menu. Google Chat apps:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HostAppDataSourceMarkup

Returns a new instance of HostAppDataSourceMarkup.

[View source]

3281
3282
3283
# File 'lib/google/apis/chat_v1/classes.rb', line 3281

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

Instance Attribute Details

#chat_data_sourceGoogle::Apis::ChatV1::ChatClientDataSourceMarkup

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: Corresponds to the JSON property chatDataSource


3279
3280
3281
# File 'lib/google/apis/chat_v1/classes.rb', line 3279

def chat_data_source
  @chat_data_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

3286
3287
3288
# File 'lib/google/apis/chat_v1/classes.rb', line 3286

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