Reference documentation and code samples for the Google Apps Chat V1 Client class PlatformDataSource.
For a
SelectionInput
widget that uses a
multiselect menu, a data source from Google Workspace. Used to populate
items in a multiselect menu.
Generated from protobuf message google.apps.card.v1.SelectionInput.PlatformDataSource
Namespace
Google \ Apps \ Card \ V1 \ SelectionInputMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ common_data_source |
int
A data source shared by all Google Workspace applications, such as users in a Google Workspace organization. |
getCommonDataSource
A data source shared by all Google Workspace applications, such as users in a Google Workspace organization.
Returns | |
---|---|
Type | Description |
int |
hasCommonDataSource
setCommonDataSource
A data source shared by all Google Workspace applications, such as users in a Google Workspace organization.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getDataSource
Returns | |
---|---|
Type | Description |
string |