Class ProjectsResource.TracesResource
The "traces" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudTrace.v2
Assembly: Google.Apis.CloudTrace.v2.dll
Syntax
public class ProjectsResource.TracesResource
Constructors
TracesResource(IClientService)
Constructs a new resource.
Declaration
public TracesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Spans
Gets the Spans resource.
Declaration
public virtual ProjectsResource.TracesResource.SpansResource Spans { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.TracesResource.SpansResource |
Methods
BatchWrite(BatchWriteSpansRequest, string)
Batch writes new spans to new or existing traces. You cannot update existing spans.
Declaration
public virtual ProjectsResource.TracesResource.BatchWriteRequest BatchWrite(BatchWriteSpansRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
BatchWriteSpansRequest | body | The body of the request. |
string | name | Required. The name of the project where the spans belong. The format is |
Returns
Type | Description |
---|---|
ProjectsResource.TracesResource.BatchWriteRequest |