Skip to main content
Google Cloud Documentation
Technology areas
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Generative AI
  • Industry solutions
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Costs and usage management
  • Infrastructure as code
  • Migration
  • SDK, languages, frameworks, and tools
/
Console
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Português – Brasil
  • 中文 – 简体
  • 日本語
  • 한국어
Sign in
  • Cloud Trace
Start free
Guides Reference Resources
Google Cloud Documentation
  • Technology areas
    • More
    • Guides
    • Reference
    • Resources
  • Cross-product tools
    • More
  • Console
  • Cloud Trace
  • Overview
  • Authenticate to Trace
  • Client libraries
  • Trace API v1 (REST)
    • Overview
    • REST Resources
    • projects
      • Overview
      • patchTraces
    • projects.traces
      • Overview
      • get
      • list
  • Trace API v2 (REST)
    • Overview
    • REST Resources
    • projects.traces
      • Overview
      • batchWrite
    • projects.traces.spans
      • Overview
      • createSpan
    • Types
    • Attributes
    • Links
    • SpanKind
    • StackTrace
    • Status
    • TimeEvents
    • TruncatableString
  • Trace API v2beta1 (REST)
    • REST Resources
    • projects.traceSinks
      • Overview
      • create
      • delete
      • get
      • list
      • patch
  • Trace API (RPC)
    • Overview
    • google.devtools.cloudtrace.v1
    • google.devtools.cloudtrace.v2
    • google.devtools.cloudtrace.v2beta1
    • google.rpc
  • Trace Schema
  • Trace filters
  • Trace labels
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Generative AI
  • Industry solutions
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Costs and usage management
  • Infrastructure as code
  • Migration
  • SDK, languages, frameworks, and tools
  • Home
  • Documentation
  • Observability
  • Cloud Trace
  • Reference

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

patchTraces

Sends trace spans to Cloud Trace.

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-07-23 UTC.

  • Products and pricing

    • See all products
    • Google Cloud pricing
    • Google Cloud Marketplace
    • Contact sales
  • Support

    • Community forums
    • Support
    • Release Notes
    • System status
  • Resources

    • GitHub
    • Getting Started with Google Cloud
    • Code samples
    • Cloud Architecture Center
    • Training and Certification
  • Engage

    • Blog
    • Events
    • X (Twitter)
    • Google Cloud on YouTube
    • Google Cloud Tech on YouTube
  • About Google
  • Privacy
  • Site terms
  • Google Cloud terms
  • Manage cookies
  • Our third decade of climate action: join us
  • Sign up for the Google Cloud newsletter Subscribe
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Português – Brasil
  • 中文 – 简体
  • 日本語
  • 한국어