Enum WorkflowDataSourceType

WorkflowDataSourceType

An enum that represents the type of the workflow data source.

Only available through the Gemini Alpha program for Google Workspace add-ons that extend Google Workspace Flows.

const workflowDataSource = CardService.newWorkflowDataSource().setIncludeVariables(true)
.setType(CardService.WorkflowDataSourceType.USER);

Properties

PropertyTypeDescription
UNKNOWNEnumDefault value. Don't use.
USEREnumThe data source is a user's data.
SPACEEnumThe data source is a Google Chat space.
USER_WITH_FREE_FORMEnumThe data source is a user's data; users can choose to view and select existing members from their Google Workspace organization or manually enter an email address or a valid domain.