tensorboard_service.proto 44 KB

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