Skip to main content

samples

Overview

Namesamples
TypeResource
Idfirebase.toolresults.samples

Fields

NameDatatypeDescription
nextPageTokenstringOptional, returned if result size exceeds the page size specified in the request (or the default page size, 500, if unspecified). It indicates the last sample timestamp to be used as page_token in subsequent request
perfSamplesarray

Methods

NameAccessible byRequired ParamsDescription
projects_histories_executions_steps_perfSampleSeries_samples_listSELECTexecutionId, historyId, projectId, sampleSeriesId, stepIdLists the Performance Samples of a given Sample Series - The list results are sorted by timestamps ascending - The default page size is 500 samples; and maximum size allowed 5000 - The response token indicates the last returned PerfSample timestamp - When the results size exceeds the page size, submit a subsequent request including the page token to return the rest of the samples up to the page limit May return any of the following canonical error codes: - OUT_OF_RANGE - The specified request page_token is out of valid range - NOT_FOUND - The containing PerfSampleSeries does not exist
projects_histories_executions_steps_perfSampleSeries_samples_batchCreateEXECexecutionId, historyId, projectId, sampleSeriesId, stepIdCreates 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