lva_resources.proto 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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.visionai.v1alpha1;
  16. import "google/api/field_behavior.proto";
  17. import "google/api/resource.proto";
  18. import "google/cloud/visionai/v1alpha1/lva.proto";
  19. import "google/protobuf/timestamp.proto";
  20. option csharp_namespace = "Google.Cloud.VisionAI.V1Alpha1";
  21. option go_package = "google.golang.org/genproto/googleapis/cloud/visionai/v1alpha1;visionai";
  22. option java_multiple_files = true;
  23. option java_outer_classname = "LvaResourcesProto";
  24. option java_package = "com.google.cloud.visionai.v1alpha1";
  25. option php_namespace = "Google\\Cloud\\VisionAI\\V1alpha1";
  26. option ruby_package = "Google::Cloud::VisionAI::V1alpha1";
  27. // Message describing the Analysis object.
  28. message Analysis {
  29. option (google.api.resource) = {
  30. type: "visionai.googleapis.com/Analysis"
  31. pattern: "projects/{project}/locations/{location}/clusters/{cluster}/analyses/{analysis}"
  32. };
  33. // The name of resource.
  34. string name = 1;
  35. // Output only. The create timestamp.
  36. google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
  37. // Output only. The update timestamp.
  38. google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
  39. // Labels as key value pairs.
  40. map<string, string> labels = 4;
  41. // The definition of the analysis.
  42. AnalysisDefinition analysis_definition = 5;
  43. // Map from the input parameter in the definition to the real stream.
  44. // E.g., suppose you had a stream source operator named "input-0" and you try
  45. // to receive from the real stream "stream-0". You can add the following
  46. // mapping: [input-0: stream-0].
  47. map<string, string> input_streams_mapping = 6;
  48. // Map from the output parameter in the definition to the real stream.
  49. // E.g., suppose you had a stream sink operator named "output-0" and you try
  50. // to send to the real stream "stream-0". You can add the following
  51. // mapping: [output-0: stream-0].
  52. map<string, string> output_streams_mapping = 7;
  53. }