1// Copyright 2023 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 15syntax = "proto3"; 16 17package google.cloud.aiplatform.v1; 18 19import "google/api/annotations.proto"; 20import "google/api/client.proto"; 21import "google/api/field_behavior.proto"; 22import "google/api/resource.proto"; 23import "google/cloud/aiplatform/v1/operation.proto"; 24import "google/cloud/aiplatform/v1/tensorboard.proto"; 25import "google/cloud/aiplatform/v1/tensorboard_data.proto"; 26import "google/cloud/aiplatform/v1/tensorboard_experiment.proto"; 27import "google/cloud/aiplatform/v1/tensorboard_run.proto"; 28import "google/cloud/aiplatform/v1/tensorboard_time_series.proto"; 29import "google/longrunning/operations.proto"; 30import "google/protobuf/empty.proto"; 31import "google/protobuf/field_mask.proto"; 32 33option csharp_namespace = "Google.Cloud.AIPlatform.V1"; 34option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; 35option java_multiple_files = true; 36option java_outer_classname = "TensorboardServiceProto"; 37option java_package = "com.google.cloud.aiplatform.v1"; 38option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; 39option ruby_package = "Google::Cloud::AIPlatform::V1"; 40 41// TensorboardService 42service TensorboardService { 43 option (google.api.default_host) = "aiplatform.googleapis.com"; 44 option (google.api.oauth_scopes) = 45 "https://www.googleapis.com/auth/cloud-platform," 46 "https://www.googleapis.com/auth/cloud-platform.read-only"; 47 48 // Creates a Tensorboard. 49 rpc CreateTensorboard(CreateTensorboardRequest) 50 returns (google.longrunning.Operation) { 51 option (google.api.http) = { 52 post: "/v1/{parent=projects/*/locations/*}/tensorboards" 53 body: "tensorboard" 54 }; 55 option (google.api.method_signature) = "parent,tensorboard"; 56 option (google.longrunning.operation_info) = { 57 response_type: "Tensorboard" 58 metadata_type: "CreateTensorboardOperationMetadata" 59 }; 60 } 61 62 // Gets a Tensorboard. 63 rpc GetTensorboard(GetTensorboardRequest) returns (Tensorboard) { 64 option (google.api.http) = { 65 get: "/v1/{name=projects/*/locations/*/tensorboards/*}" 66 }; 67 option (google.api.method_signature) = "name"; 68 } 69 70 // Updates a Tensorboard. 71 rpc UpdateTensorboard(UpdateTensorboardRequest) 72 returns (google.longrunning.Operation) { 73 option (google.api.http) = { 74 patch: "/v1/{tensorboard.name=projects/*/locations/*/tensorboards/*}" 75 body: "tensorboard" 76 }; 77 option (google.api.method_signature) = "tensorboard,update_mask"; 78 option (google.longrunning.operation_info) = { 79 response_type: "Tensorboard" 80 metadata_type: "UpdateTensorboardOperationMetadata" 81 }; 82 } 83 84 // Lists Tensorboards in a Location. 85 rpc ListTensorboards(ListTensorboardsRequest) 86 returns (ListTensorboardsResponse) { 87 option (google.api.http) = { 88 get: "/v1/{parent=projects/*/locations/*}/tensorboards" 89 }; 90 option (google.api.method_signature) = "parent"; 91 } 92 93 // Deletes a Tensorboard. 94 rpc DeleteTensorboard(DeleteTensorboardRequest) 95 returns (google.longrunning.Operation) { 96 option (google.api.http) = { 97 delete: "/v1/{name=projects/*/locations/*/tensorboards/*}" 98 }; 99 option (google.api.method_signature) = "name"; 100 option (google.longrunning.operation_info) = { 101 response_type: "google.protobuf.Empty" 102 metadata_type: "DeleteOperationMetadata" 103 }; 104 } 105 106 // Returns a list of monthly active users for a given TensorBoard instance. 107 rpc ReadTensorboardUsage(ReadTensorboardUsageRequest) 108 returns (ReadTensorboardUsageResponse) { 109 option (google.api.http) = { 110 get: "/v1/{tensorboard=projects/*/locations/*/tensorboards/*}:readUsage" 111 }; 112 option (google.api.method_signature) = "tensorboard"; 113 } 114 115 // Returns the storage size for a given TensorBoard instance. 116 rpc ReadTensorboardSize(ReadTensorboardSizeRequest) 117 returns (ReadTensorboardSizeResponse) { 118 option (google.api.http) = { 119 get: "/v1/{tensorboard=projects/*/locations/*/tensorboards/*}:readSize" 120 }; 121 option (google.api.method_signature) = "tensorboard"; 122 } 123 124 // Creates a TensorboardExperiment. 125 rpc CreateTensorboardExperiment(CreateTensorboardExperimentRequest) 126 returns (TensorboardExperiment) { 127 option (google.api.http) = { 128 post: "/v1/{parent=projects/*/locations/*/tensorboards/*}/experiments" 129 body: "tensorboard_experiment" 130 }; 131 option (google.api.method_signature) = 132 "parent,tensorboard_experiment,tensorboard_experiment_id"; 133 } 134 135 // Gets a TensorboardExperiment. 136 rpc GetTensorboardExperiment(GetTensorboardExperimentRequest) 137 returns (TensorboardExperiment) { 138 option (google.api.http) = { 139 get: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}" 140 }; 141 option (google.api.method_signature) = "name"; 142 } 143 144 // Updates a TensorboardExperiment. 145 rpc UpdateTensorboardExperiment(UpdateTensorboardExperimentRequest) 146 returns (TensorboardExperiment) { 147 option (google.api.http) = { 148 patch: "/v1/{tensorboard_experiment.name=projects/*/locations/*/tensorboards/*/experiments/*}" 149 body: "tensorboard_experiment" 150 }; 151 option (google.api.method_signature) = "tensorboard_experiment,update_mask"; 152 } 153 154 // Lists TensorboardExperiments in a Location. 155 rpc ListTensorboardExperiments(ListTensorboardExperimentsRequest) 156 returns (ListTensorboardExperimentsResponse) { 157 option (google.api.http) = { 158 get: "/v1/{parent=projects/*/locations/*/tensorboards/*}/experiments" 159 }; 160 option (google.api.method_signature) = "parent"; 161 } 162 163 // Deletes a TensorboardExperiment. 164 rpc DeleteTensorboardExperiment(DeleteTensorboardExperimentRequest) 165 returns (google.longrunning.Operation) { 166 option (google.api.http) = { 167 delete: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}" 168 }; 169 option (google.api.method_signature) = "name"; 170 option (google.longrunning.operation_info) = { 171 response_type: "google.protobuf.Empty" 172 metadata_type: "DeleteOperationMetadata" 173 }; 174 } 175 176 // Creates a TensorboardRun. 177 rpc CreateTensorboardRun(CreateTensorboardRunRequest) 178 returns (TensorboardRun) { 179 option (google.api.http) = { 180 post: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs" 181 body: "tensorboard_run" 182 }; 183 option (google.api.method_signature) = 184 "parent,tensorboard_run,tensorboard_run_id"; 185 } 186 187 // Batch create TensorboardRuns. 188 rpc BatchCreateTensorboardRuns(BatchCreateTensorboardRunsRequest) 189 returns (BatchCreateTensorboardRunsResponse) { 190 option (google.api.http) = { 191 post: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs:batchCreate" 192 body: "*" 193 }; 194 option (google.api.method_signature) = "parent,requests"; 195 } 196 197 // Gets a TensorboardRun. 198 rpc GetTensorboardRun(GetTensorboardRunRequest) returns (TensorboardRun) { 199 option (google.api.http) = { 200 get: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}" 201 }; 202 option (google.api.method_signature) = "name"; 203 } 204 205 // Updates a TensorboardRun. 206 rpc UpdateTensorboardRun(UpdateTensorboardRunRequest) 207 returns (TensorboardRun) { 208 option (google.api.http) = { 209 patch: "/v1/{tensorboard_run.name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}" 210 body: "tensorboard_run" 211 }; 212 option (google.api.method_signature) = "tensorboard_run,update_mask"; 213 } 214 215 // Lists TensorboardRuns in a Location. 216 rpc ListTensorboardRuns(ListTensorboardRunsRequest) 217 returns (ListTensorboardRunsResponse) { 218 option (google.api.http) = { 219 get: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs" 220 }; 221 option (google.api.method_signature) = "parent"; 222 } 223 224 // Deletes a TensorboardRun. 225 rpc DeleteTensorboardRun(DeleteTensorboardRunRequest) 226 returns (google.longrunning.Operation) { 227 option (google.api.http) = { 228 delete: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}" 229 }; 230 option (google.api.method_signature) = "name"; 231 option (google.longrunning.operation_info) = { 232 response_type: "google.protobuf.Empty" 233 metadata_type: "DeleteOperationMetadata" 234 }; 235 } 236 237 // Batch create TensorboardTimeSeries that belong to a TensorboardExperiment. 238 rpc BatchCreateTensorboardTimeSeries(BatchCreateTensorboardTimeSeriesRequest) 239 returns (BatchCreateTensorboardTimeSeriesResponse) { 240 option (google.api.http) = { 241 post: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}:batchCreate" 242 body: "*" 243 }; 244 option (google.api.method_signature) = "parent,requests"; 245 } 246 247 // Creates a TensorboardTimeSeries. 248 rpc CreateTensorboardTimeSeries(CreateTensorboardTimeSeriesRequest) 249 returns (TensorboardTimeSeries) { 250 option (google.api.http) = { 251 post: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/timeSeries" 252 body: "tensorboard_time_series" 253 }; 254 option (google.api.method_signature) = "parent,tensorboard_time_series"; 255 } 256 257 // Gets a TensorboardTimeSeries. 258 rpc GetTensorboardTimeSeries(GetTensorboardTimeSeriesRequest) 259 returns (TensorboardTimeSeries) { 260 option (google.api.http) = { 261 get: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}" 262 }; 263 option (google.api.method_signature) = "name"; 264 } 265 266 // Updates a TensorboardTimeSeries. 267 rpc UpdateTensorboardTimeSeries(UpdateTensorboardTimeSeriesRequest) 268 returns (TensorboardTimeSeries) { 269 option (google.api.http) = { 270 patch: "/v1/{tensorboard_time_series.name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}" 271 body: "tensorboard_time_series" 272 }; 273 option (google.api.method_signature) = 274 "tensorboard_time_series,update_mask"; 275 } 276 277 // Lists TensorboardTimeSeries in a Location. 278 rpc ListTensorboardTimeSeries(ListTensorboardTimeSeriesRequest) 279 returns (ListTensorboardTimeSeriesResponse) { 280 option (google.api.http) = { 281 get: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/timeSeries" 282 }; 283 option (google.api.method_signature) = "parent"; 284 } 285 286 // Deletes a TensorboardTimeSeries. 287 rpc DeleteTensorboardTimeSeries(DeleteTensorboardTimeSeriesRequest) 288 returns (google.longrunning.Operation) { 289 option (google.api.http) = { 290 delete: "/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}" 291 }; 292 option (google.api.method_signature) = "name"; 293 option (google.longrunning.operation_info) = { 294 response_type: "google.protobuf.Empty" 295 metadata_type: "DeleteOperationMetadata" 296 }; 297 } 298 299 // Reads multiple TensorboardTimeSeries' data. The data point number limit is 300 // 1000 for scalars, 100 for tensors and blob references. If the number of 301 // data points stored is less than the limit, all data is returned. 302 // Otherwise, the number limit of data points is randomly selected from 303 // this time series and returned. 304 rpc BatchReadTensorboardTimeSeriesData( 305 BatchReadTensorboardTimeSeriesDataRequest) 306 returns (BatchReadTensorboardTimeSeriesDataResponse) { 307 option (google.api.http) = { 308 get: "/v1/{tensorboard=projects/*/locations/*/tensorboards/*}:batchRead" 309 }; 310 option (google.api.method_signature) = "tensorboard"; 311 } 312 313 // Reads a TensorboardTimeSeries' data. By default, if the number of data 314 // points stored is less than 1000, all data is returned. Otherwise, 1000 315 // data points is randomly selected from this time series and returned. 316 // This value can be changed by changing max_data_points, which can't be 317 // greater than 10k. 318 rpc ReadTensorboardTimeSeriesData(ReadTensorboardTimeSeriesDataRequest) 319 returns (ReadTensorboardTimeSeriesDataResponse) { 320 option (google.api.http) = { 321 get: "/v1/{tensorboard_time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:read" 322 }; 323 option (google.api.method_signature) = "tensorboard_time_series"; 324 } 325 326 // Gets bytes of TensorboardBlobs. 327 // This is to allow reading blob data stored in consumer project's Cloud 328 // Storage bucket without users having to obtain Cloud Storage access 329 // permission. 330 rpc ReadTensorboardBlobData(ReadTensorboardBlobDataRequest) 331 returns (stream ReadTensorboardBlobDataResponse) { 332 option (google.api.http) = { 333 get: "/v1/{time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:readBlobData" 334 }; 335 option (google.api.method_signature) = "time_series"; 336 } 337 338 // Write time series data points of multiple TensorboardTimeSeries in multiple 339 // TensorboardRun's. If any data fail to be ingested, an error is returned. 340 rpc WriteTensorboardExperimentData(WriteTensorboardExperimentDataRequest) 341 returns (WriteTensorboardExperimentDataResponse) { 342 option (google.api.http) = { 343 post: "/v1/{tensorboard_experiment=projects/*/locations/*/tensorboards/*/experiments/*}:write" 344 body: "*" 345 }; 346 option (google.api.method_signature) = 347 "tensorboard_experiment,write_run_data_requests"; 348 } 349 350 // Write time series data points into multiple TensorboardTimeSeries under 351 // a TensorboardRun. If any data fail to be ingested, an error is returned. 352 rpc WriteTensorboardRunData(WriteTensorboardRunDataRequest) 353 returns (WriteTensorboardRunDataResponse) { 354 option (google.api.http) = { 355 post: "/v1/{tensorboard_run=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}:write" 356 body: "*" 357 }; 358 option (google.api.method_signature) = "tensorboard_run,time_series_data"; 359 } 360 361 // Exports a TensorboardTimeSeries' data. Data is returned in paginated 362 // responses. 363 rpc ExportTensorboardTimeSeriesData(ExportTensorboardTimeSeriesDataRequest) 364 returns (ExportTensorboardTimeSeriesDataResponse) { 365 option (google.api.http) = { 366 post: "/v1/{tensorboard_time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:exportTensorboardTimeSeries" 367 body: "*" 368 }; 369 option (google.api.method_signature) = "tensorboard_time_series"; 370 } 371} 372 373// Request message for 374// [TensorboardService.CreateTensorboard][google.cloud.aiplatform.v1.TensorboardService.CreateTensorboard]. 375message CreateTensorboardRequest { 376 // Required. The resource name of the Location to create the Tensorboard in. 377 // Format: `projects/{project}/locations/{location}` 378 string parent = 1 [ 379 (google.api.field_behavior) = REQUIRED, 380 (google.api.resource_reference) = { 381 type: "aiplatform.googleapis.com/Tensorboard" 382 } 383 ]; 384 385 // Required. The Tensorboard to create. 386 Tensorboard tensorboard = 2 [(google.api.field_behavior) = REQUIRED]; 387} 388 389// Request message for 390// [TensorboardService.GetTensorboard][google.cloud.aiplatform.v1.TensorboardService.GetTensorboard]. 391message GetTensorboardRequest { 392 // Required. The name of the Tensorboard resource. 393 // Format: 394 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}` 395 string name = 1 [ 396 (google.api.field_behavior) = REQUIRED, 397 (google.api.resource_reference) = { 398 type: "aiplatform.googleapis.com/Tensorboard" 399 } 400 ]; 401} 402 403// Request message for 404// [TensorboardService.ListTensorboards][google.cloud.aiplatform.v1.TensorboardService.ListTensorboards]. 405message ListTensorboardsRequest { 406 // Required. The resource name of the Location to list Tensorboards. 407 // Format: 408 // `projects/{project}/locations/{location}` 409 string parent = 1 [ 410 (google.api.field_behavior) = REQUIRED, 411 (google.api.resource_reference) = { 412 child_type: "aiplatform.googleapis.com/Tensorboard" 413 } 414 ]; 415 416 // Lists the Tensorboards that match the filter expression. 417 string filter = 2; 418 419 // The maximum number of Tensorboards to return. The service may return 420 // fewer than this value. If unspecified, at most 100 Tensorboards are 421 // returned. The maximum value is 100; values above 100 are coerced to 422 // 100. 423 int32 page_size = 3; 424 425 // A page token, received from a previous 426 // [TensorboardService.ListTensorboards][google.cloud.aiplatform.v1.TensorboardService.ListTensorboards] 427 // call. Provide this to retrieve the subsequent page. 428 // 429 // When paginating, all other parameters provided to 430 // [TensorboardService.ListTensorboards][google.cloud.aiplatform.v1.TensorboardService.ListTensorboards] 431 // must match the call that provided the page token. 432 string page_token = 4; 433 434 // Field to use to sort the list. 435 string order_by = 5; 436 437 // Mask specifying which fields to read. 438 google.protobuf.FieldMask read_mask = 6; 439} 440 441// Response message for 442// [TensorboardService.ListTensorboards][google.cloud.aiplatform.v1.TensorboardService.ListTensorboards]. 443message ListTensorboardsResponse { 444 // The Tensorboards mathching the request. 445 repeated Tensorboard tensorboards = 1; 446 447 // A token, which can be sent as 448 // [ListTensorboardsRequest.page_token][google.cloud.aiplatform.v1.ListTensorboardsRequest.page_token] 449 // to retrieve the next page. If this field is omitted, there are no 450 // subsequent pages. 451 string next_page_token = 2; 452} 453 454// Request message for 455// [TensorboardService.UpdateTensorboard][google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboard]. 456message UpdateTensorboardRequest { 457 // Required. Field mask is used to specify the fields to be overwritten in the 458 // Tensorboard resource by the update. 459 // The fields specified in the update_mask are relative to the resource, not 460 // the full request. A field is overwritten if it's in the mask. If the 461 // user does not provide a mask then all fields are overwritten if new 462 // values are specified. 463 google.protobuf.FieldMask update_mask = 1 464 [(google.api.field_behavior) = REQUIRED]; 465 466 // Required. The Tensorboard's `name` field is used to identify the 467 // Tensorboard to be updated. Format: 468 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}` 469 Tensorboard tensorboard = 2 [(google.api.field_behavior) = REQUIRED]; 470} 471 472// Request message for 473// [TensorboardService.DeleteTensorboard][google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboard]. 474message DeleteTensorboardRequest { 475 // Required. The name of the Tensorboard to be deleted. 476 // Format: 477 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}` 478 string name = 1 [ 479 (google.api.field_behavior) = REQUIRED, 480 (google.api.resource_reference) = { 481 type: "aiplatform.googleapis.com/Tensorboard" 482 } 483 ]; 484} 485 486// Request message for 487// [TensorboardService.ReadTensorboardUsage][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardUsage]. 488message ReadTensorboardUsageRequest { 489 // Required. The name of the Tensorboard resource. 490 // Format: 491 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}` 492 string tensorboard = 1 [ 493 (google.api.field_behavior) = REQUIRED, 494 (google.api.resource_reference) = { 495 type: "aiplatform.googleapis.com/Tensorboard" 496 } 497 ]; 498} 499 500// Response message for 501// [TensorboardService.ReadTensorboardUsage][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardUsage]. 502message ReadTensorboardUsageResponse { 503 // Per user usage data. 504 message PerUserUsageData { 505 // User's username 506 string username = 1; 507 508 // Number of times the user has read data within the Tensorboard. 509 int64 view_count = 2; 510 } 511 512 // Per month usage data 513 message PerMonthUsageData { 514 // Usage data for each user in the given month. 515 repeated PerUserUsageData user_usage_data = 1; 516 } 517 518 // Maps year-month (YYYYMM) string to per month usage data. 519 map<string, PerMonthUsageData> monthly_usage_data = 1; 520} 521 522// Request message for 523// [TensorboardService.ReadTensorboardSize][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardSize]. 524message ReadTensorboardSizeRequest { 525 // Required. The name of the Tensorboard resource. 526 // Format: 527 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}` 528 string tensorboard = 1 [ 529 (google.api.field_behavior) = REQUIRED, 530 (google.api.resource_reference) = { 531 type: "aiplatform.googleapis.com/Tensorboard" 532 } 533 ]; 534} 535 536// Response message for 537// [TensorboardService.ReadTensorboardSize][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardSize]. 538message ReadTensorboardSizeResponse { 539 // Payload storage size for the TensorBoard 540 int64 storage_size_byte = 1; 541} 542 543// Request message for 544// [TensorboardService.CreateTensorboardExperiment][google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardExperiment]. 545message CreateTensorboardExperimentRequest { 546 // Required. The resource name of the Tensorboard to create the 547 // TensorboardExperiment in. Format: 548 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}` 549 string parent = 1 [ 550 (google.api.field_behavior) = REQUIRED, 551 (google.api.resource_reference) = { 552 type: "aiplatform.googleapis.com/TensorboardExperiment" 553 } 554 ]; 555 556 // The TensorboardExperiment to create. 557 TensorboardExperiment tensorboard_experiment = 2; 558 559 // Required. The ID to use for the Tensorboard experiment, which becomes the 560 // final component of the Tensorboard experiment's resource name. 561 // 562 // This value should be 1-128 characters, and valid characters 563 // are `/[a-z][0-9]-/`. 564 string tensorboard_experiment_id = 3 [(google.api.field_behavior) = REQUIRED]; 565} 566 567// Request message for 568// [TensorboardService.GetTensorboardExperiment][google.cloud.aiplatform.v1.TensorboardService.GetTensorboardExperiment]. 569message GetTensorboardExperimentRequest { 570 // Required. The name of the TensorboardExperiment resource. 571 // Format: 572 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` 573 string name = 1 [ 574 (google.api.field_behavior) = REQUIRED, 575 (google.api.resource_reference) = { 576 type: "aiplatform.googleapis.com/TensorboardExperiment" 577 } 578 ]; 579} 580 581// Request message for 582// [TensorboardService.ListTensorboardExperiments][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments]. 583message ListTensorboardExperimentsRequest { 584 // Required. The resource name of the Tensorboard to list 585 // TensorboardExperiments. Format: 586 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}` 587 string parent = 1 [ 588 (google.api.field_behavior) = REQUIRED, 589 (google.api.resource_reference) = { 590 child_type: "aiplatform.googleapis.com/TensorboardExperiment" 591 } 592 ]; 593 594 // Lists the TensorboardExperiments that match the filter expression. 595 string filter = 2; 596 597 // The maximum number of TensorboardExperiments to return. The service may 598 // return fewer than this value. If unspecified, at most 50 599 // TensorboardExperiments are returned. The maximum value is 1000; values 600 // above 1000 are coerced to 1000. 601 int32 page_size = 3; 602 603 // A page token, received from a previous 604 // [TensorboardService.ListTensorboardExperiments][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments] 605 // call. Provide this to retrieve the subsequent page. 606 // 607 // When paginating, all other parameters provided to 608 // [TensorboardService.ListTensorboardExperiments][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments] 609 // must match the call that provided the page token. 610 string page_token = 4; 611 612 // Field to use to sort the list. 613 string order_by = 5; 614 615 // Mask specifying which fields to read. 616 google.protobuf.FieldMask read_mask = 6; 617} 618 619// Response message for 620// [TensorboardService.ListTensorboardExperiments][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments]. 621message ListTensorboardExperimentsResponse { 622 // The TensorboardExperiments mathching the request. 623 repeated TensorboardExperiment tensorboard_experiments = 1; 624 625 // A token, which can be sent as 626 // [ListTensorboardExperimentsRequest.page_token][google.cloud.aiplatform.v1.ListTensorboardExperimentsRequest.page_token] 627 // to retrieve the next page. If this field is omitted, there are no 628 // subsequent pages. 629 string next_page_token = 2; 630} 631 632// Request message for 633// [TensorboardService.UpdateTensorboardExperiment][google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardExperiment]. 634message UpdateTensorboardExperimentRequest { 635 // Required. Field mask is used to specify the fields to be overwritten in the 636 // TensorboardExperiment resource by the update. 637 // The fields specified in the update_mask are relative to the resource, not 638 // the full request. A field is overwritten if it's in the mask. If the 639 // user does not provide a mask then all fields are overwritten if new 640 // values are specified. 641 google.protobuf.FieldMask update_mask = 1 642 [(google.api.field_behavior) = REQUIRED]; 643 644 // Required. The TensorboardExperiment's `name` field is used to identify the 645 // TensorboardExperiment to be updated. Format: 646 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` 647 TensorboardExperiment tensorboard_experiment = 2 648 [(google.api.field_behavior) = REQUIRED]; 649} 650 651// Request message for 652// [TensorboardService.DeleteTensorboardExperiment][google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardExperiment]. 653message DeleteTensorboardExperimentRequest { 654 // Required. The name of the TensorboardExperiment to be deleted. 655 // Format: 656 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` 657 string name = 1 [ 658 (google.api.field_behavior) = REQUIRED, 659 (google.api.resource_reference) = { 660 type: "aiplatform.googleapis.com/TensorboardExperiment" 661 } 662 ]; 663} 664 665// Request message for 666// [TensorboardService.BatchCreateTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardRuns]. 667message BatchCreateTensorboardRunsRequest { 668 // Required. The resource name of the TensorboardExperiment to create the 669 // TensorboardRuns in. Format: 670 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` 671 // The parent field in the CreateTensorboardRunRequest messages must match 672 // this field. 673 string parent = 1 [ 674 (google.api.field_behavior) = REQUIRED, 675 (google.api.resource_reference) = { 676 type: "aiplatform.googleapis.com/TensorboardExperiment" 677 } 678 ]; 679 680 // Required. The request message specifying the TensorboardRuns to create. 681 // A maximum of 1000 TensorboardRuns can be created in a batch. 682 repeated CreateTensorboardRunRequest requests = 2 683 [(google.api.field_behavior) = REQUIRED]; 684} 685 686// Response message for 687// [TensorboardService.BatchCreateTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardRuns]. 688message BatchCreateTensorboardRunsResponse { 689 // The created TensorboardRuns. 690 repeated TensorboardRun tensorboard_runs = 1; 691} 692 693// Request message for 694// [TensorboardService.CreateTensorboardRun][google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardRun]. 695message CreateTensorboardRunRequest { 696 // Required. The resource name of the TensorboardExperiment to create the 697 // TensorboardRun in. Format: 698 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` 699 string parent = 1 [ 700 (google.api.field_behavior) = REQUIRED, 701 (google.api.resource_reference) = { 702 type: "aiplatform.googleapis.com/TensorboardRun" 703 } 704 ]; 705 706 // Required. The TensorboardRun to create. 707 TensorboardRun tensorboard_run = 2 [(google.api.field_behavior) = REQUIRED]; 708 709 // Required. The ID to use for the Tensorboard run, which becomes the final 710 // component of the Tensorboard run's resource name. 711 // 712 // This value should be 1-128 characters, and valid characters 713 // are `/[a-z][0-9]-/`. 714 string tensorboard_run_id = 3 [(google.api.field_behavior) = REQUIRED]; 715} 716 717// Request message for 718// [TensorboardService.GetTensorboardRun][google.cloud.aiplatform.v1.TensorboardService.GetTensorboardRun]. 719message GetTensorboardRunRequest { 720 // Required. The name of the TensorboardRun resource. 721 // Format: 722 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` 723 string name = 1 [ 724 (google.api.field_behavior) = REQUIRED, 725 (google.api.resource_reference) = { 726 type: "aiplatform.googleapis.com/TensorboardRun" 727 } 728 ]; 729} 730 731// Request message for 732// [TensorboardService.ReadTensorboardBlobData][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardBlobData]. 733message ReadTensorboardBlobDataRequest { 734 // Required. The resource name of the TensorboardTimeSeries to list Blobs. 735 // Format: 736 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` 737 string time_series = 1 [ 738 (google.api.field_behavior) = REQUIRED, 739 (google.api.resource_reference) = { 740 type: "aiplatform.googleapis.com/TensorboardTimeSeries" 741 } 742 ]; 743 744 // IDs of the blobs to read. 745 repeated string blob_ids = 2; 746} 747 748// Response message for 749// [TensorboardService.ReadTensorboardBlobData][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardBlobData]. 750message ReadTensorboardBlobDataResponse { 751 // Blob messages containing blob bytes. 752 repeated TensorboardBlob blobs = 1; 753} 754 755// Request message for 756// [TensorboardService.ListTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns]. 757message ListTensorboardRunsRequest { 758 // Required. The resource name of the TensorboardExperiment to list 759 // TensorboardRuns. Format: 760 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` 761 string parent = 1 [ 762 (google.api.field_behavior) = REQUIRED, 763 (google.api.resource_reference) = { 764 child_type: "aiplatform.googleapis.com/TensorboardRun" 765 } 766 ]; 767 768 // Lists the TensorboardRuns that match the filter expression. 769 string filter = 2; 770 771 // The maximum number of TensorboardRuns to return. The service may return 772 // fewer than this value. If unspecified, at most 50 TensorboardRuns are 773 // returned. The maximum value is 1000; values above 1000 are coerced to 774 // 1000. 775 int32 page_size = 3; 776 777 // A page token, received from a previous 778 // [TensorboardService.ListTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns] 779 // call. Provide this to retrieve the subsequent page. 780 // 781 // When paginating, all other parameters provided to 782 // [TensorboardService.ListTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns] 783 // must match the call that provided the page token. 784 string page_token = 4; 785 786 // Field to use to sort the list. 787 string order_by = 5; 788 789 // Mask specifying which fields to read. 790 google.protobuf.FieldMask read_mask = 6; 791} 792 793// Response message for 794// [TensorboardService.ListTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns]. 795message ListTensorboardRunsResponse { 796 // The TensorboardRuns mathching the request. 797 repeated TensorboardRun tensorboard_runs = 1; 798 799 // A token, which can be sent as 800 // [ListTensorboardRunsRequest.page_token][google.cloud.aiplatform.v1.ListTensorboardRunsRequest.page_token] 801 // to retrieve the next page. If this field is omitted, there are no 802 // subsequent pages. 803 string next_page_token = 2; 804} 805 806// Request message for 807// [TensorboardService.UpdateTensorboardRun][google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardRun]. 808message UpdateTensorboardRunRequest { 809 // Required. Field mask is used to specify the fields to be overwritten in the 810 // TensorboardRun resource by the update. 811 // The fields specified in the update_mask are relative to the resource, not 812 // the full request. A field is overwritten if it's in the mask. If the 813 // user does not provide a mask then all fields are overwritten if new 814 // values are specified. 815 google.protobuf.FieldMask update_mask = 1 816 [(google.api.field_behavior) = REQUIRED]; 817 818 // Required. The TensorboardRun's `name` field is used to identify the 819 // TensorboardRun to be updated. Format: 820 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` 821 TensorboardRun tensorboard_run = 2 [(google.api.field_behavior) = REQUIRED]; 822} 823 824// Request message for 825// [TensorboardService.DeleteTensorboardRun][google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardRun]. 826message DeleteTensorboardRunRequest { 827 // Required. The name of the TensorboardRun to be deleted. 828 // Format: 829 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` 830 string name = 1 [ 831 (google.api.field_behavior) = REQUIRED, 832 (google.api.resource_reference) = { 833 type: "aiplatform.googleapis.com/TensorboardRun" 834 } 835 ]; 836} 837 838// Request message for 839// [TensorboardService.BatchCreateTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardTimeSeries]. 840message BatchCreateTensorboardTimeSeriesRequest { 841 // Required. The resource name of the TensorboardExperiment to create the 842 // TensorboardTimeSeries in. 843 // Format: 844 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` 845 // The TensorboardRuns referenced by the parent fields in the 846 // CreateTensorboardTimeSeriesRequest messages must be sub resources of this 847 // TensorboardExperiment. 848 string parent = 1 [ 849 (google.api.field_behavior) = REQUIRED, 850 (google.api.resource_reference) = { 851 type: "aiplatform.googleapis.com/TensorboardExperiment" 852 } 853 ]; 854 855 // Required. The request message specifying the TensorboardTimeSeries to 856 // create. A maximum of 1000 TensorboardTimeSeries can be created in a batch. 857 repeated CreateTensorboardTimeSeriesRequest requests = 2 858 [(google.api.field_behavior) = REQUIRED]; 859} 860 861// Response message for 862// [TensorboardService.BatchCreateTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardTimeSeries]. 863message BatchCreateTensorboardTimeSeriesResponse { 864 // The created TensorboardTimeSeries. 865 repeated TensorboardTimeSeries tensorboard_time_series = 1; 866} 867 868// Request message for 869// [TensorboardService.CreateTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardTimeSeries]. 870message CreateTensorboardTimeSeriesRequest { 871 // Required. The resource name of the TensorboardRun to create the 872 // TensorboardTimeSeries in. 873 // Format: 874 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` 875 string parent = 1 [ 876 (google.api.field_behavior) = REQUIRED, 877 (google.api.resource_reference) = { 878 type: "aiplatform.googleapis.com/TensorboardTimeSeries" 879 } 880 ]; 881 882 // Optional. The user specified unique ID to use for the 883 // TensorboardTimeSeries, which becomes the final component of the 884 // TensorboardTimeSeries's resource name. This value should match 885 // "[a-z0-9][a-z0-9-]{0, 127}" 886 string tensorboard_time_series_id = 3 887 [(google.api.field_behavior) = OPTIONAL]; 888 889 // Required. The TensorboardTimeSeries to create. 890 TensorboardTimeSeries tensorboard_time_series = 2 891 [(google.api.field_behavior) = REQUIRED]; 892} 893 894// Request message for 895// [TensorboardService.GetTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.GetTensorboardTimeSeries]. 896message GetTensorboardTimeSeriesRequest { 897 // Required. The name of the TensorboardTimeSeries resource. 898 // Format: 899 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` 900 string name = 1 [ 901 (google.api.field_behavior) = REQUIRED, 902 (google.api.resource_reference) = { 903 type: "aiplatform.googleapis.com/TensorboardTimeSeries" 904 } 905 ]; 906} 907 908// Request message for 909// [TensorboardService.ListTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries]. 910message ListTensorboardTimeSeriesRequest { 911 // Required. The resource name of the TensorboardRun to list 912 // TensorboardTimeSeries. Format: 913 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` 914 string parent = 1 [ 915 (google.api.field_behavior) = REQUIRED, 916 (google.api.resource_reference) = { 917 child_type: "aiplatform.googleapis.com/TensorboardTimeSeries" 918 } 919 ]; 920 921 // Lists the TensorboardTimeSeries that match the filter expression. 922 string filter = 2; 923 924 // The maximum number of TensorboardTimeSeries to return. The service may 925 // return fewer than this value. If unspecified, at most 50 926 // TensorboardTimeSeries are returned. The maximum value is 1000; values 927 // above 1000 are coerced to 1000. 928 int32 page_size = 3; 929 930 // A page token, received from a previous 931 // [TensorboardService.ListTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries] 932 // call. Provide this to retrieve the subsequent page. 933 // 934 // When paginating, all other parameters provided to 935 // [TensorboardService.ListTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries] 936 // must match the call that provided the page token. 937 string page_token = 4; 938 939 // Field to use to sort the list. 940 string order_by = 5; 941 942 // Mask specifying which fields to read. 943 google.protobuf.FieldMask read_mask = 6; 944} 945 946// Response message for 947// [TensorboardService.ListTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries]. 948message ListTensorboardTimeSeriesResponse { 949 // The TensorboardTimeSeries mathching the request. 950 repeated TensorboardTimeSeries tensorboard_time_series = 1; 951 952 // A token, which can be sent as 953 // [ListTensorboardTimeSeriesRequest.page_token][google.cloud.aiplatform.v1.ListTensorboardTimeSeriesRequest.page_token] 954 // to retrieve the next page. If this field is omitted, there are no 955 // subsequent pages. 956 string next_page_token = 2; 957} 958 959// Request message for 960// [TensorboardService.UpdateTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardTimeSeries]. 961message UpdateTensorboardTimeSeriesRequest { 962 // Required. Field mask is used to specify the fields to be overwritten in the 963 // TensorboardTimeSeries resource by the update. 964 // The fields specified in the update_mask are relative to the resource, not 965 // the full request. A field is overwritten if it's in the mask. If the 966 // user does not provide a mask then all fields are overwritten if new 967 // values are specified. 968 google.protobuf.FieldMask update_mask = 1 969 [(google.api.field_behavior) = REQUIRED]; 970 971 // Required. The TensorboardTimeSeries' `name` field is used to identify the 972 // TensorboardTimeSeries to be updated. 973 // Format: 974 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` 975 TensorboardTimeSeries tensorboard_time_series = 2 976 [(google.api.field_behavior) = REQUIRED]; 977} 978 979// Request message for 980// [TensorboardService.DeleteTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardTimeSeries]. 981message DeleteTensorboardTimeSeriesRequest { 982 // Required. The name of the TensorboardTimeSeries to be deleted. 983 // Format: 984 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` 985 string name = 1 [ 986 (google.api.field_behavior) = REQUIRED, 987 (google.api.resource_reference) = { 988 type: "aiplatform.googleapis.com/TensorboardTimeSeries" 989 } 990 ]; 991} 992 993// Request message for 994// [TensorboardService.BatchReadTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.BatchReadTensorboardTimeSeriesData]. 995message BatchReadTensorboardTimeSeriesDataRequest { 996 // Required. The resource name of the Tensorboard containing 997 // TensorboardTimeSeries to read data from. Format: 998 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. 999 // The TensorboardTimeSeries referenced by 1000 // [time_series][google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataRequest.time_series] 1001 // must be sub resources of this Tensorboard. 1002 string tensorboard = 1 [ 1003 (google.api.field_behavior) = REQUIRED, 1004 (google.api.resource_reference) = { 1005 type: "aiplatform.googleapis.com/Tensorboard" 1006 } 1007 ]; 1008 1009 // Required. The resource names of the TensorboardTimeSeries to read data 1010 // from. Format: 1011 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` 1012 repeated string time_series = 2 [ 1013 (google.api.field_behavior) = REQUIRED, 1014 (google.api.resource_reference) = { 1015 type: "aiplatform.googleapis.com/TensorboardTimeSeries" 1016 } 1017 ]; 1018} 1019 1020// Response message for 1021// [TensorboardService.BatchReadTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.BatchReadTensorboardTimeSeriesData]. 1022message BatchReadTensorboardTimeSeriesDataResponse { 1023 // The returned time series data. 1024 repeated TimeSeriesData time_series_data = 1; 1025} 1026 1027// Request message for 1028// [TensorboardService.ReadTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardTimeSeriesData]. 1029message ReadTensorboardTimeSeriesDataRequest { 1030 // Required. The resource name of the TensorboardTimeSeries to read data from. 1031 // Format: 1032 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` 1033 string tensorboard_time_series = 1 [ 1034 (google.api.field_behavior) = REQUIRED, 1035 (google.api.resource_reference) = { 1036 type: "aiplatform.googleapis.com/TensorboardTimeSeries" 1037 } 1038 ]; 1039 1040 // The maximum number of TensorboardTimeSeries' data to return. 1041 // 1042 // This value should be a positive integer. 1043 // This value can be set to -1 to return all data. 1044 int32 max_data_points = 2; 1045 1046 // Reads the TensorboardTimeSeries' data that match the filter expression. 1047 string filter = 3; 1048} 1049 1050// Response message for 1051// [TensorboardService.ReadTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardTimeSeriesData]. 1052message ReadTensorboardTimeSeriesDataResponse { 1053 // The returned time series data. 1054 TimeSeriesData time_series_data = 1; 1055} 1056 1057// Request message for 1058// [TensorboardService.WriteTensorboardExperimentData][google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardExperimentData]. 1059message WriteTensorboardExperimentDataRequest { 1060 // Required. The resource name of the TensorboardExperiment to write data to. 1061 // Format: 1062 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` 1063 string tensorboard_experiment = 1 [ 1064 (google.api.field_behavior) = REQUIRED, 1065 (google.api.resource_reference) = { 1066 type: "aiplatform.googleapis.com/TensorboardExperiment" 1067 } 1068 ]; 1069 1070 // Required. Requests containing per-run TensorboardTimeSeries data to write. 1071 repeated WriteTensorboardRunDataRequest write_run_data_requests = 2 1072 [(google.api.field_behavior) = REQUIRED]; 1073} 1074 1075// Response message for 1076// [TensorboardService.WriteTensorboardExperimentData][google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardExperimentData]. 1077message WriteTensorboardExperimentDataResponse {} 1078 1079// Request message for 1080// [TensorboardService.WriteTensorboardRunData][google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardRunData]. 1081message WriteTensorboardRunDataRequest { 1082 // Required. The resource name of the TensorboardRun to write data to. 1083 // Format: 1084 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` 1085 string tensorboard_run = 1 [ 1086 (google.api.field_behavior) = REQUIRED, 1087 (google.api.resource_reference) = { 1088 type: "aiplatform.googleapis.com/TensorboardRun" 1089 } 1090 ]; 1091 1092 // Required. The TensorboardTimeSeries data to write. 1093 // Values with in a time series are indexed by their step value. 1094 // Repeated writes to the same step will overwrite the existing value for that 1095 // step. 1096 // The upper limit of data points per write request is 5000. 1097 repeated TimeSeriesData time_series_data = 2 1098 [(google.api.field_behavior) = REQUIRED]; 1099} 1100 1101// Response message for 1102// [TensorboardService.WriteTensorboardRunData][google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardRunData]. 1103message WriteTensorboardRunDataResponse {} 1104 1105// Request message for 1106// [TensorboardService.ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData]. 1107message ExportTensorboardTimeSeriesDataRequest { 1108 // Required. The resource name of the TensorboardTimeSeries to export data 1109 // from. Format: 1110 // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` 1111 string tensorboard_time_series = 1 [ 1112 (google.api.field_behavior) = REQUIRED, 1113 (google.api.resource_reference) = { 1114 type: "aiplatform.googleapis.com/TensorboardTimeSeries" 1115 } 1116 ]; 1117 1118 // Exports the TensorboardTimeSeries' data that match the filter expression. 1119 string filter = 2; 1120 1121 // The maximum number of data points to return per page. 1122 // The default page_size is 1000. Values must be between 1 and 10000. 1123 // Values above 10000 are coerced to 10000. 1124 int32 page_size = 3; 1125 1126 // A page token, received from a previous 1127 // [ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData] 1128 // call. Provide this to retrieve the subsequent page. 1129 // 1130 // When paginating, all other parameters provided to 1131 // [ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData] 1132 // must match the call that provided the page token. 1133 string page_token = 4; 1134 1135 // Field to use to sort the TensorboardTimeSeries' data. 1136 // By default, TensorboardTimeSeries' data is returned in a pseudo random 1137 // order. 1138 string order_by = 5; 1139} 1140 1141// Response message for 1142// [TensorboardService.ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData]. 1143message ExportTensorboardTimeSeriesDataResponse { 1144 // The returned time series data points. 1145 repeated TimeSeriesDataPoint time_series_data_points = 1; 1146 1147 // A token, which can be sent as 1148 // [page_token][google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataRequest.page_token] 1149 // to retrieve the next page. If this field is omitted, there are no 1150 // subsequent pages. 1151 string next_page_token = 2; 1152} 1153 1154// Details of operations that perform create Tensorboard. 1155message CreateTensorboardOperationMetadata { 1156 // Operation metadata for Tensorboard. 1157 GenericOperationMetadata generic_metadata = 1; 1158} 1159 1160// Details of operations that perform update Tensorboard. 1161message UpdateTensorboardOperationMetadata { 1162 // Operation metadata for Tensorboard. 1163 GenericOperationMetadata generic_metadata = 1; 1164} 1165