Google Apps Chat V1 Client - Class PlatformDataSource (0.6.0)

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.

Google Chat apps:

Generated from protobuf message google.apps.card.v1.SelectionInput.PlatformDataSource

Namespace

Google \ Apps \ Card \ V1 \ SelectionInput

Methods

__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