tensorboard_run.proto 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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/field_behavior.proto";
  17. import "google/api/resource.proto";
  18. import "google/protobuf/timestamp.proto";
  19. option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
  20. option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
  21. option java_multiple_files = true;
  22. option java_outer_classname = "TensorboardRunProto";
  23. option java_package = "com.google.cloud.aiplatform.v1beta1";
  24. option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
  25. option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
  26. // TensorboardRun maps to a specific execution of a training job with a given
  27. // set of hyperparameter values, model definition, dataset, etc
  28. message TensorboardRun {
  29. option (google.api.resource) = {
  30. type: "aiplatform.googleapis.com/TensorboardRun"
  31. pattern: "projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}"
  32. };
  33. // Output only. Name of the TensorboardRun.
  34. // Format:
  35. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
  36. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
  37. // Required. User provided name of this TensorboardRun.
  38. // This value must be unique among all TensorboardRuns
  39. // belonging to the same parent TensorboardExperiment.
  40. string display_name = 2 [(google.api.field_behavior) = REQUIRED];
  41. // Description of this TensorboardRun.
  42. string description = 3;
  43. // Output only. Timestamp when this TensorboardRun was created.
  44. google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
  45. // Output only. Timestamp when this TensorboardRun was last updated.
  46. google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
  47. // The labels with user-defined metadata to organize your TensorboardRuns.
  48. //
  49. // This field will be used to filter and visualize Runs in the Tensorboard UI.
  50. // For example, a Vertex AI training job can set a label
  51. // aiplatform.googleapis.com/training_job_id=xxxxx to all the runs created
  52. // within that job. An end user can set a label experiment_id=xxxxx for all
  53. // the runs produced in a Jupyter notebook. These runs can be grouped by a
  54. // label value and visualized together in the Tensorboard UI.
  55. //
  56. // Label keys and values can be no longer than 64 characters
  57. // (Unicode codepoints), can only contain lowercase letters, numeric
  58. // characters, underscores and dashes. International characters are allowed.
  59. // No more than 64 user labels can be associated with one TensorboardRun
  60. // (System labels are excluded).
  61. //
  62. // See https://goo.gl/xmQnxf for more information and examples of labels.
  63. // System reserved label keys are prefixed with "aiplatform.googleapis.com/"
  64. // and are immutable.
  65. map<string, string> labels = 8;
  66. // Used to perform a consistent read-modify-write updates. If not set, a blind
  67. // "overwrite" update happens.
  68. string etag = 9;
  69. }