Skip to main content
Google Cloud Documentation
技术领域
  • AI 和机器学习
  • 应用开发
  • 应用托管
  • 计算
  • 数据分析和流水线
  • 数据库
  • 分布式云、混合云和多云
  • 生成式 AI
  • 行业解决方案
  • 网络
  • 可观测性和监控
  • 安全
  • Storage
跨产品工具
  • 访问权限和资源管理
  • 费用和用量管理
  • 基础设施即代码
  • 迁移
  • SDK、语言、框架和工具
/
Console
  • English
  • 中文 – 简体
  • Cloud Translation
免费开始使用吧
概览 指南 API 和参考文档 示例 资源
Google Cloud Documentation
  • 技术领域
    • More
    • 概览
    • 指南
    • API 和参考文档
    • 示例
    • 资源
  • 跨产品工具
    • More
  • Console
  • Translation API
  • API 使用情况概览
  • 向 Cloud Translation 进行身份验证
  • 客户端库
    • 基本版
      • 概览
      • C#
      • Go
      • Java
      • Node.js
      • PHP
      • Python
      • Ruby
    • 高级版本
      • 概览
      • C++
      • C#
      • Go
      • Java
      • Node.js
      • PHP
      • Python
      • Ruby
  • REST 参考文档
    • Basic
      • translate
      • detect
      • languages
    • Advanced
      • Overview
      • v3
        • REST Resources
        • projects
          • Overview
          • detectLanguage
          • getSupportedLanguages
          • romanizeText
          • translateText
        • projects.locations
          • Overview
          • adaptiveMtTranslate
          • batchTranslateDocument
          • batchTranslateText
          • detectLanguage
          • get
          • getSupportedLanguages
          • list
          • romanizeText
          • translateDocument
          • translateText
        • projects.locations.adaptiveMtDatasets
          • Overview
          • create
          • delete
          • get
          • importAdaptiveMtFile
          • list
        • projects.locations.adaptiveMtDatasets.adaptiveMtFiles
          • Overview
          • delete
          • get
          • list
        • projects.locations.adaptiveMtDatasets.adaptiveMtFiles.adaptiveMtSentences
          • Overview
          • list
        • projects.locations.adaptiveMtDatasets.adaptiveMtSentences
          • Overview
          • list
        • projects.locations.datasets
          • Overview
          • create
          • delete
          • exportData
          • get
          • importData
          • list
        • projects.locations.datasets.examples
          • Overview
          • list
        • projects.locations.glossaries
          • Overview
          • create
          • delete
          • get
          • list
          • patch
        • projects.locations.glossaries.glossaryEntries
          • Overview
          • create
          • delete
          • get
          • list
          • patch
        • projects.locations.models
          • Overview
          • create
          • delete
          • get
          • list
        • projects.locations.operations
          • Overview
          • cancel
          • delete
          • get
          • list
          • wait
        • Types
        • DetectLanguageResponse
        • GcsDestination
        • GcsInputSource
        • ListAdaptiveMtSentencesResponse
        • ListLocationsResponse
        • ListOperationsResponse
        • RomanizeTextResponse
        • SupportedLanguages
        • TranslateTextGlossaryConfig
        • TranslateTextResponse
        • TransliterationConfig
      • v3beta1
        • REST Resources
        • projects
          • Overview
          • detectLanguage
          • getSupportedLanguages
          • translateText
        • projects.locations
          • Overview
          • batchTranslateDocument
          • batchTranslateText
          • detectLanguage
          • get
          • getSupportedLanguages
          • list
          • translateDocument
          • translateText
        • projects.locations.glossaries
          • Overview
          • create
          • delete
          • get
          • list
        • projects.locations.operations
          • Overview
          • cancel
          • delete
          • get
          • list
          • wait
        • Types
        • DetectLanguageResponse
        • GcsDestination
        • ListLocationsResponse
        • ListOperationsResponse
        • SupportedLanguages
        • TranslateTextGlossaryConfig
        • TranslateTextResponse
  • RPC 参考文档
    • 概览
    • google.cloud.location
    • google.cloud.translate.v2
    • google.cloud.translation.v3
    • google.cloud.translation.v3beta1
    • google.iam.v1
    • google.longrunning
    • google.rpc
  • AI 和机器学习
  • 应用开发
  • 应用托管
  • 计算
  • 数据分析和流水线
  • 数据库
  • 分布式云、混合云和多云
  • 生成式 AI
  • 行业解决方案
  • 网络
  • 可观测性和监控
  • 安全
  • Storage
  • 访问权限和资源管理
  • 费用和用量管理
  • 基础设施即代码
  • 迁移
  • SDK、语言、框架和工具
  • Home
  • Documentation
  • AI and ML
  • Cloud Translation
  • API 和参考文档

REST Resource: projects Stay organized with collections Save and categorize content based on your preferences.

  • Resource
  • Methods

Resource

There is no persistent data associated with this resource.

Methods

detectLanguage

Detects the language of text within a request.

getSupportedLanguages

Returns a list of supported languages for translation.

translateText

Translates input text and returns translated text.

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-04-30 UTC.

  • Support

    • Release Notes
  • Resources

    • GitHub
    • Getting Started with Google Cloud
    • Code samples
    • Cloud Architecture Center
  • Terms
  • Privacy
  • Manage cookies
  • English
  • 中文 – 简体