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.healthcare.logging; 18 19import "google/rpc/status.proto"; 20 21option go_package = "cloud.google.com/go/healthcare/logging/loggingpb;loggingpb"; 22option java_package = "com.google.cloud.healthcare.logging"; 23 24// A log entry for an Annotation import long-running operation. 25message ImportAnnotationLogEntry { 26 // The source in Cloud Storage. For example, 27 // `gs://{bucket_id}/{path/to/file}`. 28 string source = 1; 29 30 // The error code and message. 31 google.rpc.Status error = 2; 32} 33 34// A log entry for an Annotation export long-running operation. 35message ExportAnnotationLogEntry { 36 // The destination in Cloud Storage or BigQuery. 37 string destination = 1; 38 39 // The annotation record being exported. For example: 40 // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{store_id}/annotations/{annotation_id}`. 41 string annotation_name = 2; 42 43 // The error code and message. 44 google.rpc.Status error = 3; 45} 46 47// A log entry for an Annotation evaluate long-running operation. 48message EvaluateAnnotationLogEntry { 49 // The report destination in BigQuery. 50 string destination = 1; 51 52 // The eval annotation record being evaluated. For example: 53 // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{eval_store_id}/annotations/{eval_annotation_id}`. 54 string eval_annotation_name = 2; 55 56 // The golden annotation record being evaluated. For example: 57 // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{golden_store_id}/annotations/{golden_annotation_id}`. 58 string golden_annotation_name = 3; 59 60 // The error code and message. 61 google.rpc.Status error = 4; 62} 63