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
For a SelectionInput
widget that uses a multiselect menu, a data source from
Google Workspace. Used to populate items in a multiselect menu. Google Chat
apps:
Instance Attribute Summary collapse
-
#common_data_source ⇒ String
A data source shared by all Google Workspace applications, such as users in a Google Workspace organization.
-
#host_app_data_source ⇒ Google::Apis::ChatV1::HostAppDataSourceMarkup
For a
SelectionInput
widget that uses a multiselect menu, a data source from a Google Workspace application.
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.
2761 2762 2763 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2761 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common_data_source ⇒ String
A data source shared by all Google Workspace applications, such as users in a
Google Workspace organization.
Corresponds to the JSON property commonDataSource
2751 2752 2753 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2751 def common_data_source @common_data_source end |
#host_app_data_source ⇒ Google::Apis::ChatV1::HostAppDataSourceMarkup
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:
Corresponds to the JSON property hostAppDataSource
2759 2760 2761 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2759 def host_app_data_source @host_app_data_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2766 2767 2768 2769 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2766 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 |