tensorboard_service.proto 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006
  1. // Copyright 2022 Google LLC
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. syntax = "proto3";
  15. package google.cloud.aiplatform.v1;
  16. import "google/api/annotations.proto";
  17. import "google/api/client.proto";
  18. import "google/api/field_behavior.proto";
  19. import "google/api/resource.proto";
  20. import "google/cloud/aiplatform/v1/operation.proto";
  21. import "google/cloud/aiplatform/v1/tensorboard.proto";
  22. import "google/cloud/aiplatform/v1/tensorboard_data.proto";
  23. import "google/cloud/aiplatform/v1/tensorboard_experiment.proto";
  24. import "google/cloud/aiplatform/v1/tensorboard_run.proto";
  25. import "google/cloud/aiplatform/v1/tensorboard_time_series.proto";
  26. import "google/longrunning/operations.proto";
  27. import "google/protobuf/field_mask.proto";
  28. option csharp_namespace = "Google.Cloud.AIPlatform.V1";
  29. option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform";
  30. option java_multiple_files = true;
  31. option java_outer_classname = "TensorboardServiceProto";
  32. option java_package = "com.google.cloud.aiplatform.v1";
  33. option php_namespace = "Google\\Cloud\\AIPlatform\\V1";
  34. option ruby_package = "Google::Cloud::AIPlatform::V1";
  35. // TensorboardService
  36. service TensorboardService {
  37. option (google.api.default_host) = "aiplatform.googleapis.com";
  38. option (google.api.oauth_scopes) =
  39. "https://www.googleapis.com/auth/cloud-platform,"
  40. "https://www.googleapis.com/auth/cloud-platform.read-only";
  41. // Creates a Tensorboard.
  42. rpc CreateTensorboard(CreateTensorboardRequest) returns (google.longrunning.Operation) {
  43. option (google.api.http) = {
  44. post: "/v1/{parent=projects/*/locations/*}/tensorboards"
  45. body: "tensorboard"
  46. };
  47. option (google.api.method_signature) = "parent,tensorboard";
  48. option (google.longrunning.operation_info) = {
  49. response_type: "Tensorboard"
  50. metadata_type: "CreateTensorboardOperationMetadata"
  51. };
  52. }
  53. // Gets a Tensorboard.
  54. rpc GetTensorboard(GetTensorboardRequest) returns (Tensorboard) {
  55. option (google.api.http) = {
  56. get: "/v1/{name=projects/*/locations/*/tensorboards/*}"
  57. };
  58. option (google.api.method_signature) = "name";
  59. }
  60. // Updates a Tensorboard.
  61. rpc UpdateTensorboard(UpdateTensorboardRequest) returns (google.longrunning.Operation) {
  62. option (google.api.http) = {
  63. patch: "/v1/{tensorboard.name=projects/*/locations/*/tensorboards/*}"
  64. body: "tensorboard"
  65. };
  66. option (google.api.method_signature) = "tensorboard,update_mask";
  67. option (google.longrunning.operation_info) = {
  68. response_type: "Tensorboard"
  69. metadata_type: "UpdateTensorboardOperationMetadata"
  70. };
  71. }
  72. // Lists Tensorboards in a Location.
  73. rpc ListTensorboards(ListTensorboardsRequest) returns (ListTensorboardsResponse) {
  74. option (google.api.http) = {
  75. get: "/v1/{parent=projects/*/locations/*}/tensorboards"
  76. };
  77. option (google.api.method_signature) = "parent";
  78. }
  79. // Deletes a Tensorboard.
  80. rpc DeleteTensorboard(DeleteTensorboardRequest) returns (google.longrunning.Operation) {
  81. option (google.api.http) = {
  82. delete: "/v1/{name=projects/*/locations/*/tensorboards/*}"
  83. };
  84. option (google.api.method_signature) = "name";
  85. option (google.longrunning.operation_info) = {
  86. response_type: "google.protobuf.Empty"
  87. metadata_type: "DeleteOperationMetadata"
  88. };
  89. }
  90. // Creates a TensorboardExperiment.
  91. rpc CreateTensorboardExperiment(CreateTensorboardExperimentRequest) returns (TensorboardExperiment) {
  92. option (google.api.http) = {
  93. post: "/v1/{parent=projects/*/locations/*/tensorboards/*}/experiments"
  94. body: "tensorboard_experiment"
  95. };
  96. option (google.api.method_signature) = "parent,tensorboard_experiment,tensorboard_experiment_id";
  97. }
  98. // Gets a TensorboardExperiment.
  99. rpc GetTensorboardExperiment(GetTensorboardExperimentRequest) returns (TensorboardExperiment) {
  100. option (google.api.http) = {
  101. get: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}"
  102. };
  103. option (google.api.method_signature) = "name";
  104. }
  105. // Updates a TensorboardExperiment.
  106. rpc UpdateTensorboardExperiment(UpdateTensorboardExperimentRequest) returns (TensorboardExperiment) {
  107. option (google.api.http) = {
  108. patch: "/v1/{tensorboard_experiment.name=projects/*/locations/*/tensorboards/*/experiments/*}"
  109. body: "tensorboard_experiment"
  110. };
  111. option (google.api.method_signature) = "tensorboard_experiment,update_mask";
  112. }
  113. // Lists TensorboardExperiments in a Location.
  114. rpc ListTensorboardExperiments(ListTensorboardExperimentsRequest) returns (ListTensorboardExperimentsResponse) {
  115. option (google.api.http) = {
  116. get: "/v1/{parent=projects/*/locations/*/tensorboards/*}/experiments"
  117. };
  118. option (google.api.method_signature) = "parent";
  119. }
  120. // Deletes a TensorboardExperiment.
  121. rpc DeleteTensorboardExperiment(DeleteTensorboardExperimentRequest) returns (google.longrunning.Operation) {
  122. option (google.api.http) = {
  123. delete: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}"
  124. };
  125. option (google.api.method_signature) = "name";
  126. option (google.longrunning.operation_info) = {
  127. response_type: "google.protobuf.Empty"
  128. metadata_type: "DeleteOperationMetadata"
  129. };
  130. }
  131. // Creates a TensorboardRun.
  132. rpc CreateTensorboardRun(CreateTensorboardRunRequest) returns (TensorboardRun) {
  133. option (google.api.http) = {
  134. post: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs"
  135. body: "tensorboard_run"
  136. };
  137. option (google.api.method_signature) = "parent,tensorboard_run,tensorboard_run_id";
  138. }
  139. // Batch create TensorboardRuns.
  140. rpc BatchCreateTensorboardRuns(BatchCreateTensorboardRunsRequest) returns (BatchCreateTensorboardRunsResponse) {
  141. option (google.api.http) = {
  142. post: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs:batchCreate"
  143. body: "*"
  144. };
  145. option (google.api.method_signature) = "parent,requests";
  146. }
  147. // Gets a TensorboardRun.
  148. rpc GetTensorboardRun(GetTensorboardRunRequest) returns (TensorboardRun) {
  149. option (google.api.http) = {
  150. get: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}"
  151. };
  152. option (google.api.method_signature) = "name";
  153. }
  154. // Updates a TensorboardRun.
  155. rpc UpdateTensorboardRun(UpdateTensorboardRunRequest) returns (TensorboardRun) {
  156. option (google.api.http) = {
  157. patch: "/v1/{tensorboard_run.name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}"
  158. body: "tensorboard_run"
  159. };
  160. option (google.api.method_signature) = "tensorboard_run,update_mask";
  161. }
  162. // Lists TensorboardRuns in a Location.
  163. rpc ListTensorboardRuns(ListTensorboardRunsRequest) returns (ListTensorboardRunsResponse) {
  164. option (google.api.http) = {
  165. get: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs"
  166. };
  167. option (google.api.method_signature) = "parent";
  168. }
  169. // Deletes a TensorboardRun.
  170. rpc DeleteTensorboardRun(DeleteTensorboardRunRequest) returns (google.longrunning.Operation) {
  171. option (google.api.http) = {
  172. delete: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}"
  173. };
  174. option (google.api.method_signature) = "name";
  175. option (google.longrunning.operation_info) = {
  176. response_type: "google.protobuf.Empty"
  177. metadata_type: "DeleteOperationMetadata"
  178. };
  179. }
  180. // Batch create TensorboardTimeSeries that belong to a TensorboardExperiment.
  181. rpc BatchCreateTensorboardTimeSeries(BatchCreateTensorboardTimeSeriesRequest) returns (BatchCreateTensorboardTimeSeriesResponse) {
  182. option (google.api.http) = {
  183. post: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs/*/timeSeries:batchCreate"
  184. body: "*"
  185. };
  186. option (google.api.method_signature) = "parent,requests";
  187. }
  188. // Creates a TensorboardTimeSeries.
  189. rpc CreateTensorboardTimeSeries(CreateTensorboardTimeSeriesRequest) returns (TensorboardTimeSeries) {
  190. option (google.api.http) = {
  191. post: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/timeSeries"
  192. body: "tensorboard_time_series"
  193. };
  194. option (google.api.method_signature) = "parent,tensorboard_time_series";
  195. }
  196. // Gets a TensorboardTimeSeries.
  197. rpc GetTensorboardTimeSeries(GetTensorboardTimeSeriesRequest) returns (TensorboardTimeSeries) {
  198. option (google.api.http) = {
  199. get: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}"
  200. };
  201. option (google.api.method_signature) = "name";
  202. }
  203. // Updates a TensorboardTimeSeries.
  204. rpc UpdateTensorboardTimeSeries(UpdateTensorboardTimeSeriesRequest) returns (TensorboardTimeSeries) {
  205. option (google.api.http) = {
  206. patch: "/v1/{tensorboard_time_series.name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}"
  207. body: "tensorboard_time_series"
  208. };
  209. option (google.api.method_signature) = "tensorboard_time_series,update_mask";
  210. }
  211. // Lists TensorboardTimeSeries in a Location.
  212. rpc ListTensorboardTimeSeries(ListTensorboardTimeSeriesRequest) returns (ListTensorboardTimeSeriesResponse) {
  213. option (google.api.http) = {
  214. get: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/timeSeries"
  215. };
  216. option (google.api.method_signature) = "parent";
  217. }
  218. // Deletes a TensorboardTimeSeries.
  219. rpc DeleteTensorboardTimeSeries(DeleteTensorboardTimeSeriesRequest) returns (google.longrunning.Operation) {
  220. option (google.api.http) = {
  221. delete: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}"
  222. };
  223. option (google.api.method_signature) = "name";
  224. option (google.longrunning.operation_info) = {
  225. response_type: "google.protobuf.Empty"
  226. metadata_type: "DeleteOperationMetadata"
  227. };
  228. }
  229. // Reads multiple TensorboardTimeSeries' data. The data point number limit is
  230. // 1000 for scalars, 100 for tensors and blob references. If the number of
  231. // data points stored is less than the limit, all data will be returned.
  232. // Otherwise, that limit number of data points will be randomly selected from
  233. // this time series and returned.
  234. rpc BatchReadTensorboardTimeSeriesData(BatchReadTensorboardTimeSeriesDataRequest) returns (BatchReadTensorboardTimeSeriesDataResponse) {
  235. option (google.api.http) = {
  236. get: "/v1/{tensorboard=projects/*/locations/*/tensorboards/*}/experiments/*/runs/*/timeSeries:batchRead"
  237. };
  238. option (google.api.method_signature) = "tensorboard";
  239. }
  240. // Reads a TensorboardTimeSeries' data. By default, if the number of data
  241. // points stored is less than 1000, all data will be returned. Otherwise, 1000
  242. // data points will be randomly selected from this time series and returned.
  243. // This value can be changed by changing max_data_points, which can't be
  244. // greater than 10k.
  245. rpc ReadTensorboardTimeSeriesData(ReadTensorboardTimeSeriesDataRequest) returns (ReadTensorboardTimeSeriesDataResponse) {
  246. option (google.api.http) = {
  247. get: "/v1/{tensorboard_time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:read"
  248. };
  249. option (google.api.method_signature) = "tensorboard_time_series";
  250. }
  251. // Gets bytes of TensorboardBlobs.
  252. // This is to allow reading blob data stored in consumer project's Cloud
  253. // Storage bucket without users having to obtain Cloud Storage access
  254. // permission.
  255. rpc ReadTensorboardBlobData(ReadTensorboardBlobDataRequest) returns (stream ReadTensorboardBlobDataResponse) {
  256. option (google.api.http) = {
  257. get: "/v1/{time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:readBlobData"
  258. };
  259. option (google.api.method_signature) = "time_series";
  260. }
  261. // Write time series data points of multiple TensorboardTimeSeries in multiple
  262. // TensorboardRun's. If any data fail to be ingested, an error will be
  263. // returned.
  264. rpc WriteTensorboardExperimentData(WriteTensorboardExperimentDataRequest) returns (WriteTensorboardExperimentDataResponse) {
  265. option (google.api.http) = {
  266. post: "/v1/{tensorboard_experiment=projects/*/locations/*/tensorboards/*/experiments/*}:write"
  267. body: "*"
  268. };
  269. option (google.api.method_signature) = "tensorboard_experiment,write_run_data_requests";
  270. }
  271. // Write time series data points into multiple TensorboardTimeSeries under
  272. // a TensorboardRun. If any data fail to be ingested, an error will be
  273. // returned.
  274. rpc WriteTensorboardRunData(WriteTensorboardRunDataRequest) returns (WriteTensorboardRunDataResponse) {
  275. option (google.api.http) = {
  276. post: "/v1/{tensorboard_run=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}:write"
  277. body: "*"
  278. };
  279. option (google.api.method_signature) = "tensorboard_run,time_series_data";
  280. }
  281. // Exports a TensorboardTimeSeries' data. Data is returned in paginated
  282. // responses.
  283. rpc ExportTensorboardTimeSeriesData(ExportTensorboardTimeSeriesDataRequest) returns (ExportTensorboardTimeSeriesDataResponse) {
  284. option (google.api.http) = {
  285. post: "/v1/{tensorboard_time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:exportTensorboardTimeSeries"
  286. body: "*"
  287. };
  288. option (google.api.method_signature) = "tensorboard_time_series";
  289. }
  290. }
  291. // Request message for [TensorboardService.CreateTensorboard][google.cloud.aiplatform.v1.TensorboardService.CreateTensorboard].
  292. message CreateTensorboardRequest {
  293. // Required. The resource name of the Location to create the Tensorboard in.
  294. // Format: `projects/{project}/locations/{location}`
  295. string parent = 1 [
  296. (google.api.field_behavior) = REQUIRED,
  297. (google.api.resource_reference) = {
  298. type: "aiplatform.googleapis.com/Tensorboard"
  299. }
  300. ];
  301. // Required. The Tensorboard to create.
  302. Tensorboard tensorboard = 2 [(google.api.field_behavior) = REQUIRED];
  303. }
  304. // Request message for [TensorboardService.GetTensorboard][google.cloud.aiplatform.v1.TensorboardService.GetTensorboard].
  305. message GetTensorboardRequest {
  306. // Required. The name of the Tensorboard resource.
  307. // Format:
  308. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
  309. string name = 1 [
  310. (google.api.field_behavior) = REQUIRED,
  311. (google.api.resource_reference) = {
  312. type: "aiplatform.googleapis.com/Tensorboard"
  313. }
  314. ];
  315. }
  316. // Request message for [TensorboardService.ListTensorboards][google.cloud.aiplatform.v1.TensorboardService.ListTensorboards].
  317. message ListTensorboardsRequest {
  318. // Required. The resource name of the Location to list Tensorboards.
  319. // Format:
  320. // `projects/{project}/locations/{location}`
  321. string parent = 1 [
  322. (google.api.field_behavior) = REQUIRED,
  323. (google.api.resource_reference) = {
  324. child_type: "aiplatform.googleapis.com/Tensorboard"
  325. }
  326. ];
  327. // Lists the Tensorboards that match the filter expression.
  328. string filter = 2;
  329. // The maximum number of Tensorboards to return. The service may return
  330. // fewer than this value. If unspecified, at most 100 Tensorboards will be
  331. // returned. The maximum value is 100; values above 100 will be coerced to
  332. // 100.
  333. int32 page_size = 3;
  334. // A page token, received from a previous
  335. // [TensorboardService.ListTensorboards][google.cloud.aiplatform.v1.TensorboardService.ListTensorboards] call.
  336. // Provide this to retrieve the subsequent page.
  337. //
  338. // When paginating, all other parameters provided to
  339. // [TensorboardService.ListTensorboards][google.cloud.aiplatform.v1.TensorboardService.ListTensorboards] must
  340. // match the call that provided the page token.
  341. string page_token = 4;
  342. // Field to use to sort the list.
  343. string order_by = 5;
  344. // Mask specifying which fields to read.
  345. google.protobuf.FieldMask read_mask = 6;
  346. }
  347. // Response message for [TensorboardService.ListTensorboards][google.cloud.aiplatform.v1.TensorboardService.ListTensorboards].
  348. message ListTensorboardsResponse {
  349. // The Tensorboards mathching the request.
  350. repeated Tensorboard tensorboards = 1;
  351. // A token, which can be sent as [ListTensorboardsRequest.page_token][google.cloud.aiplatform.v1.ListTensorboardsRequest.page_token]
  352. // to retrieve the next page. If this field is omitted, there are no
  353. // subsequent pages.
  354. string next_page_token = 2;
  355. }
  356. // Request message for [TensorboardService.UpdateTensorboard][google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboard].
  357. message UpdateTensorboardRequest {
  358. // Required. Field mask is used to specify the fields to be overwritten in the
  359. // Tensorboard resource by the update.
  360. // The fields specified in the update_mask are relative to the resource, not
  361. // the full request. A field will be overwritten if it is in the mask. If the
  362. // user does not provide a mask then all fields will be overwritten if new
  363. // values are specified.
  364. google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED];
  365. // Required. The Tensorboard's `name` field is used to identify the
  366. // Tensorboard to be updated. Format:
  367. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
  368. Tensorboard tensorboard = 2 [(google.api.field_behavior) = REQUIRED];
  369. }
  370. // Request message for [TensorboardService.DeleteTensorboard][google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboard].
  371. message DeleteTensorboardRequest {
  372. // Required. The name of the Tensorboard to be deleted.
  373. // Format:
  374. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
  375. string name = 1 [
  376. (google.api.field_behavior) = REQUIRED,
  377. (google.api.resource_reference) = {
  378. type: "aiplatform.googleapis.com/Tensorboard"
  379. }
  380. ];
  381. }
  382. // Request message for [TensorboardService.CreateTensorboardExperiment][google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardExperiment].
  383. message CreateTensorboardExperimentRequest {
  384. // Required. The resource name of the Tensorboard to create the TensorboardExperiment
  385. // in. Format:
  386. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
  387. string parent = 1 [
  388. (google.api.field_behavior) = REQUIRED,
  389. (google.api.resource_reference) = {
  390. type: "aiplatform.googleapis.com/TensorboardExperiment"
  391. }
  392. ];
  393. // The TensorboardExperiment to create.
  394. TensorboardExperiment tensorboard_experiment = 2;
  395. // Required. The ID to use for the Tensorboard experiment, which will become the final
  396. // component of the Tensorboard experiment's resource name.
  397. //
  398. // This value should be 1-128 characters, and valid characters
  399. // are /[a-z][0-9]-/.
  400. string tensorboard_experiment_id = 3 [(google.api.field_behavior) = REQUIRED];
  401. }
  402. // Request message for [TensorboardService.GetTensorboardExperiment][google.cloud.aiplatform.v1.TensorboardService.GetTensorboardExperiment].
  403. message GetTensorboardExperimentRequest {
  404. // Required. The name of the TensorboardExperiment resource.
  405. // Format:
  406. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
  407. string name = 1 [
  408. (google.api.field_behavior) = REQUIRED,
  409. (google.api.resource_reference) = {
  410. type: "aiplatform.googleapis.com/TensorboardExperiment"
  411. }
  412. ];
  413. }
  414. // Request message for [TensorboardService.ListTensorboardExperiments][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments].
  415. message ListTensorboardExperimentsRequest {
  416. // Required. The resource name of the Tensorboard to list TensorboardExperiments.
  417. // Format:
  418. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
  419. string parent = 1 [
  420. (google.api.field_behavior) = REQUIRED,
  421. (google.api.resource_reference) = {
  422. child_type: "aiplatform.googleapis.com/TensorboardExperiment"
  423. }
  424. ];
  425. // Lists the TensorboardExperiments that match the filter expression.
  426. string filter = 2;
  427. // The maximum number of TensorboardExperiments to return. The service may
  428. // return fewer than this value. If unspecified, at most 50
  429. // TensorboardExperiments will be returned. The maximum value is 1000; values
  430. // above 1000 will be coerced to 1000.
  431. int32 page_size = 3;
  432. // A page token, received from a previous
  433. // [TensorboardService.ListTensorboardExperiments][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments] call.
  434. // Provide this to retrieve the subsequent page.
  435. //
  436. // When paginating, all other parameters provided to
  437. // [TensorboardService.ListTensorboardExperiments][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments] must
  438. // match the call that provided the page token.
  439. string page_token = 4;
  440. // Field to use to sort the list.
  441. string order_by = 5;
  442. // Mask specifying which fields to read.
  443. google.protobuf.FieldMask read_mask = 6;
  444. }
  445. // Response message for [TensorboardService.ListTensorboardExperiments][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments].
  446. message ListTensorboardExperimentsResponse {
  447. // The TensorboardExperiments mathching the request.
  448. repeated TensorboardExperiment tensorboard_experiments = 1;
  449. // A token, which can be sent as
  450. // [ListTensorboardExperimentsRequest.page_token][google.cloud.aiplatform.v1.ListTensorboardExperimentsRequest.page_token] to retrieve the next page.
  451. // If this field is omitted, there are no subsequent pages.
  452. string next_page_token = 2;
  453. }
  454. // Request message for [TensorboardService.UpdateTensorboardExperiment][google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardExperiment].
  455. message UpdateTensorboardExperimentRequest {
  456. // Required. Field mask is used to specify the fields to be overwritten in the
  457. // TensorboardExperiment resource by the update.
  458. // The fields specified in the update_mask are relative to the resource, not
  459. // the full request. A field will be overwritten if it is in the mask. If the
  460. // user does not provide a mask then all fields will be overwritten if new
  461. // values are specified.
  462. google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED];
  463. // Required. The TensorboardExperiment's `name` field is used to identify the
  464. // TensorboardExperiment to be updated. Format:
  465. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
  466. TensorboardExperiment tensorboard_experiment = 2 [(google.api.field_behavior) = REQUIRED];
  467. }
  468. // Request message for [TensorboardService.DeleteTensorboardExperiment][google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardExperiment].
  469. message DeleteTensorboardExperimentRequest {
  470. // Required. The name of the TensorboardExperiment to be deleted.
  471. // Format:
  472. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
  473. string name = 1 [
  474. (google.api.field_behavior) = REQUIRED,
  475. (google.api.resource_reference) = {
  476. type: "aiplatform.googleapis.com/TensorboardExperiment"
  477. }
  478. ];
  479. }
  480. // Request message for [TensorboardService.BatchCreateTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardRuns].
  481. message BatchCreateTensorboardRunsRequest {
  482. // Required. The resource name of the TensorboardExperiment to create the
  483. // TensorboardRuns in. Format:
  484. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
  485. // The parent field in the CreateTensorboardRunRequest messages must match
  486. // this field.
  487. string parent = 1 [
  488. (google.api.field_behavior) = REQUIRED,
  489. (google.api.resource_reference) = {
  490. type: "aiplatform.googleapis.com/TensorboardExperiment"
  491. }
  492. ];
  493. // Required. The request message specifying the TensorboardRuns to create.
  494. // A maximum of 1000 TensorboardRuns can be created in a batch.
  495. repeated CreateTensorboardRunRequest requests = 2 [(google.api.field_behavior) = REQUIRED];
  496. }
  497. // Response message for [TensorboardService.BatchCreateTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardRuns].
  498. message BatchCreateTensorboardRunsResponse {
  499. // The created TensorboardRuns.
  500. repeated TensorboardRun tensorboard_runs = 1;
  501. }
  502. // Request message for [TensorboardService.CreateTensorboardRun][google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardRun].
  503. message CreateTensorboardRunRequest {
  504. // Required. The resource name of the TensorboardExperiment to create the TensorboardRun
  505. // in. Format:
  506. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
  507. string parent = 1 [
  508. (google.api.field_behavior) = REQUIRED,
  509. (google.api.resource_reference) = {
  510. type: "aiplatform.googleapis.com/TensorboardRun"
  511. }
  512. ];
  513. // Required. The TensorboardRun to create.
  514. TensorboardRun tensorboard_run = 2 [(google.api.field_behavior) = REQUIRED];
  515. // Required. The ID to use for the Tensorboard run, which will become the final
  516. // component of the Tensorboard run's resource name.
  517. //
  518. // This value should be 1-128 characters, and valid characters
  519. // are /[a-z][0-9]-/.
  520. string tensorboard_run_id = 3 [(google.api.field_behavior) = REQUIRED];
  521. }
  522. // Request message for [TensorboardService.GetTensorboardRun][google.cloud.aiplatform.v1.TensorboardService.GetTensorboardRun].
  523. message GetTensorboardRunRequest {
  524. // Required. The name of the TensorboardRun resource.
  525. // Format:
  526. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
  527. string name = 1 [
  528. (google.api.field_behavior) = REQUIRED,
  529. (google.api.resource_reference) = {
  530. type: "aiplatform.googleapis.com/TensorboardRun"
  531. }
  532. ];
  533. }
  534. // Request message for [TensorboardService.ReadTensorboardBlobData][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardBlobData].
  535. message ReadTensorboardBlobDataRequest {
  536. // Required. The resource name of the TensorboardTimeSeries to list Blobs.
  537. // Format:
  538. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
  539. string time_series = 1 [
  540. (google.api.field_behavior) = REQUIRED,
  541. (google.api.resource_reference) = {
  542. type: "aiplatform.googleapis.com/TensorboardTimeSeries"
  543. }
  544. ];
  545. // IDs of the blobs to read.
  546. repeated string blob_ids = 2;
  547. }
  548. // Response message for [TensorboardService.ReadTensorboardBlobData][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardBlobData].
  549. message ReadTensorboardBlobDataResponse {
  550. // Blob messages containing blob bytes.
  551. repeated TensorboardBlob blobs = 1;
  552. }
  553. // Request message for [TensorboardService.ListTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns].
  554. message ListTensorboardRunsRequest {
  555. // Required. The resource name of the TensorboardExperiment to list TensorboardRuns.
  556. // Format:
  557. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
  558. string parent = 1 [
  559. (google.api.field_behavior) = REQUIRED,
  560. (google.api.resource_reference) = {
  561. child_type: "aiplatform.googleapis.com/TensorboardRun"
  562. }
  563. ];
  564. // Lists the TensorboardRuns that match the filter expression.
  565. string filter = 2;
  566. // The maximum number of TensorboardRuns to return. The service may return
  567. // fewer than this value. If unspecified, at most 50 TensorboardRuns will be
  568. // returned. The maximum value is 1000; values above 1000 will be coerced to
  569. // 1000.
  570. int32 page_size = 3;
  571. // A page token, received from a previous
  572. // [TensorboardService.ListTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns] call.
  573. // Provide this to retrieve the subsequent page.
  574. //
  575. // When paginating, all other parameters provided to
  576. // [TensorboardService.ListTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns] must
  577. // match the call that provided the page token.
  578. string page_token = 4;
  579. // Field to use to sort the list.
  580. string order_by = 5;
  581. // Mask specifying which fields to read.
  582. google.protobuf.FieldMask read_mask = 6;
  583. }
  584. // Response message for [TensorboardService.ListTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns].
  585. message ListTensorboardRunsResponse {
  586. // The TensorboardRuns mathching the request.
  587. repeated TensorboardRun tensorboard_runs = 1;
  588. // A token, which can be sent as [ListTensorboardRunsRequest.page_token][google.cloud.aiplatform.v1.ListTensorboardRunsRequest.page_token] to
  589. // retrieve the next page.
  590. // If this field is omitted, there are no subsequent pages.
  591. string next_page_token = 2;
  592. }
  593. // Request message for [TensorboardService.UpdateTensorboardRun][google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardRun].
  594. message UpdateTensorboardRunRequest {
  595. // Required. Field mask is used to specify the fields to be overwritten in the
  596. // TensorboardRun resource by the update.
  597. // The fields specified in the update_mask are relative to the resource, not
  598. // the full request. A field will be overwritten if it is in the mask. If the
  599. // user does not provide a mask then all fields will be overwritten if new
  600. // values are specified.
  601. google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED];
  602. // Required. The TensorboardRun's `name` field is used to identify the TensorboardRun to
  603. // be updated. Format:
  604. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
  605. TensorboardRun tensorboard_run = 2 [(google.api.field_behavior) = REQUIRED];
  606. }
  607. // Request message for [TensorboardService.DeleteTensorboardRun][google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardRun].
  608. message DeleteTensorboardRunRequest {
  609. // Required. The name of the TensorboardRun to be deleted.
  610. // Format:
  611. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
  612. string name = 1 [
  613. (google.api.field_behavior) = REQUIRED,
  614. (google.api.resource_reference) = {
  615. type: "aiplatform.googleapis.com/TensorboardRun"
  616. }
  617. ];
  618. }
  619. // Request message for [TensorboardService.BatchCreateTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardTimeSeries].
  620. message BatchCreateTensorboardTimeSeriesRequest {
  621. // Required. The resource name of the TensorboardExperiment to create the
  622. // TensorboardTimeSeries in.
  623. // Format:
  624. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
  625. // The TensorboardRuns referenced by the parent fields in the
  626. // CreateTensorboardTimeSeriesRequest messages must be sub resources of this
  627. // TensorboardExperiment.
  628. string parent = 1 [
  629. (google.api.field_behavior) = REQUIRED,
  630. (google.api.resource_reference) = {
  631. type: "aiplatform.googleapis.com/TensorboardExperiment"
  632. }
  633. ];
  634. // Required. The request message specifying the TensorboardTimeSeries to create.
  635. // A maximum of 1000 TensorboardTimeSeries can be created in a batch.
  636. repeated CreateTensorboardTimeSeriesRequest requests = 2 [(google.api.field_behavior) = REQUIRED];
  637. }
  638. // Response message for [TensorboardService.BatchCreateTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardTimeSeries].
  639. message BatchCreateTensorboardTimeSeriesResponse {
  640. // The created TensorboardTimeSeries.
  641. repeated TensorboardTimeSeries tensorboard_time_series = 1;
  642. }
  643. // Request message for [TensorboardService.CreateTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardTimeSeries].
  644. message CreateTensorboardTimeSeriesRequest {
  645. // Required. The resource name of the TensorboardRun to create the
  646. // TensorboardTimeSeries in.
  647. // Format:
  648. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
  649. string parent = 1 [
  650. (google.api.field_behavior) = REQUIRED,
  651. (google.api.resource_reference) = {
  652. type: "aiplatform.googleapis.com/TensorboardTimeSeries"
  653. }
  654. ];
  655. // Optional. The user specified unique ID to use for the TensorboardTimeSeries, which
  656. // will become the final component of the TensorboardTimeSeries's resource
  657. // name.
  658. // This value should match "[a-z0-9][a-z0-9-]{0, 127}"
  659. string tensorboard_time_series_id = 3 [(google.api.field_behavior) = OPTIONAL];
  660. // Required. The TensorboardTimeSeries to create.
  661. TensorboardTimeSeries tensorboard_time_series = 2 [(google.api.field_behavior) = REQUIRED];
  662. }
  663. // Request message for [TensorboardService.GetTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.GetTensorboardTimeSeries].
  664. message GetTensorboardTimeSeriesRequest {
  665. // Required. The name of the TensorboardTimeSeries resource.
  666. // Format:
  667. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
  668. string name = 1 [
  669. (google.api.field_behavior) = REQUIRED,
  670. (google.api.resource_reference) = {
  671. type: "aiplatform.googleapis.com/TensorboardTimeSeries"
  672. }
  673. ];
  674. }
  675. // Request message for [TensorboardService.ListTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries].
  676. message ListTensorboardTimeSeriesRequest {
  677. // Required. The resource name of the TensorboardRun to list TensorboardTimeSeries.
  678. // Format:
  679. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
  680. string parent = 1 [
  681. (google.api.field_behavior) = REQUIRED,
  682. (google.api.resource_reference) = {
  683. child_type: "aiplatform.googleapis.com/TensorboardTimeSeries"
  684. }
  685. ];
  686. // Lists the TensorboardTimeSeries that match the filter expression.
  687. string filter = 2;
  688. // The maximum number of TensorboardTimeSeries to return. The service may
  689. // return fewer than this value. If unspecified, at most 50
  690. // TensorboardTimeSeries will be returned. The maximum value is 1000; values
  691. // above 1000 will be coerced to 1000.
  692. int32 page_size = 3;
  693. // A page token, received from a previous
  694. // [TensorboardService.ListTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries] call.
  695. // Provide this to retrieve the subsequent page.
  696. //
  697. // When paginating, all other parameters provided to
  698. // [TensorboardService.ListTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries] must
  699. // match the call that provided the page token.
  700. string page_token = 4;
  701. // Field to use to sort the list.
  702. string order_by = 5;
  703. // Mask specifying which fields to read.
  704. google.protobuf.FieldMask read_mask = 6;
  705. }
  706. // Response message for [TensorboardService.ListTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries].
  707. message ListTensorboardTimeSeriesResponse {
  708. // The TensorboardTimeSeries mathching the request.
  709. repeated TensorboardTimeSeries tensorboard_time_series = 1;
  710. // A token, which can be sent as
  711. // [ListTensorboardTimeSeriesRequest.page_token][google.cloud.aiplatform.v1.ListTensorboardTimeSeriesRequest.page_token] to retrieve the next page.
  712. // If this field is omitted, there are no subsequent pages.
  713. string next_page_token = 2;
  714. }
  715. // Request message for [TensorboardService.UpdateTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardTimeSeries].
  716. message UpdateTensorboardTimeSeriesRequest {
  717. // Required. Field mask is used to specify the fields to be overwritten in the
  718. // TensorboardTimeSeries resource by the update.
  719. // The fields specified in the update_mask are relative to the resource, not
  720. // the full request. A field will be overwritten if it is in the mask. If the
  721. // user does not provide a mask then all fields will be overwritten if new
  722. // values are specified.
  723. google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED];
  724. // Required. The TensorboardTimeSeries' `name` field is used to identify the
  725. // TensorboardTimeSeries to be updated.
  726. // Format:
  727. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
  728. TensorboardTimeSeries tensorboard_time_series = 2 [(google.api.field_behavior) = REQUIRED];
  729. }
  730. // Request message for [TensorboardService.DeleteTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardTimeSeries].
  731. message DeleteTensorboardTimeSeriesRequest {
  732. // Required. The name of the TensorboardTimeSeries to be deleted.
  733. // Format:
  734. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
  735. string name = 1 [
  736. (google.api.field_behavior) = REQUIRED,
  737. (google.api.resource_reference) = {
  738. type: "aiplatform.googleapis.com/TensorboardTimeSeries"
  739. }
  740. ];
  741. }
  742. // Request message for
  743. // [TensorboardService.BatchReadTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.BatchReadTensorboardTimeSeriesData].
  744. message BatchReadTensorboardTimeSeriesDataRequest {
  745. // Required. The resource name of the Tensorboard containing TensorboardTimeSeries to
  746. // read data from. Format:
  747. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}`.
  748. // The TensorboardTimeSeries referenced by [time_series][google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataRequest.time_series] must be sub
  749. // resources of this Tensorboard.
  750. string tensorboard = 1 [
  751. (google.api.field_behavior) = REQUIRED,
  752. (google.api.resource_reference) = {
  753. type: "aiplatform.googleapis.com/Tensorboard"
  754. }
  755. ];
  756. // Required. The resource names of the TensorboardTimeSeries to read data from. Format:
  757. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
  758. repeated string time_series = 2 [
  759. (google.api.field_behavior) = REQUIRED,
  760. (google.api.resource_reference) = {
  761. type: "aiplatform.googleapis.com/TensorboardTimeSeries"
  762. }
  763. ];
  764. }
  765. // Response message for
  766. // [TensorboardService.BatchReadTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.BatchReadTensorboardTimeSeriesData].
  767. message BatchReadTensorboardTimeSeriesDataResponse {
  768. // The returned time series data.
  769. repeated TimeSeriesData time_series_data = 1;
  770. }
  771. // Request message for [TensorboardService.ReadTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardTimeSeriesData].
  772. message ReadTensorboardTimeSeriesDataRequest {
  773. // Required. The resource name of the TensorboardTimeSeries to read data from.
  774. // Format:
  775. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
  776. string tensorboard_time_series = 1 [
  777. (google.api.field_behavior) = REQUIRED,
  778. (google.api.resource_reference) = {
  779. type: "aiplatform.googleapis.com/TensorboardTimeSeries"
  780. }
  781. ];
  782. // The maximum number of TensorboardTimeSeries' data to return.
  783. //
  784. // This value should be a positive integer.
  785. // This value can be set to -1 to return all data.
  786. int32 max_data_points = 2;
  787. // Reads the TensorboardTimeSeries' data that match the filter expression.
  788. string filter = 3;
  789. }
  790. // Response message for [TensorboardService.ReadTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardTimeSeriesData].
  791. message ReadTensorboardTimeSeriesDataResponse {
  792. // The returned time series data.
  793. TimeSeriesData time_series_data = 1;
  794. }
  795. // Request message for [TensorboardService.WriteTensorboardExperimentData][google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardExperimentData].
  796. message WriteTensorboardExperimentDataRequest {
  797. // Required. The resource name of the TensorboardExperiment to write data to.
  798. // Format:
  799. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
  800. string tensorboard_experiment = 1 [
  801. (google.api.field_behavior) = REQUIRED,
  802. (google.api.resource_reference) = {
  803. type: "aiplatform.googleapis.com/TensorboardExperiment"
  804. }
  805. ];
  806. // Required. Requests containing per-run TensorboardTimeSeries data to write.
  807. repeated WriteTensorboardRunDataRequest write_run_data_requests = 2 [(google.api.field_behavior) = REQUIRED];
  808. }
  809. // Response message for [TensorboardService.WriteTensorboardExperimentData][google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardExperimentData].
  810. message WriteTensorboardExperimentDataResponse {
  811. }
  812. // Request message for [TensorboardService.WriteTensorboardRunData][google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardRunData].
  813. message WriteTensorboardRunDataRequest {
  814. // Required. The resource name of the TensorboardRun to write data to.
  815. // Format:
  816. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
  817. string tensorboard_run = 1 [
  818. (google.api.field_behavior) = REQUIRED,
  819. (google.api.resource_reference) = {
  820. type: "aiplatform.googleapis.com/TensorboardRun"
  821. }
  822. ];
  823. // Required. The TensorboardTimeSeries data to write.
  824. // Values with in a time series are indexed by their step value.
  825. // Repeated writes to the same step will overwrite the existing value for that
  826. // step.
  827. // The upper limit of data points per write request is 5000.
  828. repeated TimeSeriesData time_series_data = 2 [(google.api.field_behavior) = REQUIRED];
  829. }
  830. // Response message for [TensorboardService.WriteTensorboardRunData][google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardRunData].
  831. message WriteTensorboardRunDataResponse {
  832. }
  833. // Request message for [TensorboardService.ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData].
  834. message ExportTensorboardTimeSeriesDataRequest {
  835. // Required. The resource name of the TensorboardTimeSeries to export data from.
  836. // Format:
  837. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
  838. string tensorboard_time_series = 1 [
  839. (google.api.field_behavior) = REQUIRED,
  840. (google.api.resource_reference) = {
  841. type: "aiplatform.googleapis.com/TensorboardTimeSeries"
  842. }
  843. ];
  844. // Exports the TensorboardTimeSeries' data that match the filter expression.
  845. string filter = 2;
  846. // The maximum number of data points to return per page.
  847. // The default page_size will be 1000. Values must be between 1 and 10000.
  848. // Values above 10000 will be coerced to 10000.
  849. int32 page_size = 3;
  850. // A page token, received from a previous
  851. // [TensorboardService.ExportTensorboardTimeSeries][] call.
  852. // Provide this to retrieve the subsequent page.
  853. //
  854. // When paginating, all other parameters provided to
  855. // [TensorboardService.ExportTensorboardTimeSeries][] must
  856. // match the call that provided the page token.
  857. string page_token = 4;
  858. // Field to use to sort the TensorboardTimeSeries' data.
  859. // By default, TensorboardTimeSeries' data will be returned in a pseudo random
  860. // order.
  861. string order_by = 5;
  862. }
  863. // Response message for [TensorboardService.ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData].
  864. message ExportTensorboardTimeSeriesDataResponse {
  865. // The returned time series data points.
  866. repeated TimeSeriesDataPoint time_series_data_points = 1;
  867. // A token, which can be sent as
  868. // [ExportTensorboardTimeSeriesRequest.page_token][] to retrieve the next
  869. // page. If this field is omitted, there are no subsequent pages.
  870. string next_page_token = 2;
  871. }
  872. // Details of operations that perform create Tensorboard.
  873. message CreateTensorboardOperationMetadata {
  874. // Operation metadata for Tensorboard.
  875. GenericOperationMetadata generic_metadata = 1;
  876. }
  877. // Details of operations that perform update Tensorboard.
  878. message UpdateTensorboardOperationMetadata {
  879. // Operation metadata for Tensorboard.
  880. GenericOperationMetadata generic_metadata = 1;
  881. }