Class ProjectsResource.TracesResource.BatchWriteRequest
Batch writes new spans to new or existing traces. You cannot update existing spans.
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>, IClientServiceRequest
Constructors
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudTrace.v2.Data.Empty>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudTrace.v2.Data.Empty>.MethodName
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudTrace.v2.Data.Empty>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudTrace.v2.Data.Empty>.GetBody()
InitParameters()
Initializes BatchWrite parameter list.
Declaration
protected override void InitParameters()