Skip to content

Gemini CLI:服务条款和隐私声明

¥Gemini CLI: Terms of Service and Privacy Notice

Gemini CLI 是一款开源工具,可让您直接从命令行界面与 Google 强大的语言模型进行交互。您使用 Gemini CLI 时适用的服务条款和隐私权声明取决于您用于向 Google 进行身份验证的帐号类型。

¥Gemini CLI is an open-source tool that lets you interact with Google's powerful language models directly from your command-line interface. The Terms of Service and Privacy Notices that apply to your usage of the Gemini CLI depend on the type of account you use to authenticate with Google.

本文概述了适用于不同帐户类型和身份验证方法的具体条款和隐私政策。注意:请参阅配额和定价了解适用于您使用 Gemini CLI 的配额和定价详情。

¥This article outlines the specific terms and privacy policies applicable for different account types and authentication methods. Note: See quotas and pricing for the quota and pricing details that apply to your usage of the Gemini CLI.

如何确定您的身份验证方法

¥How to determine your authentication method

您的身份验证方法是指您用于登录和访问 Gemini CLI 的方法。身份验证方法有四种:

¥Your authentication method refers to the method you use to log into and access the Gemini CLI. There are four ways to authenticate:

  • 使用您的 Google 帐户登录 Gemini Code Assist for Individuals

    ¥Logging in with your Google account to Gemini Code Assist for Individuals

  • 使用您的 Google 帐户登录 Gemini Code Assist(标准版或企业版)

    ¥Logging in with your Google account to Gemini Code Assist for Standard, or Enterprise Users

  • 使用 Gemini Developer 的 API 密钥

    ¥Using an API key with Gemini Developer

  • 将 API 密钥与 Vertex AI GenAI API 结合使用

    ¥Using an API key with Vertex AI GenAI API

对于这四种身份验证方法中的每一种,可能适用不同的服务条款和隐私声明。

¥For each of these four methods of authentication, different Terms of Service and Privacy Notices may apply.

验证

¥Authentication

帐户

¥Account

服务条款

¥Terms of Service

隐私声明

¥Privacy Notice

通过 Google 提供 Gemini 代码协助

¥Gemini Code Assist via Google

个人

¥Individual

Google 服务条款

¥Google Terms of Service

双子座代码助手个人隐私声明

¥Gemini Code Assist Privacy Notice for Individuals

通过 Google 提供 Gemini 代码协助

¥Gemini Code Assist via Google

标准版/企业版

¥Standard/Enterprise

Google 云端平台服务条款

¥Google Cloud Platform Terms of Service

Gemini Code Assist 标准版和企业版隐私声明

¥Gemini Code Assist Privacy Notice for Standard and Enterprise

Gemini 开发者 API

¥Gemini Developer API

未付

¥Unpaid

Gemini API 服务条款 - 非付费服务

¥Gemini API Terms of Service - Unpaid Services

Google 隐私政策

¥Google Privacy Policy

Gemini 开发者 API

¥Gemini Developer API

有薪酬的

¥Paid

Gemini API 服务条款 - 付费服务

¥Gemini API Terms of Service - Paid Services

Google 隐私政策

¥Google Privacy Policy

Vertex AI Gen API

¥Vertex AI Gen API

Google 云端平台服务条款

¥Google Cloud Platform Service Terms

Google Cloud 隐私声明

¥Google Cloud Privacy Notice

1. 如果您已使用 Google 帐户登录 Gemini Code Assist for Individuals

¥1. If you have logged in with your Google account to Gemini Code Assist for Individuals

对于使用 Google 帐户访问双子座个人代码协助,这些服务条款和隐私声明文件适用于:

¥For users who use their Google account to access Gemini Code Assist for Individuals, these Terms of Service and Privacy Notice documents apply:

2. 如果您已使用 Google 帐户登录 Gemini Code Assist 标准版或企业版

¥2. If you have logged in with your Google account to Gemini Code Assist for Standard, or Enterprise Users

对于使用 Google 帐户访问标准版或企业版Gemini Code Assist 的服务条款和隐私声明文件适用:

¥For users who use their Google account to access the Standard or Enterprise edition of Gemini Code Assist, these Terms of Service and Privacy Notice documents apply:

3. 如果您已使用 Gemini API 密钥登录 Gemini 开发者 API

¥3. If you have logged in with a Gemini API key to the Gemini Developer API

如果您使用 Gemini API 密钥进行身份验证Gemini 开发者 API,这些服务条款和隐私声明文件适用于:

¥If you are using a Gemini API key for authentication with the Gemini Developer API, these Terms of Service and Privacy Notice documents apply:

4. 如果您已使用 Gemini API 密钥登录 Vertex AI GenAI API

¥4. If you have logged in with a Gemini API key to the Vertex AI GenAI API

如果您使用 Gemini API 密钥进行身份验证Vertex AI GenAI API后端,这些服务条款和隐私声明文件适用:

¥If you are using a Gemini API key for authentication with a Vertex AI GenAI API backend, these Terms of Service and Privacy Notice documents apply:

使用情况统计选择退出

¥Usage Statistics Opt-Out

您可以按照此处提供的说明选择不向 Google 发送使用情况统计信息:使用情况统计配置

¥You may opt-out from sending Usage Statistics to Google by following the instructions available here: Usage Statistics Configuration.

Gemini CLI 的常见问题 (FAQ)

¥Frequently Asked Questions (FAQ) for the Gemini CLI

1. 我的代码(包括提示和答案)是否用于训练 Google 的模型?

¥1. Is my code, including prompts and answers, used to train Google's models?

您的代码(包括提示和答案)是否用于训练 Google 的模型取决于您使用的身份验证方法类型和您的帐户类型。

¥Whether your code, including prompts and answers, is used to train Google's models depends on the type of authentication method you use and your account type.

默认情况下(如果您未选择退出):

¥By default (if you have not opted out):

  • 个人版 Gemini Code Assist 的 Google 帐户:是的。当您使用个人 Google 帐户时,双子座代码助手个人隐私声明适用。根据本通知,您的收集提示、答案和相关代码并可能用于改进 Google 的产品,包括模型训练。

    ¥Google account with Gemini Code Assist for Individuals: Yes. When you use your personal Google account, the Gemini Code Assist Privacy Notice for Individuals applies. Under this notice, your prompts, answers, and related code are collected and may be used to improve Google's products, including for model training.

  • 带有 Gemini Code Assist 的 Google 帐户(适用于标准版或企业版):不。对于这些帐户,您的数据受双子座代码助手隐私声明条款,将您的输入视为机密。您的不收集提示、答案和相关代码并且不用于训练模型。

    ¥Google account with Gemini Code Assist for Standard, or Enterprise: No. For these accounts, your data is governed by the Gemini Code Assist Privacy Notices terms, which treat your inputs as confidential. Your prompts, answers, and related code are not collected and are not used to train models.

  • 通过 Gemini 开发者 API 获取 Gemini API 密钥:您的代码是否被收集或使用取决于您使用的是免费服务还是付费服务。

    ¥Gemini API key via the Gemini Developer API: Whether your code is collected or used depends on whether you are using an unpaid or paid service.

  • 无偿服务:是的。当您通过 Gemini 开发者 API 使用 Gemini API 密钥进行免费服务时,Gemini API 服务条款 - 非付费服务条款适用。根据本通知,您的收集提示、答案和相关代码并可能用于改进 Google 的产品,包括模型训练。

    ¥Unpaid services: Yes. When you use the Gemini API key via the Gemini Developer API with an unpaid service, the Gemini API Terms of Service - Unpaid Services terms apply. Under this notice, your prompts, answers, and related code are collected and may be used to improve Google's products, including for model training.

  • 付费服务:不可以。当您通过 Gemini Developer API 使用 Gemini API 密钥并购买付费服务时,Gemini API 服务条款 - 付费服务条款适用,这些条款将您的输入视为机密。您的不收集提示、答案和相关代码并且不用于训练模型。

    ¥Paid services: No. When you use the Gemini API key via the Gemini Developer API with a paid service, the Gemini API Terms of Service - Paid Services terms apply, which treats your inputs as confidential. Your prompts, answers, and related code are not collected and are not used to train models.

  • 通过 Vertex AI GenAI API 获取 Gemini API 密钥:不。对于这些帐户,您的数据受Google Cloud 隐私声明条款,将您的输入视为机密。您的不收集提示、答案和相关代码并且不用于训练模型。

    ¥Gemini API key via the Vertex AI GenAI API: No. For these accounts, your data is governed by the Google Cloud Privacy Notice terms, which treat your inputs as confidential. Your prompts, answers, and related code are not collected and are not used to train models.

有关选择退出的更多信息,请参阅下一个问题。

¥For more information about opting out, refer to the next question.

2. 什么是使用情况统计?选择退出可以控制什么?

¥2. What are Usage Statistics and what does the opt-out control?

使用情况统计设置是 Gemini CLI 中所有可选数据收集的单一控制。

¥The Usage Statistics setting is the single control for all optional data collection in the Gemini CLI.

它收集的数据取决于您的帐户和身份验证类型:

¥The data it collects depends on your account and authentication type:

  • 个人版 Gemini Code Assist 的 Google 帐户:启用后,此设置允许 Google 收集匿名遥测数据(例如,运行的命令和性能指标)和你的提示和答案,包括代码,用于模型改进。

    ¥Google account with Gemini Code Assist for Individuals: When enabled, this setting allows Google to collect both anonymous telemetry (for example, commands run and performance metrics) and your prompts and answers, including code, for model improvement.

  • 带有 Gemini Code Assist 的 Google 帐户(适用于标准版或企业版):此设置仅控制匿名遥测数据的收集。无论此设置如何,您的提示和答案(包括代码)都不会被收集。

    ¥Google account with Gemini Code Assist for Standard, or Enterprise: This setting only controls the collection of anonymous telemetry. Your prompts and answers, including code, are never collected, regardless of this setting.

  • 通过 Gemini 开发者 API 获取 Gemini API 密钥无偿服务:启用后,此设置允许 Google 收集匿名遥测数据(例如运行的命令和性能指标)和你的提示和答案,包括代码,用于模型改进。禁用后,我们将按照Google 如何使用您的数据付费服务:此设置仅控制匿名遥测数据的收集。Google 会在有限的时间内记录提示和响应,仅用于检测违反禁止使用政策以及任何必要的法律或监管披露的行为。

    ¥Gemini API key via the Gemini Developer API: Unpaid services: When enabled, this setting allows Google to collect both anonymous telemetry (like commands run and performance metrics) and your prompts and answers, including code, for model improvement. When disabled we will use your data as described in How Google Uses Your Data. Paid services: This setting only controls the collection of anonymous telemetry. Google logs prompts and responses for a limited period of time, solely for the purpose of detecting violations of the Prohibited Use Policy and any required legal or regulatory disclosures.

  • 通过 Vertex AI GenAI API 获取 Gemini API 密钥:此设置仅控制匿名遥测数据的收集。无论此设置如何,您的提示和答案(包括代码)都不会被收集。

    ¥Gemini API key via the Vertex AI GenAI API: This setting only controls the collection of anonymous telemetry. Your prompts and answers, including code, are never collected, regardless of this setting.

有关收集哪些数据以及如何使用这些数据的更多信息,请参阅适用于您的身份验证方法的隐私声明。

¥Please refer to the Privacy Notice that applies to your authentication method for more information about what data is collected and how this data is used.

您可以按照以下说明禁用任何帐户类型的使用情况统计信息:使用情况统计配置文档。

¥You can disable Usage Statistics for any account type by following the instructions in the Usage Statistics Configuration documentation.