Debian Codegraph @

docs/dyn/aiplatform_v1.projects.locations.tensorboards.experiments.runs.timeSeries.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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="aiplatform_v1.html">Agent Platform API</a> . <a href="aiplatform_v1.projects.html">projects</a> . <a href="aiplatform_v1.projects.locations.html">locations</a> . <a href="aiplatform_v1.projects.locations.tensorboards.html">tensorboards</a> . <a href="aiplatform_v1.projects.locations.tensorboards.experiments.html">experiments</a> . <a href="aiplatform_v1.projects.locations.tensorboards.experiments.runs.html">runs</a> . <a href="aiplatform_v1.projects.locations.tensorboards.experiments.runs.timeSeries.html">timeSeries</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="aiplatform_v1.projects.locations.tensorboards.experiments.runs.timeSeries.operations.html">operations()</a></code>
79 </p>
80 <p class="firstline">Returns the operations 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(parent, body=None, tensorboardTimeSeriesId=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a TensorboardTimeSeries.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes a TensorboardTimeSeries.</p>
91 <p class="toc_element">
92 <code><a href="#exportTensorboardTimeSeries">exportTensorboardTimeSeries(tensorboardTimeSeries, body=None, x__xgafv=None)</a></code></p>
93 <p class="firstline">Exports a TensorboardTimeSeries' data. Data is returned in paginated responses.</p>
94 <p class="toc_element">
95 <code><a href="#exportTensorboardTimeSeries_next">exportTensorboardTimeSeries_next()</a></code></p>
96 <p class="firstline">Retrieves the next page of results.</p>
97 <p class="toc_element">
98 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
99 <p class="firstline">Gets a TensorboardTimeSeries.</p>
100 <p class="toc_element">
101 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Lists TensorboardTimeSeries in a Location.</p>
103 <p class="toc_element">
104 <code><a href="#list_next">list_next()</a></code></p>
105 <p class="firstline">Retrieves the next page of results.</p>
106 <p class="toc_element">
107 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
108 <p class="firstline">Updates a TensorboardTimeSeries.</p>
109 <p class="toc_element">
110 <code><a href="#read">read(tensorboardTimeSeries, filter=None, maxDataPoints=None, x__xgafv=None)</a></code></p>
111 <p class="firstline">Reads a TensorboardTimeSeries' data. By default, if the number of data points stored is less than 1000, all data is returned. Otherwise, 1000 data points is randomly selected from this time series and returned. This value can be changed by changing max_data_points, which can't be greater than 10k.</p>
112 <p class="toc_element">
113 <code><a href="#readBlobData">readBlobData(timeSeries, blobIds=None, x__xgafv=None)</a></code></p>
114 <p class="firstline">Gets bytes of TensorboardBlobs. This is to allow reading blob data stored in consumer project's Cloud Storage bucket without users having to obtain Cloud Storage access permission.</p>
115 <h3>Method Details</h3>
116 <div class="method">
117 <code class="details" id="close">close()</code>
118 <pre>Close httplib2 connections.</pre>
119 </div>
120
121 <div class="method">
122 <code class="details" id="create">create(parent, body=None, tensorboardTimeSeriesId=None, x__xgafv=None)</code>
123 <pre>Creates a TensorboardTimeSeries.
124
125 Args:
126 parent: string, Required. The resource name of the TensorboardRun to create the TensorboardTimeSeries in. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` (required)
127 body: object, The request body.
128 The object takes the form of:
129
130 { # TensorboardTimeSeries maps to times series produced in training runs
131 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this TensorboardTimeSeries was created.
132 &quot;description&quot;: &quot;A String&quot;, # Description of this TensorboardTimeSeries.
133 &quot;displayName&quot;: &quot;A String&quot;, # Required. User provided name of this TensorboardTimeSeries. This value should be unique among all TensorboardTimeSeries resources belonging to the same TensorboardRun resource (parent resource).
134 &quot;etag&quot;: &quot;A String&quot;, # Used to perform a consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
135 &quot;metadata&quot;: { # Describes metadata for a TensorboardTimeSeries. # Output only. Scalar, Tensor, or Blob metadata for this TensorboardTimeSeries.
136 &quot;maxBlobSequenceLength&quot;: &quot;A String&quot;, # Output only. The largest blob sequence length (number of blobs) of all data points in this time series, if its ValueType is BLOB_SEQUENCE.
137 &quot;maxStep&quot;: &quot;A String&quot;, # Output only. Max step index of all data points within a TensorboardTimeSeries.
138 &quot;maxWallTime&quot;: &quot;A String&quot;, # Output only. Max wall clock timestamp of all data points within a TensorboardTimeSeries.
139 },
140 &quot;name&quot;: &quot;A String&quot;, # Output only. Name of the TensorboardTimeSeries.
141 &quot;pluginData&quot;: &quot;A String&quot;, # Data of the current plugin, with the size limited to 65KB.
142 &quot;pluginName&quot;: &quot;A String&quot;, # Immutable. Name of the plugin this time series pertain to. Such as Scalar, Tensor, Blob
143 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this TensorboardTimeSeries was last updated.
144 &quot;valueType&quot;: &quot;A String&quot;, # Required. Immutable. Type of TensorboardTimeSeries value.
145 }
146
147 tensorboardTimeSeriesId: string, Optional. The user specified unique ID to use for the TensorboardTimeSeries, which becomes the final component of the TensorboardTimeSeries&#x27;s resource name. This value should match &quot;a-z0-9{0, 127}&quot;
148 x__xgafv: string, V1 error format.
149 Allowed values
150 1 - v1 error format
151 2 - v2 error format
152
153 Returns:
154 An object of the form:
155
156 { # TensorboardTimeSeries maps to times series produced in training runs
157 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this TensorboardTimeSeries was created.
158 &quot;description&quot;: &quot;A String&quot;, # Description of this TensorboardTimeSeries.
159 &quot;displayName&quot;: &quot;A String&quot;, # Required. User provided name of this TensorboardTimeSeries. This value should be unique among all TensorboardTimeSeries resources belonging to the same TensorboardRun resource (parent resource).
160 &quot;etag&quot;: &quot;A String&quot;, # Used to perform a consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
161 &quot;metadata&quot;: { # Describes metadata for a TensorboardTimeSeries. # Output only. Scalar, Tensor, or Blob metadata for this TensorboardTimeSeries.
162 &quot;maxBlobSequenceLength&quot;: &quot;A String&quot;, # Output only. The largest blob sequence length (number of blobs) of all data points in this time series, if its ValueType is BLOB_SEQUENCE.
163 &quot;maxStep&quot;: &quot;A String&quot;, # Output only. Max step index of all data points within a TensorboardTimeSeries.
164 &quot;maxWallTime&quot;: &quot;A String&quot;, # Output only. Max wall clock timestamp of all data points within a TensorboardTimeSeries.
165 },
166 &quot;name&quot;: &quot;A String&quot;, # Output only. Name of the TensorboardTimeSeries.
167 &quot;pluginData&quot;: &quot;A String&quot;, # Data of the current plugin, with the size limited to 65KB.
168 &quot;pluginName&quot;: &quot;A String&quot;, # Immutable. Name of the plugin this time series pertain to. Such as Scalar, Tensor, Blob
169 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this TensorboardTimeSeries was last updated.
170 &quot;valueType&quot;: &quot;A String&quot;, # Required. Immutable. Type of TensorboardTimeSeries value.
171 }</pre>
172 </div>
173
174 <div class="method">
175 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
176 <pre>Deletes a TensorboardTimeSeries.
177
178 Args:
179 name: string, Required. The name of the TensorboardTimeSeries to be deleted. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` (required)
180 x__xgafv: string, V1 error format.
181 Allowed values
182 1 - v1 error format
183 2 - v2 error format
184
185 Returns:
186 An object of the form:
187
188 { # This resource represents a long-running operation that is the result of a network API call.
189 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
190 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
191 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
192 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
193 {
194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
195 },
196 ],
197 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
198 },
199 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
201 },
202 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
203 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
204 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
205 },
206 }</pre>
207 </div>
208
209 <div class="method">
210 <code class="details" id="exportTensorboardTimeSeries">exportTensorboardTimeSeries(tensorboardTimeSeries, body=None, x__xgafv=None)</code>
211 <pre>Exports a TensorboardTimeSeries&#x27; data. Data is returned in paginated responses.
212
213 Args:
214 tensorboardTimeSeries: string, Required. The resource name of the TensorboardTimeSeries to export data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` (required)
215 body: object, The request body.
216 The object takes the form of:
217
218 { # Request message for TensorboardService.ExportTensorboardTimeSeriesData.
219 &quot;filter&quot;: &quot;A String&quot;, # Exports the TensorboardTimeSeries&#x27; data that match the filter expression.
220 &quot;orderBy&quot;: &quot;A String&quot;, # Field to use to sort the TensorboardTimeSeries&#x27; data. By default, TensorboardTimeSeries&#x27; data is returned in a pseudo random order.
221 &quot;pageSize&quot;: 42, # The maximum number of data points to return per page. The default page_size is 1000. Values must be between 1 and 10000. Values above 10000 are coerced to 10000.
222 &quot;pageToken&quot;: &quot;A String&quot;, # A page token, received from a previous ExportTensorboardTimeSeriesData call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ExportTensorboardTimeSeriesData must match the call that provided the page token.
223 }
224
225 x__xgafv: string, V1 error format.
226 Allowed values
227 1 - v1 error format
228 2 - v2 error format
229
230 Returns:
231 An object of the form:
232
233 { # Response message for TensorboardService.ExportTensorboardTimeSeriesData.
234 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
235 &quot;timeSeriesDataPoints&quot;: [ # The returned time series data points.
236 { # A TensorboardTimeSeries data point.
237 &quot;blobs&quot;: { # One point viewable on a blob metric plot, but mostly just a wrapper message to work around repeated fields can&#x27;t be used directly within `oneof` fields. # A blob sequence value.
238 &quot;values&quot;: [ # List of blobs contained within the sequence.
239 { # One blob (e.g, image, graph) viewable on a blob metric plot.
240 &quot;data&quot;: &quot;A String&quot;, # Optional. The bytes of the blob is not present unless it&#x27;s returned by the ReadTensorboardBlobData endpoint.
241 &quot;id&quot;: &quot;A String&quot;, # Output only. A URI safe key uniquely identifying a blob. Can be used to locate the blob stored in the Cloud Storage bucket of the consumer project.
242 },
243 ],
244 },
245 &quot;scalar&quot;: { # One point viewable on a scalar metric plot. # A scalar value.
246 &quot;value&quot;: 3.14, # Value of the point at this step / timestamp.
247 },
248 &quot;step&quot;: &quot;A String&quot;, # Step index of this data point within the run.
249 &quot;tensor&quot;: { # One point viewable on a tensor metric plot. # A tensor value.
250 &quot;value&quot;: &quot;A String&quot;, # Required. Serialized form of https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/tensor.proto
251 &quot;versionNumber&quot;: 42, # Optional. Version number of TensorProto used to serialize value.
252 },
253 &quot;wallTime&quot;: &quot;A String&quot;, # Wall clock timestamp when this data point is generated by the end user.
254 },
255 ],
256 }</pre>
257 </div>
258
259 <div class="method">
260 <code class="details" id="exportTensorboardTimeSeries_next">exportTensorboardTimeSeries_next()</code>
261 <pre>Retrieves the next page of results.
262
263 Args:
264 previous_request: The request for the previous page. (required)
265 previous_response: The response from the request for the previous page. (required)
266
267 Returns:
268 A request object that you can call &#x27;execute()&#x27; on to request the next
269 page. Returns None if there are no more items in the collection.
270 </pre>
271 </div>
272
273 <div class="method">
274 <code class="details" id="get">get(name, x__xgafv=None)</code>
275 <pre>Gets a TensorboardTimeSeries.
276
277 Args:
278 name: string, Required. The name of the TensorboardTimeSeries resource. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` (required)
279 x__xgafv: string, V1 error format.
280 Allowed values
281 1 - v1 error format
282 2 - v2 error format
283
284 Returns:
285 An object of the form:
286
287 { # TensorboardTimeSeries maps to times series produced in training runs
288 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this TensorboardTimeSeries was created.
289 &quot;description&quot;: &quot;A String&quot;, # Description of this TensorboardTimeSeries.
290 &quot;displayName&quot;: &quot;A String&quot;, # Required. User provided name of this TensorboardTimeSeries. This value should be unique among all TensorboardTimeSeries resources belonging to the same TensorboardRun resource (parent resource).
291 &quot;etag&quot;: &quot;A String&quot;, # Used to perform a consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
292 &quot;metadata&quot;: { # Describes metadata for a TensorboardTimeSeries. # Output only. Scalar, Tensor, or Blob metadata for this TensorboardTimeSeries.
293 &quot;maxBlobSequenceLength&quot;: &quot;A String&quot;, # Output only. The largest blob sequence length (number of blobs) of all data points in this time series, if its ValueType is BLOB_SEQUENCE.
294 &quot;maxStep&quot;: &quot;A String&quot;, # Output only. Max step index of all data points within a TensorboardTimeSeries.
295 &quot;maxWallTime&quot;: &quot;A String&quot;, # Output only. Max wall clock timestamp of all data points within a TensorboardTimeSeries.
296 },
297 &quot;name&quot;: &quot;A String&quot;, # Output only. Name of the TensorboardTimeSeries.
298 &quot;pluginData&quot;: &quot;A String&quot;, # Data of the current plugin, with the size limited to 65KB.
299 &quot;pluginName&quot;: &quot;A String&quot;, # Immutable. Name of the plugin this time series pertain to. Such as Scalar, Tensor, Blob
300 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this TensorboardTimeSeries was last updated.
301 &quot;valueType&quot;: &quot;A String&quot;, # Required. Immutable. Type of TensorboardTimeSeries value.
302 }</pre>
303 </div>
304
305 <div class="method">
306 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</code>
307 <pre>Lists TensorboardTimeSeries in a Location.
308
309 Args:
310 parent: string, Required. The resource name of the TensorboardRun to list TensorboardTimeSeries. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` (required)
311 filter: string, Lists the TensorboardTimeSeries that match the filter expression.
312 orderBy: string, Field to use to sort the list.
313 pageSize: integer, The maximum number of TensorboardTimeSeries to return. The service may return fewer than this value. If unspecified, at most 50 TensorboardTimeSeries are returned. The maximum value is 1000; values above 1000 are coerced to 1000.
314 pageToken: string, A page token, received from a previous TensorboardService.ListTensorboardTimeSeries call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to TensorboardService.ListTensorboardTimeSeries must match the call that provided the page token.
315 readMask: string, Mask specifying which fields to read.
316 x__xgafv: string, V1 error format.
317 Allowed values
318 1 - v1 error format
319 2 - v2 error format
320
321 Returns:
322 An object of the form:
323
324 { # Response message for TensorboardService.ListTensorboardTimeSeries.
325 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as ListTensorboardTimeSeriesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
326 &quot;tensorboardTimeSeries&quot;: [ # The TensorboardTimeSeries mathching the request.
327 { # TensorboardTimeSeries maps to times series produced in training runs
328 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this TensorboardTimeSeries was created.
329 &quot;description&quot;: &quot;A String&quot;, # Description of this TensorboardTimeSeries.
330 &quot;displayName&quot;: &quot;A String&quot;, # Required. User provided name of this TensorboardTimeSeries. This value should be unique among all TensorboardTimeSeries resources belonging to the same TensorboardRun resource (parent resource).
331 &quot;etag&quot;: &quot;A String&quot;, # Used to perform a consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
332 &quot;metadata&quot;: { # Describes metadata for a TensorboardTimeSeries. # Output only. Scalar, Tensor, or Blob metadata for this TensorboardTimeSeries.
333 &quot;maxBlobSequenceLength&quot;: &quot;A String&quot;, # Output only. The largest blob sequence length (number of blobs) of all data points in this time series, if its ValueType is BLOB_SEQUENCE.
334 &quot;maxStep&quot;: &quot;A String&quot;, # Output only. Max step index of all data points within a TensorboardTimeSeries.
335 &quot;maxWallTime&quot;: &quot;A String&quot;, # Output only. Max wall clock timestamp of all data points within a TensorboardTimeSeries.
336 },
337 &quot;name&quot;: &quot;A String&quot;, # Output only. Name of the TensorboardTimeSeries.
338 &quot;pluginData&quot;: &quot;A String&quot;, # Data of the current plugin, with the size limited to 65KB.
339 &quot;pluginName&quot;: &quot;A String&quot;, # Immutable. Name of the plugin this time series pertain to. Such as Scalar, Tensor, Blob
340 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this TensorboardTimeSeries was last updated.
341 &quot;valueType&quot;: &quot;A String&quot;, # Required. Immutable. Type of TensorboardTimeSeries value.
342 },
343 ],
344 }</pre>
345 </div>
346
347 <div class="method">
348 <code class="details" id="list_next">list_next()</code>
349 <pre>Retrieves the next page of results.
350
351 Args:
352 previous_request: The request for the previous page. (required)
353 previous_response: The response from the request for the previous page. (required)
354
355 Returns:
356 A request object that you can call &#x27;execute()&#x27; on to request the next
357 page. Returns None if there are no more items in the collection.
358 </pre>
359 </div>
360
361 <div class="method">
362 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
363 <pre>Updates a TensorboardTimeSeries.
364
365 Args:
366 name: string, Output only. Name of the TensorboardTimeSeries. (required)
367 body: object, The request body.
368 The object takes the form of:
369
370 { # TensorboardTimeSeries maps to times series produced in training runs
371 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this TensorboardTimeSeries was created.
372 &quot;description&quot;: &quot;A String&quot;, # Description of this TensorboardTimeSeries.
373 &quot;displayName&quot;: &quot;A String&quot;, # Required. User provided name of this TensorboardTimeSeries. This value should be unique among all TensorboardTimeSeries resources belonging to the same TensorboardRun resource (parent resource).
374 &quot;etag&quot;: &quot;A String&quot;, # Used to perform a consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
375 &quot;metadata&quot;: { # Describes metadata for a TensorboardTimeSeries. # Output only. Scalar, Tensor, or Blob metadata for this TensorboardTimeSeries.
376 &quot;maxBlobSequenceLength&quot;: &quot;A String&quot;, # Output only. The largest blob sequence length (number of blobs) of all data points in this time series, if its ValueType is BLOB_SEQUENCE.
377 &quot;maxStep&quot;: &quot;A String&quot;, # Output only. Max step index of all data points within a TensorboardTimeSeries.
378 &quot;maxWallTime&quot;: &quot;A String&quot;, # Output only. Max wall clock timestamp of all data points within a TensorboardTimeSeries.
379 },
380 &quot;name&quot;: &quot;A String&quot;, # Output only. Name of the TensorboardTimeSeries.
381 &quot;pluginData&quot;: &quot;A String&quot;, # Data of the current plugin, with the size limited to 65KB.
382 &quot;pluginName&quot;: &quot;A String&quot;, # Immutable. Name of the plugin this time series pertain to. Such as Scalar, Tensor, Blob
383 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this TensorboardTimeSeries was last updated.
384 &quot;valueType&quot;: &quot;A String&quot;, # Required. Immutable. Type of TensorboardTimeSeries value.
385 }
386
387 updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the TensorboardTimeSeries resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it&#x27;s in the mask. If the user does not provide a mask then all fields are overwritten if new values are specified.
388 x__xgafv: string, V1 error format.
389 Allowed values
390 1 - v1 error format
391 2 - v2 error format
392
393 Returns:
394 An object of the form:
395
396 { # TensorboardTimeSeries maps to times series produced in training runs
397 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this TensorboardTimeSeries was created.
398 &quot;description&quot;: &quot;A String&quot;, # Description of this TensorboardTimeSeries.
399 &quot;displayName&quot;: &quot;A String&quot;, # Required. User provided name of this TensorboardTimeSeries. This value should be unique among all TensorboardTimeSeries resources belonging to the same TensorboardRun resource (parent resource).
400 &quot;etag&quot;: &quot;A String&quot;, # Used to perform a consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
401 &quot;metadata&quot;: { # Describes metadata for a TensorboardTimeSeries. # Output only. Scalar, Tensor, or Blob metadata for this TensorboardTimeSeries.
402 &quot;maxBlobSequenceLength&quot;: &quot;A String&quot;, # Output only. The largest blob sequence length (number of blobs) of all data points in this time series, if its ValueType is BLOB_SEQUENCE.
403 &quot;maxStep&quot;: &quot;A String&quot;, # Output only. Max step index of all data points within a TensorboardTimeSeries.
404 &quot;maxWallTime&quot;: &quot;A String&quot;, # Output only. Max wall clock timestamp of all data points within a TensorboardTimeSeries.
405 },
406 &quot;name&quot;: &quot;A String&quot;, # Output only. Name of the TensorboardTimeSeries.
407 &quot;pluginData&quot;: &quot;A String&quot;, # Data of the current plugin, with the size limited to 65KB.
408 &quot;pluginName&quot;: &quot;A String&quot;, # Immutable. Name of the plugin this time series pertain to. Such as Scalar, Tensor, Blob
409 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this TensorboardTimeSeries was last updated.
410 &quot;valueType&quot;: &quot;A String&quot;, # Required. Immutable. Type of TensorboardTimeSeries value.
411 }</pre>
412 </div>
413
414 <div class="method">
415 <code class="details" id="read">read(tensorboardTimeSeries, filter=None, maxDataPoints=None, x__xgafv=None)</code>
416 <pre>Reads a TensorboardTimeSeries&#x27; data. By default, if the number of data points stored is less than 1000, all data is returned. Otherwise, 1000 data points is randomly selected from this time series and returned. This value can be changed by changing max_data_points, which can&#x27;t be greater than 10k.
417
418 Args:
419 tensorboardTimeSeries: string, Required. The resource name of the TensorboardTimeSeries to read data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` (required)
420 filter: string, Reads the TensorboardTimeSeries&#x27; data that match the filter expression.
421 maxDataPoints: integer, The maximum number of TensorboardTimeSeries&#x27; data to return. This value should be a positive integer. This value can be set to -1 to return all data.
422 x__xgafv: string, V1 error format.
423 Allowed values
424 1 - v1 error format
425 2 - v2 error format
426
427 Returns:
428 An object of the form:
429
430 { # Response message for TensorboardService.ReadTensorboardTimeSeriesData.
431 &quot;timeSeriesData&quot;: { # All the data stored in a TensorboardTimeSeries. # The returned time series data.
432 &quot;tensorboardTimeSeriesId&quot;: &quot;A String&quot;, # Required. The ID of the TensorboardTimeSeries, which will become the final component of the TensorboardTimeSeries&#x27; resource name
433 &quot;valueType&quot;: &quot;A String&quot;, # Required. Immutable. The value type of this time series. All the values in this time series data must match this value type.
434 &quot;values&quot;: [ # Required. Data points in this time series.
435 { # A TensorboardTimeSeries data point.
436 &quot;blobs&quot;: { # One point viewable on a blob metric plot, but mostly just a wrapper message to work around repeated fields can&#x27;t be used directly within `oneof` fields. # A blob sequence value.
437 &quot;values&quot;: [ # List of blobs contained within the sequence.
438 { # One blob (e.g, image, graph) viewable on a blob metric plot.
439 &quot;data&quot;: &quot;A String&quot;, # Optional. The bytes of the blob is not present unless it&#x27;s returned by the ReadTensorboardBlobData endpoint.
440 &quot;id&quot;: &quot;A String&quot;, # Output only. A URI safe key uniquely identifying a blob. Can be used to locate the blob stored in the Cloud Storage bucket of the consumer project.
441 },
442 ],
443 },
444 &quot;scalar&quot;: { # One point viewable on a scalar metric plot. # A scalar value.
445 &quot;value&quot;: 3.14, # Value of the point at this step / timestamp.
446 },
447 &quot;step&quot;: &quot;A String&quot;, # Step index of this data point within the run.
448 &quot;tensor&quot;: { # One point viewable on a tensor metric plot. # A tensor value.
449 &quot;value&quot;: &quot;A String&quot;, # Required. Serialized form of https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/tensor.proto
450 &quot;versionNumber&quot;: 42, # Optional. Version number of TensorProto used to serialize value.
451 },
452 &quot;wallTime&quot;: &quot;A String&quot;, # Wall clock timestamp when this data point is generated by the end user.
453 },
454 ],
455 },
456 }</pre>
457 </div>
458
459 <div class="method">
460 <code class="details" id="readBlobData">readBlobData(timeSeries, blobIds=None, x__xgafv=None)</code>
461 <pre>Gets bytes of TensorboardBlobs. This is to allow reading blob data stored in consumer project&#x27;s Cloud Storage bucket without users having to obtain Cloud Storage access permission.
462
463 Args:
464 timeSeries: string, Required. The resource name of the TensorboardTimeSeries to list Blobs. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` (required)
465 blobIds: string, IDs of the blobs to read. (repeated)
466 x__xgafv: string, V1 error format.
467 Allowed values
468 1 - v1 error format
469 2 - v2 error format
470
471 Returns:
472 An object of the form:
473
474 { # Response message for TensorboardService.ReadTensorboardBlobData.
475 &quot;blobs&quot;: [ # Blob messages containing blob bytes.
476 { # One blob (e.g, image, graph) viewable on a blob metric plot.
477 &quot;data&quot;: &quot;A String&quot;, # Optional. The bytes of the blob is not present unless it&#x27;s returned by the ReadTensorboardBlobData endpoint.
478 &quot;id&quot;: &quot;A String&quot;, # Output only. A URI safe key uniquely identifying a blob. Can be used to locate the blob stored in the Cloud Storage bucket of the consumer project.
479 },
480 ],
481 }</pre>
482 </div>
483
484 </body></html>