Enum WorkflowDataSourceType

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

Only available for Google Workspace add-ons that extend Google Workspace Studio.

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-03 UTC.