Class ProjectsResource.TracesResource.SpansResource
The "spans" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudTrace.v2
Assembly: Google.Apis.CloudTrace.v2.dll
Syntax
public class ProjectsResource.TracesResource.SpansResource
Constructors
SpansResource(IClientService)
Constructs a new resource.
Declaration
public SpansResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
CreateSpan(Span, string)
Creates a new span.
Declaration
public virtual ProjectsResource.TracesResource.SpansResource.CreateSpanRequest CreateSpan(Span body, string name)
Parameters
Type | Name | Description |
---|---|---|
Span | body | The body of the request. |
string | name | Required. The resource name of the span in the following format: *
|
Returns
Type | Description |
---|---|
ProjectsResource.TracesResource.SpansResource.CreateSpanRequest |