The discoveryengine.managed.allowedDataSources managed organization policy
constraint, also known as Restrict allowed data sources for data connectors, lets you
control which external data sources (such as Jira, Box, or Confluence) are
permitted when adding a data store in Gemini Enterprise.
Before you begin
Ensure you have the Organization Policy Administrator role (
roles/orgpolicy.policyAdmin).Understand the policy enforcement dependencies and interactions. See Overview of managed policy constraints.
Configure the constraint
To configure the allowed data sources, follow these steps:
In the Google Cloud console, go to the Organization Policies page.
In the project selector, choose the organization or project where you want to change policy enforcement.
In the Filter field, enter
discoveryengine.managed.allowedDataSourcesorRestrict allowed data sources for data connectors.Click the policy name to open its details.
Click Manage Policy.
Select Override parent's policy.
Set Enforcement to On.
Edit the
allowedDataSourcesparameter:- Click edit next to
allowedDataSources. - Set Value Type to User-defined.
- Add values, such as
jira,box, orcustom_mcp. For a complete list, see Supported Data Sources.
- Click edit next to
Optional: To enforce this policy on specific projects not in VPCSC, update the
enforcedProjectsparameter and add the project names in the formatprojects/<project_name>/.Click Set Policy.
Supported data sources
For the canonical list of supported dataSource values that you can add to
the allowedDataSources parameter, see the tables in
Connect a third-party data source.
Use the values from the Value for allowedDataSources column exactly as
they appear.
Verify the policy change
Verify the policy by attempting to create a data store. If the configuration is
correct, you can create the data store without an
Operation denied by org policy error related to
discoveryengine.managed.allowedDataSources.
What's next
To connect your data sources, see Connect a Google data source and Connect a third-party data source.
To create custom organization policies with fine-grained rules for your data connectors or data stores, see Manage resources with custom organization policies.