Class ProjectsResource
The "projects" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudTrace.v1
Assembly: Google.Apis.CloudTrace.v1.dll
Syntax
public class ProjectsResource
Constructors
ProjectsResource(IClientService)
Constructs a new resource.
Declaration
public ProjectsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Traces
Gets the Traces resource.
Declaration
public virtual ProjectsResource.TracesResource Traces { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.TracesResource |
Methods
PatchTraces(Traces, string)
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.
Declaration
public virtual ProjectsResource.PatchTracesRequest PatchTraces(Traces body, string projectId)
Parameters
Type | Name | Description |
---|---|---|
Traces | body | The body of the request. |
string | projectId | Required. ID of the Cloud project where the trace data is stored. |
Returns
Type | Description |
---|---|
ProjectsResource.PatchTracesRequest |