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