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 HL7v2 import long-running operation. 25message ImportHl7V2LogEntry { 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 a HL7v2 store Pub/Sub notification. 35message Hl7V2NotificationLogEntry { 36 // The HL7v2 message being created (for example, 37 // `projects/{projectId}/locations/{locationId}/datasets/{datasetId}/hl7V2Stores/{hl7v2StoreId}/messages/{hl7v2MessageId}`). 38 string resource_name = 1; 39 40 // The Pub/Sub topic that the notification is published on. 41 string pubsub_topic = 2; 42 43 // The error code and message. 44 google.rpc.Status error = 3; 45} 46