Class ProjectsResource.TracesResource.BatchWriteRequest
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.
Inheritance
ProjectsResource.TracesResource.BatchWriteRequest
  Inherited Members
Namespace: Google.Apis.CloudTrace.v2
Assembly: Google.Apis.CloudTrace.v2.dll
Syntax
public class ProjectsResource.TracesResource.BatchWriteRequest : CloudTraceBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequestConstructors
BatchWriteRequest(IClientService, BatchWriteSpansRequest, string)
Constructs a new BatchWrite request.
Declaration
public BatchWriteRequest(IClientService service, BatchWriteSpansRequest body, string name)Parameters
| Type | Name | Description | 
|---|---|---|
| IClientService | service | |
| BatchWriteSpansRequest | body | |
| string | name | 
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }Property Value
| Type | Description | 
|---|---|
| string | 
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }Property Value
| Type | Description | 
|---|---|
| string | 
Overrides
Name
Required. The name of the project where the spans belong. The format is projects/[PROJECT_ID].
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }Property Value
| Type | Description | 
|---|---|
| string | 
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }Property Value
| Type | Description | 
|---|---|
| string | 
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()Returns
| Type | Description | 
|---|---|
| object | 
Overrides
InitParameters()
Initializes BatchWrite parameter list.
Declaration
protected override void InitParameters()