Class ProjectsResource.HistoriesResource.ExecutionsResource.StepsResource.PerfSampleSeriesResource.SamplesResource
The "samples" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.ToolResults.v1beta3
Assembly: Google.Apis.ToolResults.v1beta3.dll
Syntax
public class ProjectsResource.HistoriesResource.ExecutionsResource.StepsResource.PerfSampleSeriesResource.SamplesResource
Constructors
SamplesResource(IClientService)
Constructs a new resource.
Declaration
public SamplesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
BatchCreate(BatchCreatePerfSamplesRequest, string, string, string, string, string)
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
Declaration
public virtual ProjectsResource.HistoriesResource.ExecutionsResource.StepsResource.PerfSampleSeriesResource.SamplesResource.BatchCreateRequest BatchCreate(BatchCreatePerfSamplesRequest body, string projectId, string historyId, string executionId, string stepId, string sampleSeriesId)
Parameters
Type | Name | Description |
---|---|---|
BatchCreatePerfSamplesRequest | body | The body of the request. |
string | projectId | The cloud project |
string | historyId | A tool results history ID. |
string | executionId | A tool results execution ID. |
string | stepId | A tool results step ID. |
string | sampleSeriesId | A sample series id |
Returns
Type | Description |
---|---|
ProjectsResource.HistoriesResource.ExecutionsResource.StepsResource.PerfSampleSeriesResource.SamplesResource.BatchCreateRequest |
List(string, string, string, string, string)
Lists 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
Declaration
public virtual ProjectsResource.HistoriesResource.ExecutionsResource.StepsResource.PerfSampleSeriesResource.SamplesResource.ListRequest List(string projectId, string historyId, string executionId, string stepId, string sampleSeriesId)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | The cloud project |
string | historyId | A tool results history ID. |
string | executionId | A tool results execution ID. |
string | stepId | A tool results step ID. |
string | sampleSeriesId | A sample series id |
Returns
Type | Description |
---|---|
ProjectsResource.HistoriesResource.ExecutionsResource.StepsResource.PerfSampleSeriesResource.SamplesResource.ListRequest |