Debian Codegraph @

docs/dyn/aiplatform_v1.projects.locations.tensorboards.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></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="aiplatform_v1.projects.locations.tensorboards.experiments.html">experiments()</a></code>
79 </p>
80 <p class="firstline">Returns the experiments Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="aiplatform_v1.projects.locations.tensorboards.operations.html">operations()</a></code>
84 </p>
85 <p class="firstline">Returns the operations Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="#batchRead">batchRead(tensorboard, timeSeries=None, x__xgafv=None)</a></code></p>
89 <p class="firstline">Reads multiple TensorboardTimeSeries' data. The data point number limit is 1000 for scalars, 100 for tensors and blob references. If the number of data points stored is less than the limit, all data is returned. Otherwise, the number limit of data points is randomly selected from this time series and returned.</p>
90 <p class="toc_element">
91 <code><a href="#close">close()</a></code></p>
92 <p class="firstline">Close httplib2 connections.</p>
93 <p class="toc_element">
94 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
95 <p class="firstline">Creates a Tensorboard.</p>
96 <p class="toc_element">
97 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
98 <p class="firstline">Deletes a Tensorboard.</p>
99 <p class="toc_element">
100 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
101 <p class="firstline">Gets a Tensorboard.</p>
102 <p class="toc_element">
103 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</a></code></p>
104 <p class="firstline">Lists Tensorboards in a Location.</p>
105 <p class="toc_element">
106 <code><a href="#list_next">list_next()</a></code></p>
107 <p class="firstline">Retrieves the next page of results.</p>
108 <p class="toc_element">
109 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
110 <p class="firstline">Updates a Tensorboard.</p>
111 <p class="toc_element">
112 <code><a href="#readSize">readSize(tensorboard, x__xgafv=None)</a></code></p>
113 <p class="firstline">Returns the storage size for a given TensorBoard instance.</p>
114 <p class="toc_element">
115 <code><a href="#readUsage">readUsage(tensorboard, x__xgafv=None)</a></code></p>
116 <p class="firstline">Returns a list of monthly active users for a given TensorBoard instance.</p>
117 <h3>Method Details</h3>
118 <div class="method">
119 <code class="details" id="batchRead">batchRead(tensorboard, timeSeries=None, x__xgafv=None)</code>
120 <pre>Reads multiple TensorboardTimeSeries&#x27; data. The data point number limit is 1000 for scalars, 100 for tensors and blob references. If the number of data points stored is less than the limit, all data is returned. Otherwise, the number limit of data points is randomly selected from this time series and returned.
121
122 Args:
123 tensorboard: string, Required. The resource name of the Tensorboard containing TensorboardTimeSeries to read data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. The TensorboardTimeSeries referenced by time_series must be sub resources of this Tensorboard. (required)
124 timeSeries: string, Required. The resource names of the TensorboardTimeSeries to read data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` (repeated)
125 x__xgafv: string, V1 error format.
126 Allowed values
127 1 - v1 error format
128 2 - v2 error format
129
130 Returns:
131 An object of the form:
132
133 { # Response message for TensorboardService.BatchReadTensorboardTimeSeriesData.
134 &quot;timeSeriesData&quot;: [ # The returned time series data.
135 { # All the data stored in a TensorboardTimeSeries.
136 &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
137 &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.
138 &quot;values&quot;: [ # Required. Data points in this time series.
139 { # A TensorboardTimeSeries data point.
140 &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.
141 &quot;values&quot;: [ # List of blobs contained within the sequence.
142 { # One blob (e.g, image, graph) viewable on a blob metric plot.
143 &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.
144 &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.
145 },
146 ],
147 },
148 &quot;scalar&quot;: { # One point viewable on a scalar metric plot. # A scalar value.
149 &quot;value&quot;: 3.14, # Value of the point at this step / timestamp.
150 },
151 &quot;step&quot;: &quot;A String&quot;, # Step index of this data point within the run.
152 &quot;tensor&quot;: { # One point viewable on a tensor metric plot. # A tensor value.
153 &quot;value&quot;: &quot;A String&quot;, # Required. Serialized form of https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/tensor.proto
154 &quot;versionNumber&quot;: 42, # Optional. Version number of TensorProto used to serialize value.
155 },
156 &quot;wallTime&quot;: &quot;A String&quot;, # Wall clock timestamp when this data point is generated by the end user.
157 },
158 ],
159 },
160 ],
161 }</pre>
162 </div>
163
164 <div class="method">
165 <code class="details" id="close">close()</code>
166 <pre>Close httplib2 connections.</pre>
167 </div>
168
169 <div class="method">
170 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
171 <pre>Creates a Tensorboard.
172
173 Args:
174 parent: string, Required. The resource name of the Location to create the Tensorboard in. Format: `projects/{project}/locations/{location}` (required)
175 body: object, The request body.
176 The object takes the form of:
177
178 { # Tensorboard is a physical database that stores users&#x27; training metrics. A default Tensorboard is provided in each region of a Google Cloud project. If needed users can also create extra Tensorboards in their projects.
179 &quot;blobStoragePathPrefix&quot;: &quot;A String&quot;, # Output only. Consumer project Cloud Storage path prefix used to store blob data, which can either be a bucket or directory. Does not end with a &#x27;/&#x27;.
180 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Tensorboard was created.
181 &quot;description&quot;: &quot;A String&quot;, # Description of this Tensorboard.
182 &quot;displayName&quot;: &quot;A String&quot;, # Required. User provided name of this Tensorboard.
183 &quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key specification that can be applied to a Vertex AI resource. # Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key.
184 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. Resource name of the Cloud KMS key used to protect the resource. The Cloud KMS key must be in the same region as the resource. It must have the format `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
185 },
186 &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.
187 &quot;isDefault&quot;: True or False, # Used to indicate if the TensorBoard instance is the default one. Each project &amp; region can have at most one default TensorBoard instance. Creation of a default TensorBoard instance and updating an existing TensorBoard instance to be default will mark all other TensorBoard instances (if any) as non default.
188 &quot;labels&quot;: { # The labels with user-defined metadata to organize your Tensorboards. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with &quot;aiplatform.googleapis.com/&quot; and are immutable.
189 &quot;a_key&quot;: &quot;A String&quot;,
190 },
191 &quot;name&quot;: &quot;A String&quot;, # Output only. Name of the Tensorboard. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
192 &quot;runCount&quot;: 42, # Output only. The number of Runs stored in this Tensorboard.
193 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
194 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
195 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Tensorboard was last updated.
196 }
197
198 x__xgafv: string, V1 error format.
199 Allowed values
200 1 - v1 error format
201 2 - v2 error format
202
203 Returns:
204 An object of the form:
205
206 { # This resource represents a long-running operation that is the result of a network API call.
207 &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.
208 &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.
209 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
210 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
211 {
212 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
213 },
214 ],
215 &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.
216 },
217 &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.
218 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
219 },
220 &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}`.
221 &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`.
222 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
223 },
224 }</pre>
225 </div>
226
227 <div class="method">
228 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
229 <pre>Deletes a Tensorboard.
230
231 Args:
232 name: string, Required. The name of the Tensorboard to be deleted. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}` (required)
233 x__xgafv: string, V1 error format.
234 Allowed values
235 1 - v1 error format
236 2 - v2 error format
237
238 Returns:
239 An object of the form:
240
241 { # This resource represents a long-running operation that is the result of a network API call.
242 &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.
243 &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.
244 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
245 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
246 {
247 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
248 },
249 ],
250 &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.
251 },
252 &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.
253 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
254 },
255 &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}`.
256 &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`.
257 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
258 },
259 }</pre>
260 </div>
261
262 <div class="method">
263 <code class="details" id="get">get(name, x__xgafv=None)</code>
264 <pre>Gets a Tensorboard.
265
266 Args:
267 name: string, Required. The name of the Tensorboard resource. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}` (required)
268 x__xgafv: string, V1 error format.
269 Allowed values
270 1 - v1 error format
271 2 - v2 error format
272
273 Returns:
274 An object of the form:
275
276 { # Tensorboard is a physical database that stores users&#x27; training metrics. A default Tensorboard is provided in each region of a Google Cloud project. If needed users can also create extra Tensorboards in their projects.
277 &quot;blobStoragePathPrefix&quot;: &quot;A String&quot;, # Output only. Consumer project Cloud Storage path prefix used to store blob data, which can either be a bucket or directory. Does not end with a &#x27;/&#x27;.
278 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Tensorboard was created.
279 &quot;description&quot;: &quot;A String&quot;, # Description of this Tensorboard.
280 &quot;displayName&quot;: &quot;A String&quot;, # Required. User provided name of this Tensorboard.
281 &quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key specification that can be applied to a Vertex AI resource. # Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key.
282 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. Resource name of the Cloud KMS key used to protect the resource. The Cloud KMS key must be in the same region as the resource. It must have the format `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
283 },
284 &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.
285 &quot;isDefault&quot;: True or False, # Used to indicate if the TensorBoard instance is the default one. Each project &amp; region can have at most one default TensorBoard instance. Creation of a default TensorBoard instance and updating an existing TensorBoard instance to be default will mark all other TensorBoard instances (if any) as non default.
286 &quot;labels&quot;: { # The labels with user-defined metadata to organize your Tensorboards. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with &quot;aiplatform.googleapis.com/&quot; and are immutable.
287 &quot;a_key&quot;: &quot;A String&quot;,
288 },
289 &quot;name&quot;: &quot;A String&quot;, # Output only. Name of the Tensorboard. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
290 &quot;runCount&quot;: 42, # Output only. The number of Runs stored in this Tensorboard.
291 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
292 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
293 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Tensorboard was last updated.
294 }</pre>
295 </div>
296
297 <div class="method">
298 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</code>
299 <pre>Lists Tensorboards in a Location.
300
301 Args:
302 parent: string, Required. The resource name of the Location to list Tensorboards. Format: `projects/{project}/locations/{location}` (required)
303 filter: string, Lists the Tensorboards that match the filter expression.
304 orderBy: string, Field to use to sort the list.
305 pageSize: integer, The maximum number of Tensorboards to return. The service may return fewer than this value. If unspecified, at most 100 Tensorboards are returned. The maximum value is 100; values above 100 are coerced to 100.
306 pageToken: string, A page token, received from a previous TensorboardService.ListTensorboards call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to TensorboardService.ListTensorboards must match the call that provided the page token.
307 readMask: string, Mask specifying which fields to read.
308 x__xgafv: string, V1 error format.
309 Allowed values
310 1 - v1 error format
311 2 - v2 error format
312
313 Returns:
314 An object of the form:
315
316 { # Response message for TensorboardService.ListTensorboards.
317 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as ListTensorboardsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
318 &quot;tensorboards&quot;: [ # The Tensorboards mathching the request.
319 { # Tensorboard is a physical database that stores users&#x27; training metrics. A default Tensorboard is provided in each region of a Google Cloud project. If needed users can also create extra Tensorboards in their projects.
320 &quot;blobStoragePathPrefix&quot;: &quot;A String&quot;, # Output only. Consumer project Cloud Storage path prefix used to store blob data, which can either be a bucket or directory. Does not end with a &#x27;/&#x27;.
321 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Tensorboard was created.
322 &quot;description&quot;: &quot;A String&quot;, # Description of this Tensorboard.
323 &quot;displayName&quot;: &quot;A String&quot;, # Required. User provided name of this Tensorboard.
324 &quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key specification that can be applied to a Vertex AI resource. # Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key.
325 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. Resource name of the Cloud KMS key used to protect the resource. The Cloud KMS key must be in the same region as the resource. It must have the format `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
326 },
327 &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.
328 &quot;isDefault&quot;: True or False, # Used to indicate if the TensorBoard instance is the default one. Each project &amp; region can have at most one default TensorBoard instance. Creation of a default TensorBoard instance and updating an existing TensorBoard instance to be default will mark all other TensorBoard instances (if any) as non default.
329 &quot;labels&quot;: { # The labels with user-defined metadata to organize your Tensorboards. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with &quot;aiplatform.googleapis.com/&quot; and are immutable.
330 &quot;a_key&quot;: &quot;A String&quot;,
331 },
332 &quot;name&quot;: &quot;A String&quot;, # Output only. Name of the Tensorboard. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
333 &quot;runCount&quot;: 42, # Output only. The number of Runs stored in this Tensorboard.
334 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
335 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
336 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Tensorboard was last updated.
337 },
338 ],
339 }</pre>
340 </div>
341
342 <div class="method">
343 <code class="details" id="list_next">list_next()</code>
344 <pre>Retrieves the next page of results.
345
346 Args:
347 previous_request: The request for the previous page. (required)
348 previous_response: The response from the request for the previous page. (required)
349
350 Returns:
351 A request object that you can call &#x27;execute()&#x27; on to request the next
352 page. Returns None if there are no more items in the collection.
353 </pre>
354 </div>
355
356 <div class="method">
357 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
358 <pre>Updates a Tensorboard.
359
360 Args:
361 name: string, Output only. Name of the Tensorboard. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}` (required)
362 body: object, The request body.
363 The object takes the form of:
364
365 { # Tensorboard is a physical database that stores users&#x27; training metrics. A default Tensorboard is provided in each region of a Google Cloud project. If needed users can also create extra Tensorboards in their projects.
366 &quot;blobStoragePathPrefix&quot;: &quot;A String&quot;, # Output only. Consumer project Cloud Storage path prefix used to store blob data, which can either be a bucket or directory. Does not end with a &#x27;/&#x27;.
367 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Tensorboard was created.
368 &quot;description&quot;: &quot;A String&quot;, # Description of this Tensorboard.
369 &quot;displayName&quot;: &quot;A String&quot;, # Required. User provided name of this Tensorboard.
370 &quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key specification that can be applied to a Vertex AI resource. # Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key.
371 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. Resource name of the Cloud KMS key used to protect the resource. The Cloud KMS key must be in the same region as the resource. It must have the format `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
372 },
373 &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.
374 &quot;isDefault&quot;: True or False, # Used to indicate if the TensorBoard instance is the default one. Each project &amp; region can have at most one default TensorBoard instance. Creation of a default TensorBoard instance and updating an existing TensorBoard instance to be default will mark all other TensorBoard instances (if any) as non default.
375 &quot;labels&quot;: { # The labels with user-defined metadata to organize your Tensorboards. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with &quot;aiplatform.googleapis.com/&quot; and are immutable.
376 &quot;a_key&quot;: &quot;A String&quot;,
377 },
378 &quot;name&quot;: &quot;A String&quot;, # Output only. Name of the Tensorboard. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
379 &quot;runCount&quot;: 42, # Output only. The number of Runs stored in this Tensorboard.
380 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
381 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
382 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Tensorboard was last updated.
383 }
384
385 updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the Tensorboard 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.
386 x__xgafv: string, V1 error format.
387 Allowed values
388 1 - v1 error format
389 2 - v2 error format
390
391 Returns:
392 An object of the form:
393
394 { # This resource represents a long-running operation that is the result of a network API call.
395 &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.
396 &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.
397 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
398 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
399 {
400 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
401 },
402 ],
403 &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.
404 },
405 &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.
406 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
407 },
408 &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}`.
409 &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`.
410 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
411 },
412 }</pre>
413 </div>
414
415 <div class="method">
416 <code class="details" id="readSize">readSize(tensorboard, x__xgafv=None)</code>
417 <pre>Returns the storage size for a given TensorBoard instance.
418
419 Args:
420 tensorboard: string, Required. The name of the Tensorboard resource. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}` (required)
421 x__xgafv: string, V1 error format.
422 Allowed values
423 1 - v1 error format
424 2 - v2 error format
425
426 Returns:
427 An object of the form:
428
429 { # Response message for TensorboardService.ReadTensorboardSize.
430 &quot;storageSizeByte&quot;: &quot;A String&quot;, # Payload storage size for the TensorBoard
431 }</pre>
432 </div>
433
434 <div class="method">
435 <code class="details" id="readUsage">readUsage(tensorboard, x__xgafv=None)</code>
436 <pre>Returns a list of monthly active users for a given TensorBoard instance.
437
438 Args:
439 tensorboard: string, Required. The name of the Tensorboard resource. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}` (required)
440 x__xgafv: string, V1 error format.
441 Allowed values
442 1 - v1 error format
443 2 - v2 error format
444
445 Returns:
446 An object of the form:
447
448 { # Response message for TensorboardService.ReadTensorboardUsage.
449 &quot;monthlyUsageData&quot;: { # Maps year-month (YYYYMM) string to per month usage data.
450 &quot;a_key&quot;: { # Per month usage data
451 &quot;userUsageData&quot;: [ # Usage data for each user in the given month.
452 { # Per user usage data.
453 &quot;username&quot;: &quot;A String&quot;, # User&#x27;s username
454 &quot;viewCount&quot;: &quot;A String&quot;, # Number of times the user has read data within the Tensorboard.
455 },
456 ],
457 },
458 },
459 }</pre>
460 </div>
461
462 </body></html>