annotation_spec.proto 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 = "AnnotationSpecProto";
  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. // Identifies a concept with which DataItems may be annotated with.
  27. message AnnotationSpec {
  28. option (google.api.resource) = {
  29. type: "aiplatform.googleapis.com/AnnotationSpec"
  30. pattern: "projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}"
  31. };
  32. // Output only. Resource name of the AnnotationSpec.
  33. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
  34. // Required. The user-defined name of the AnnotationSpec.
  35. // The name can be up to 128 characters long and can be consist of any UTF-8
  36. // characters.
  37. string display_name = 2 [(google.api.field_behavior) = REQUIRED];
  38. // Output only. Timestamp when this AnnotationSpec was created.
  39. google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
  40. // Output only. Timestamp when AnnotationSpec was last updated.
  41. google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
  42. // Optional. Used to perform consistent read-modify-write updates. If not set, a blind
  43. // "overwrite" update happens.
  44. string etag = 5 [(google.api.field_behavior) = OPTIONAL];
  45. }