tensorboard.proto 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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/cloud/aiplatform/v1beta1/encryption_spec.proto";
  19. import "google/protobuf/timestamp.proto";
  20. option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
  21. option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
  22. option java_multiple_files = true;
  23. option java_outer_classname = "TensorboardProto";
  24. option java_package = "com.google.cloud.aiplatform.v1beta1";
  25. option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
  26. option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
  27. // Tensorboard is a physical database that stores users' training metrics.
  28. // A default Tensorboard is provided in each region of a GCP project.
  29. // If needed users can also create extra Tensorboards in their projects.
  30. message Tensorboard {
  31. option (google.api.resource) = {
  32. type: "aiplatform.googleapis.com/Tensorboard"
  33. pattern: "projects/{project}/locations/{location}/tensorboards/{tensorboard}"
  34. };
  35. // Output only. Name of the Tensorboard.
  36. // Format:
  37. // `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
  38. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
  39. // Required. User provided name of this Tensorboard.
  40. string display_name = 2 [(google.api.field_behavior) = REQUIRED];
  41. // Description of this Tensorboard.
  42. string description = 3;
  43. // Customer-managed encryption key spec for a Tensorboard. If set, this
  44. // Tensorboard and all sub-resources of this Tensorboard will be secured by
  45. // this key.
  46. EncryptionSpec encryption_spec = 11;
  47. // Output only. Consumer project Cloud Storage path prefix used to store blob data, which
  48. // can either be a bucket or directory. Does not end with a '/'.
  49. string blob_storage_path_prefix = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
  50. // Output only. The number of Runs stored in this Tensorboard.
  51. int32 run_count = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
  52. // Output only. Timestamp when this Tensorboard was created.
  53. google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
  54. // Output only. Timestamp when this Tensorboard was last updated.
  55. google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
  56. // The labels with user-defined metadata to organize your Tensorboards.
  57. //
  58. // Label keys and values can be no longer than 64 characters
  59. // (Unicode codepoints), can only contain lowercase letters, numeric
  60. // characters, underscores and dashes. International characters are allowed.
  61. // No more than 64 user labels can be associated with one Tensorboard
  62. // (System labels are excluded).
  63. //
  64. // See https://goo.gl/xmQnxf for more information and examples of labels.
  65. // System reserved label keys are prefixed with "aiplatform.googleapis.com/"
  66. // and are immutable.
  67. map<string, string> labels = 8;
  68. // Used to perform a consistent read-modify-write updates. If not set, a blind
  69. // "overwrite" update happens.
  70. string etag = 9;
  71. }