Method: projects.histories.executions.steps.perfSampleSeries.samples.batchCreate

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

HTTP request

POST https://toolresults.googleapis.com/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
projectId

string

The cloud project

historyId

string

A tool results history ID.

executionId

string

A tool results execution ID.

stepId

string

A tool results step ID.

sampleSeriesId

string

A sample series id

Request body

The request body contains data with the following structure:

JSON representation
{
  "perfSamples": [
    {
      object (PerfSample)
    }
  ]
}
Fields
perfSamples[]

object (PerfSample)

The set of PerfSamples to create should not include existing timestamps

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "perfSamples": [
    {
      object (PerfSample)
    }
  ]
}
Fields
perfSamples[]

object (PerfSample)

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.