/// <summary>Constructs a new PatchTraces request.</summary> public PatchTracesRequest(Google.Apis.Services.IClientService service, Google.Apis.Cloudtrace.v1.Data.Traces body, string projectId) : base(service) { ProjectId = projectId; Body = body; InitParameters(); }
/// <summary>Sends new traces to Cloud Trace or updates existing traces. If the ID of a trace that you send /// matches that of an existing trace, any fields in the existing trace and its spans are overwritten by the /// provided values, and any new fields provided are merged with the existing trace data. If the ID does not /// match, a new trace is created.</summary> /// <param name="body">The body of the request.</param> /// <param name="projectId">ID of the Cloud project where the trace data is stored.</param> public virtual PatchTracesRequest PatchTraces(Google.Apis.Cloudtrace.v1.Data.Traces body, string projectId) { return(new PatchTracesRequest(service, body, projectId)); }