public sealed class PatchTracesRequest : IMessage<PatchTracesRequest>, IEquatable<PatchTracesRequest>, IDeepCloneable<PatchTracesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Trace v1 API class PatchTracesRequest.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePatchTracesRequest\u003c/code\u003e class is part of the Google Cloud Trace v1 API, specifically for sending requests to the \u003ccode\u003ePatchTraces\u003c/code\u003e method, and is used to update existing trace data.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing capabilities for message handling, equality comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePatchTracesRequest\u003c/code\u003e requires a \u003ccode\u003eProjectId\u003c/code\u003e (string) and \u003ccode\u003eTraces\u003c/code\u003e object as properties, where \u003ccode\u003eProjectId\u003c/code\u003e is the identifier for the Cloud project and \u003ccode\u003eTraces\u003c/code\u003e is the body of the message.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is version 3.4.0, while older versions include 3.3.0, 3.2.0, 3.1.0, 3.0.0, 2.3.0 and 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the \u003ccode\u003ePatchTracesRequest\u003c/code\u003e class, one default constructor and another that takes another \u003ccode\u003ePatchTracesRequest\u003c/code\u003e object, allowing for a copy constructor.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Trace v1 API - Class PatchTracesRequest (3.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.Trace.V1/latest/Google.Cloud.Trace.V1.PatchTracesRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Trace.V1/3.3.0/Google.Cloud.Trace.V1.PatchTracesRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Trace.V1/3.2.0/Google.Cloud.Trace.V1.PatchTracesRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Trace.V1/3.1.0/Google.Cloud.Trace.V1.PatchTracesRequest)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Trace.V1/3.0.0/Google.Cloud.Trace.V1.PatchTracesRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Trace.V1/2.3.0/Google.Cloud.Trace.V1.PatchTracesRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Trace.V1/2.2.0/Google.Cloud.Trace.V1.PatchTracesRequest) \n\n public sealed class PatchTracesRequest : IMessage\u003cPatchTracesRequest\u003e, IEquatable\u003cPatchTracesRequest\u003e, IDeepCloneable\u003cPatchTracesRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Trace v1 API class PatchTracesRequest.\n\nThe request message for the `PatchTraces` method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PatchTracesRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PatchTracesRequest](/dotnet/docs/reference/Google.Cloud.Trace.V1/latest/Google.Cloud.Trace.V1.PatchTracesRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PatchTracesRequest](/dotnet/docs/reference/Google.Cloud.Trace.V1/latest/Google.Cloud.Trace.V1.PatchTracesRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PatchTracesRequest](/dotnet/docs/reference/Google.Cloud.Trace.V1/latest/Google.Cloud.Trace.V1.PatchTracesRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Trace.V1](/dotnet/docs/reference/Google.Cloud.Trace.V1/latest/Google.Cloud.Trace.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Trace.V1.dll\n\nConstructors\n------------\n\n### PatchTracesRequest()\n\n public PatchTracesRequest()\n\n### PatchTracesRequest(PatchTracesRequest)\n\n public PatchTracesRequest(PatchTracesRequest other)\n\nProperties\n----------\n\n### ProjectId\n\n public string ProjectId { get; set; }\n\nRequired. ID of the Cloud project where the trace data is stored.\n\n### Traces\n\n public Traces Traces { get; set; }\n\nRequired. The body of the message."]]