Class ProjectsResource.HistoriesResource.ExecutionsResource.StepsResource.PerfSampleSeriesResource.SamplesResource.BatchCreateRequest
Creates a batch of PerfSamples - a client can submit multiple batches of Perf Samples through repeated calls to this method in order to split up a large request payload - duplicates and existing timestamp entries will be ignored. - the batch operation may partially succeed - the set of elements successfully inserted is returned in the response (omits items which already existed in the database). May return any of the following canonical error codes: - NOT_FOUND - The containing PerfSampleSeries does not exist
Inheritance
Inherited Members
Namespace: Google.Apis.ToolResults.v1beta3
Assembly: Google.Apis.ToolResults.v1beta3.dll
Syntax
public class ProjectsResource.HistoriesResource.ExecutionsResource.StepsResource.PerfSampleSeriesResource.SamplesResource.BatchCreateRequest : ToolResultsBaseServiceRequest<BatchCreatePerfSamplesResponse>, IClientServiceRequest<BatchCreatePerfSamplesResponse>, IClientServiceRequest
Constructors
BatchCreateRequest(IClientService, BatchCreatePerfSamplesRequest, string, string, string, string, string)
Constructs a new BatchCreate request.
Declaration
public BatchCreateRequest(IClientService service, BatchCreatePerfSamplesRequest body, string projectId, string historyId, string executionId, string stepId, string sampleSeriesId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BatchCreatePerfSamplesRequest | body | |
string | projectId | |
string | historyId | |
string | executionId | |
string | stepId | |
string | sampleSeriesId |
Properties
ExecutionId
A tool results execution ID.
Declaration
[RequestParameter("executionId", RequestParameterType.Path)]
public virtual string ExecutionId { get; }
Property Value
Type | Description |
---|---|
string |
HistoryId
A tool results history ID.
Declaration
[RequestParameter("historyId", RequestParameterType.Path)]
public virtual string HistoryId { get; }
Property Value
Type | Description |
---|---|
string |
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
ProjectId
The cloud project
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
SampleSeriesId
A sample series id
Declaration
[RequestParameter("sampleSeriesId", RequestParameterType.Path)]
public virtual string SampleSeriesId { get; }
Property Value
Type | Description |
---|---|
string |
StepId
A tool results step ID.
Declaration
[RequestParameter("stepId", RequestParameterType.Path)]
public virtual string StepId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes BatchCreate parameter list.
Declaration
protected override void InitParameters()