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 a DICOM import long-running operation. 25message ImportDicomLogEntry { 26 // The source file, in the format `gs://{bucket-id}/{path/to/file}`. 27 string source = 1; 28 29 // The error code and message. 30 google.rpc.Status error = 2; 31} 32 33// A log entry for a DICOM export long-running operation. 34message ExportDicomLogEntry { 35 // The DICOM resource being exported. 36 string resource_name = 1; 37 38 // The error code and message. 39 google.rpc.Status error = 2; 40} 41 42// A log entry for a DICOM store Pub/Sub notification. 43message DicomNotificationLogEntry { 44 // The DICOM resource being created. 45 string resource_name = 1; 46 47 // The Pub/Sub topic that the notification is published on. 48 string pubsub_topic = 2; 49 50 // The error code and message. 51 google.rpc.Status error = 3; 52} 53 54// A log entry for a DICOM streaming export notification. 55message DicomStreamLogEntry { 56 // The DICOM resource being exported. 57 string resource_name = 1; 58 59 // The destination in BigQuery, in the format 60 // `bq://{projectId}.{bqDatasetId}.{bqTableId}`. 61 string destination = 2; 62 63 // The error code and message. 64 google.rpc.Status error = 3; 65} 66