Show / Hide Table of Contents

Class ProjectsResource.TracesResource

The "traces" collection of methods.

Inheritance
object
ProjectsResource.TracesResource
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

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. If a span ID already exists, an additional copy of the span will be stored.

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 projects/[PROJECT_ID].

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