Class: Google::Apis::ChatV1::GoogleAppsCardV1PlatformDataSource
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::GoogleAppsCardV1PlatformDataSource
- 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,
the data from a Google Workspace host application. Used to populate the items in the
multi-select menu. Developer Preview.
Instance Attribute Summary collapse
-
#common_data_source ⇒ String
For a
SelectionInputwidget that uses a multi-select menu, a data source shared by all Google Workspace host applications, such as users in a Google Workspace organization. -
#host_app_data_source ⇒ Google::Apis::ChatV1::HostAppDataSourceMarkup
Chat apps only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsCardV1PlatformDataSource
constructor
A new instance of GoogleAppsCardV1PlatformDataSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsCardV1PlatformDataSource
Returns a new instance of GoogleAppsCardV1PlatformDataSource.
2226 2227 2228 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2226 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common_data_source ⇒ String
For a SelectionInput widget that uses a multi-select menu, a data source
shared by all Google Workspace host applications, such as users in a Google
Workspace organization. Developer Preview.
Corresponds to the JSON property commonDataSource
2217 2218 2219 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2217 def common_data_source @common_data_source end |
#host_app_data_source ⇒ Google::Apis::ChatV1::HostAppDataSourceMarkup
Chat apps only. For a SelectionInput widget that uses a multi-select menu, a
data source from a Google Workspace host application. Developer Preview.
Corresponds to the JSON property hostAppDataSource
2224 2225 2226 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2224 def host_app_data_source @host_app_data_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2231 2232 2233 2234 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2231 def update!(**args) @common_data_source = args[:common_data_source] if args.key?(:common_data_source) @host_app_data_source = args[:host_app_data_source] if args.key?(:host_app_data_source) end |