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

Overview

Chat apps only. For a SelectionInput widget that uses a multi-select menu, a data source from a Google Workspace host application. Developer Preview.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HostAppDataSourceMarkup

Returns a new instance of HostAppDataSourceMarkup.



2894
2895
2896
# File 'lib/google/apis/chat_v1/classes.rb', line 2894

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

Instance Attribute Details

#chat_data_sourceGoogle::Apis::ChatV1::ChatClientDataSourceMarkup

Chat apps only. For a SelectionInput widget that uses a multi-select menu, a data source from Google Chat. For example, a list of Google Chat spaces of which the user is a member. Developer Preview. Corresponds to the JSON property chatDataSource



2892
2893
2894
# File 'lib/google/apis/chat_v1/classes.rb', line 2892

def chat_data_source
  @chat_data_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2899
2900
2901
# File 'lib/google/apis/chat_v1/classes.rb', line 2899

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