tensorboard.proto 3.7 KB

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