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 |
The cloud project |
historyId |
A tool results history ID. |
executionId |
A tool results execution ID. |
stepId |
A tool results step ID. |
sampleSeriesId |
A sample series id |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"perfSamples": [
{
object ( |
Fields | |
---|---|
perfSamples[] |
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 ( |
Fields | |
---|---|
perfSamples[] |
|
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.