Google helps organizations secure their cloud environment, protect their data,
and comply with industry regulations. For general information about security
across all of Google Cloud, see
[Google Cloud security overview](https://docs.cloud.google.com/docs/security/overview/whitepaper.md.txt).

## End user security configurations

Managing your Identity and Access Management (IAM) settings within
Gemini Enterprise is crucial for security.
The resources listed in this section help
you understand the permissions and access controls in Gemini Enterprise:

- [Identity and permissions](https://docs.cloud.google.com/gemini/enterprise/docs/identity.md.txt)
- [Set up external identities](https://docs.cloud.google.com/gemini/enterprise/docs/identity-mapping.md.txt)
- [Authenticate to Gemini Enterprise API](https://docs.cloud.google.com/gemini/enterprise/docs/authentication.md.txt)
- [Access control with IAM](https://docs.cloud.google.com/gemini/enterprise/docs/access-control.md.txt)

The following authentication frameworks are supported:

- [Workforce Identity Federation](https://docs.cloud.google.com/iam/docs/workforce-identity-federation.md.txt)

  > [!NOTE]
  > **Note:** When you send data to Gemini Enterprise using a third-party connector, we recommend using Workforce Identity Federation (WIF).

- [Google Identity](https://developers.google.com/identity)

- [Workload Identity Federation](https://docs.cloud.google.com/iam/docs/workload-identity-federation.md.txt)

## Gemini Enterprise data security

Protecting your data from threats, breaches, and identity theft is important.
Gemini Enterprise has the following security measures in
place:

- Gemini Enterprise is integrated with [VPC Service Controls](https://docs.cloud.google.com/vpc-service-controls/docs/supported-products.md.txt).
- Default data encryption with
  [Customer Managed Encryption Keys (CMEK)](https://docs.cloud.google.com/gemini/enterprise/docs/cmek.md.txt).

  Gemini Enterprise also supports External key manager (EKM)
  or hardware security module (HSM). For information about the limitations that apply to CMEK and EKM, see
  [Limitations of Cloud Key Management Service in Gemini Enterprise](https://docs.cloud.google.com/gemini/enterprise/docs/cmek.md.txt#limitations).

## Data privacy and model training

Gemini Enterprise doesn't use your prompts, generated responses, or
connected enterprise data (whether ingested or accessed through federated
search) to train Google's foundation models. Your data remains
isolated within your Google Cloud project and isn't shared with other
customers.

Unlike the public consumer Gemini web application
(`gemini.google.com`), Gemini Enterprise operates under Google Cloud
enterprise data protection terms. For more information, see
[Data governance for Gemini for Google Cloud](https://docs.cloud.google.com/gemini/docs/discover/data-governance.md.txt).

## Gemini Enterprise compliance

Data compliance involves meeting legal and regulatory requirements for
handling personal and sensitive information. It governs data collection,
storage, usage, and security to ensure privacy and protection.

The resources listed in this section provide information to help you maintain
data transparency and compliance:

- [Enable access transparency](https://docs.cloud.google.com/gemini/enterprise/docs/access-transparency.md.txt)
- [Audit logging](https://docs.cloud.google.com/gemini/enterprise/docs/audit-logging.md.txt)
- [Gemini Enterprise locations](https://docs.cloud.google.com/gemini/enterprise/docs/locations.md.txt)
- [Compliance certifications and security
  controls](https://docs.cloud.google.com/gemini/enterprise/docs/compliance-security-controls)
- Gemini Enterprise deletes user-requested data within 60 days. For more information, see [Data deletion on Google Cloud](https://docs.cloud.google.com/docs/security/deletion.md.txt).

## Workforce Identity Federation and pool administrators

If you use Workforce Identity Federation to authenticate your users, you
grant the IAM Workforce Identity Pool Admin
(`roles/iam.workforcePoolAdmin`) and IAM Workforce Pool Editor
(`roles/iam.workforcePoolEditor`) IAM roles to some of your
administrators. These roles can modify workforce pool attribute mappings.
Incorrect changes, whether intentional or accidental, risk enabling user
impersonation, which can lead to unauthorized document access and actions.

For this reason, we recommend the following:

- Only grant these workforce pool roles to trusted administrators who
  absolutely require them.

- Use [Privileged Access Manager](https://docs.cloud.google.com/iam/docs/pam-permissions-and-setup.md.txt) to set up entitlements
  for these roles and to audit their use.

- Integrate Workforce Identity Federation audit logs into your security monitoring
  solution (for example, SIEM) to quickly detect and alert on any changes to attribute
  mappings or unauthorized access attempts.

## Required Google Cloud APIs

To begin using Gemini Enterprise, the following APIs must be enabled:

- Gemini Enterprise Agent Platform API
- Discovery Engine API
- Cloud Storage API
- Identity and Access Management (IAM) API

For more information on getting started with
Gemini Enterprise, see the
[Before you begin](https://docs.cloud.google.com/gemini/enterprise/docs/quickstart-gemini-enterprise.md.txt#before-you-begin)
section.

To disable the Gemini Enterprise (Discovery Engine) API, see
[Turn off Gemini Enterprise](https://docs.cloud.google.com/gemini/enterprise/docs/turn-off-gemini-enterprise.md.txt).

## Third-party connectors and public endpoints

Third-party connectors interact with public endpoints outside Google's network;
for example, endpoints for a third-party's API for polling data or a webhook URL
for real-time synchronization. Because VPC Service Controls are designed to
govern Google Cloud services, they don't inherently block or secure traffic to
these external, non-Google endpoints.

To mitigate, Gemini Enterprise makes sure that your egress traffic is
secured by granular VPC Firewall rules, which restrict outbound connections to
only the Fully Qualified Domain Names (FQDNs) of the external service you
provide.

## Network communication requirements

This section outlines the network communication requirements for connecting to
and using Gemini Enterprise.

### Inbound traffic (user to service)

All communication from a user's browser to Gemini Enterprise
user-facing endpoints (such as `console.cloud.google.com`,
`vertexaisearch.cloud.google.com`, and `notebooklm.cloud.google.com`),
authentication endpoints (such as `auth.cloud.google`), and programmatic
endpoints (such as `*.googleapis.com` and `*.clients6.google.com`) occurs over
HTTPS on TCP port 443. Your organization's firewalls must allow outbound
connections from your user's network to these endpoints on this port. For a
complete list of domains, see
[Configure private UI access](https://docs.cloud.google.com/gemini/enterprise/docs/private-ui-access.md.txt#update-dns-settings).

- Protocol: HTTPS
- Port: TCP/443
- Direction: User's network (outbound) to Google Cloud (inbound)

### Service-side network controls

Gemini Enterprise is a Google-managed Software-as-a-Service
(SaaS) offering. As such, you don't have direct access to the underlying
network infrastructure. You can't implement custom network controls, such as
firewall rules or VPC Service Controls configurations, directly on the service.
Security is managed by Google, adhering to the robust security practices of
Google Cloud.

### Outbound traffic (service to other endpoints)

In certain agentic AI workflows, such as when using extensions or enterprise
data grounding, Gemini Enterprise (or agents hosted on
[Agent Runtime on Gemini Enterprise Agent Platform](https://docs.cloud.google.com/gemini/enterprise/docs/register-and-manage-an-adk-agent.md.txt))
can initiate outbound network connections.

- Origin: All outbound traffic originates from Google's internal IP address ranges. This traffic doesn't originate from or transit through the network infrastructure that you control.
- Purpose: This traffic is used to connect to authorized APIs and data sources (for example, Google Workspace APIs and public APIs for extensions) to fulfill user requests.
- Security: These connections are made securely over encrypted channels (HTTPS/TLS) and are governed by Google's internal security and production network policies.