Show / Hide Table of Contents

Class ProjectsResource.TracesResource.SpansResource

The "spans" collection of methods.

Inheritance
object
ProjectsResource.TracesResource.SpansResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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. If a span ID already exists, an additional copy of the span will be stored.

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: * projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID] [TRACE_ID] is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array. It should not be zero. [SPAN_ID] is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array. It should not be zero. .

Returns
Type Description
ProjectsResource.TracesResource.SpansResource.CreateSpanRequest
In this article
Back to top Generated by DocFX