1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="toolresults_v1beta3.html">Cloud Tool Results API</a> . <a href="toolresults_v1beta3.projects.html">projects</a> . <a href="toolresults_v1beta3.projects.histories.html">histories</a> . <a href="toolresults_v1beta3.projects.histories.executions.html">executions</a> . <a href="toolresults_v1beta3.projects.histories.executions.steps.html">steps</a> . <a href="toolresults_v1beta3.projects.histories.executions.steps.perfSampleSeries.html">perfSampleSeries</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="toolresults_v1beta3.projects.histories.executions.steps.perfSampleSeries.samples.html">samples()</a></code> 79</p> 80<p class="firstline">Returns the samples Resource.</p> 81 82<p class="toc_element"> 83 <code><a href="#close">close()</a></code></p> 84<p class="firstline">Close httplib2 connections.</p> 85<p class="toc_element"> 86 <code><a href="#create">create(projectId, historyId, executionId, stepId, body=None, x__xgafv=None)</a></code></p> 87<p class="firstline">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</p> 88<p class="toc_element"> 89 <code><a href="#get">get(projectId, historyId, executionId, stepId, sampleSeriesId, x__xgafv=None)</a></code></p> 90<p class="firstline">Gets a PerfSampleSeries. May return any of the following error code(s): - NOT_FOUND - The specified PerfSampleSeries does not exist</p> 91<p class="toc_element"> 92 <code><a href="#list">list(projectId, historyId, executionId, stepId, filter=None, x__xgafv=None)</a></code></p> 93<p class="firstline">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</p> 94<h3>Method Details</h3> 95<div class="method"> 96 <code class="details" id="close">close()</code> 97 <pre>Close httplib2 connections.</pre> 98</div> 99 100<div class="method"> 101 <code class="details" id="create">create(projectId, historyId, executionId, stepId, body=None, x__xgafv=None)</code> 102 <pre>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 103 104Args: 105 projectId: string, The cloud project (required) 106 historyId: string, A tool results history ID. (required) 107 executionId: string, A tool results execution ID. (required) 108 stepId: string, A tool results step ID. (required) 109 body: object, The request body. 110 The object takes the form of: 111 112{ # Resource representing a collection of performance samples (or data points) 113 "basicPerfSampleSeries": { # Encapsulates the metadata for basic sample series represented by a line chart # Basic series represented by a line chart 114 "perfMetricType": "A String", 115 "perfUnit": "A String", 116 "sampleSeriesLabel": "A String", 117 }, 118 "executionId": "A String", # A tool results execution ID. @OutputOnly 119 "historyId": "A String", # A tool results history ID. @OutputOnly 120 "projectId": "A String", # The cloud project @OutputOnly 121 "sampleSeriesId": "A String", # A sample series id @OutputOnly 122 "stepId": "A String", # A tool results step ID. @OutputOnly 123} 124 125 x__xgafv: string, V1 error format. 126 Allowed values 127 1 - v1 error format 128 2 - v2 error format 129 130Returns: 131 An object of the form: 132 133 { # Resource representing a collection of performance samples (or data points) 134 "basicPerfSampleSeries": { # Encapsulates the metadata for basic sample series represented by a line chart # Basic series represented by a line chart 135 "perfMetricType": "A String", 136 "perfUnit": "A String", 137 "sampleSeriesLabel": "A String", 138 }, 139 "executionId": "A String", # A tool results execution ID. @OutputOnly 140 "historyId": "A String", # A tool results history ID. @OutputOnly 141 "projectId": "A String", # The cloud project @OutputOnly 142 "sampleSeriesId": "A String", # A sample series id @OutputOnly 143 "stepId": "A String", # A tool results step ID. @OutputOnly 144}</pre> 145</div> 146 147<div class="method"> 148 <code class="details" id="get">get(projectId, historyId, executionId, stepId, sampleSeriesId, x__xgafv=None)</code> 149 <pre>Gets a PerfSampleSeries. May return any of the following error code(s): - NOT_FOUND - The specified PerfSampleSeries does not exist 150 151Args: 152 projectId: string, The cloud project (required) 153 historyId: string, A tool results history ID. (required) 154 executionId: string, A tool results execution ID. (required) 155 stepId: string, A tool results step ID. (required) 156 sampleSeriesId: string, A sample series id (required) 157 x__xgafv: string, V1 error format. 158 Allowed values 159 1 - v1 error format 160 2 - v2 error format 161 162Returns: 163 An object of the form: 164 165 { # Resource representing a collection of performance samples (or data points) 166 "basicPerfSampleSeries": { # Encapsulates the metadata for basic sample series represented by a line chart # Basic series represented by a line chart 167 "perfMetricType": "A String", 168 "perfUnit": "A String", 169 "sampleSeriesLabel": "A String", 170 }, 171 "executionId": "A String", # A tool results execution ID. @OutputOnly 172 "historyId": "A String", # A tool results history ID. @OutputOnly 173 "projectId": "A String", # The cloud project @OutputOnly 174 "sampleSeriesId": "A String", # A sample series id @OutputOnly 175 "stepId": "A String", # A tool results step ID. @OutputOnly 176}</pre> 177</div> 178 179<div class="method"> 180 <code class="details" id="list">list(projectId, historyId, executionId, stepId, filter=None, x__xgafv=None)</code> 181 <pre>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 182 183Args: 184 projectId: string, The cloud project (required) 185 historyId: string, A tool results history ID. (required) 186 executionId: string, A tool results execution ID. (required) 187 stepId: string, A tool results step ID. (required) 188 filter: string, Specify one or more PerfMetricType values such as CPU to filter the result (repeated) 189 Allowed values 190 perfMetricTypeUnspecified - 191 memory - 192 cpu - 193 network - 194 graphics - 195 x__xgafv: string, V1 error format. 196 Allowed values 197 1 - v1 error format 198 2 - v2 error format 199 200Returns: 201 An object of the form: 202 203 { 204 "perfSampleSeries": [ # The resulting PerfSampleSeries sorted by id 205 { # Resource representing a collection of performance samples (or data points) 206 "basicPerfSampleSeries": { # Encapsulates the metadata for basic sample series represented by a line chart # Basic series represented by a line chart 207 "perfMetricType": "A String", 208 "perfUnit": "A String", 209 "sampleSeriesLabel": "A String", 210 }, 211 "executionId": "A String", # A tool results execution ID. @OutputOnly 212 "historyId": "A String", # A tool results history ID. @OutputOnly 213 "projectId": "A String", # The cloud project @OutputOnly 214 "sampleSeriesId": "A String", # A sample series id @OutputOnly 215 "stepId": "A String", # A tool results step ID. @OutputOnly 216 }, 217 ], 218}</pre> 219</div> 220 221</body></html>