class ProjectsHistoriesExecutionsStepsPerfSampleSeries extends Resource (View source)

The "perfSampleSeries" collection of methods.

Typical usage is:

 $toolresultsService = new Google\Service\ToolResults(...);
 $perfSampleSeries = $toolresultsService->projects_histories_executions_steps_perfSampleSeries;

Methods

create(string $projectId, string $historyId, string $executionId, string $stepId, PerfSampleSeries $postBody, array $optParams = [])

Creates a PerfSampleSeries. May return any of the following error code(s): - ALREADY_EXISTS - PerfMetricSummary already exists for the given Step - NOT_FOUND - The containing Step does not exist (perfSampleSeries.create)

get(string $projectId, string $historyId, string $executionId, string $stepId, string $sampleSeriesId, array $optParams = [])

Gets a PerfSampleSeries. May return any of the following error code(s): - NOT_FOUND - The specified PerfSampleSeries does not exist (perfSampleSeries.get)

listProjectsHistoriesExecutionsStepsPerfSampleSeries(string $projectId, string $historyId, string $executionId, string $stepId, array $optParams = [])

Lists PerfSampleSeries for a given Step. The request provides an optional filter which specifies one or more PerfMetricsType to include in the result; if none returns all. The resulting PerfSampleSeries are sorted by ids. May return any of the following canonical error codes: - NOT_FOUND - The containing Step does not exist (perfSampleSeries.listProjectsHistoriesExecutionsStepsPerfSampleSeries)

Details

PerfSampleSeries create(string $projectId, string $historyId, string $executionId, string $stepId, PerfSampleSeries $postBody, array $optParams = [])

Creates a PerfSampleSeries. May return any of the following error code(s): - ALREADY_EXISTS - PerfMetricSummary already exists for the given Step - NOT_FOUND - The containing Step does not exist (perfSampleSeries.create)

Parameters

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.

PerfSampleSeries $postBody
array $optParams

Optional parameters.

Return Value

PerfSampleSeries

Exceptions

Exception

PerfSampleSeries get(string $projectId, string $historyId, string $executionId, string $stepId, string $sampleSeriesId, array $optParams = [])

Gets a PerfSampleSeries. May return any of the following error code(s): - NOT_FOUND - The specified PerfSampleSeries does not exist (perfSampleSeries.get)

Parameters

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

array $optParams

Optional parameters.

Return Value

PerfSampleSeries

Exceptions

Exception

ListPerfSampleSeriesResponse listProjectsHistoriesExecutionsStepsPerfSampleSeries(string $projectId, string $historyId, string $executionId, string $stepId, array $optParams = [])

Lists PerfSampleSeries for a given Step. The request provides an optional filter which specifies one or more PerfMetricsType to include in the result; if none returns all. The resulting PerfSampleSeries are sorted by ids. May return any of the following canonical error codes: - NOT_FOUND - The containing Step does not exist (perfSampleSeries.listProjectsHistoriesExecutionsStepsPerfSampleSeries)

Parameters

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.

array $optParams

Optional parameters.

Return Value

ListPerfSampleSeriesResponse

Exceptions

Exception