1// Copyright 2023 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.compute.logging.gdnsusage.v1; 18 19option go_package = "google.golang.org/genproto/googleapis/compute/logging/gdnsusage/v1;gdnsusage"; 20option java_multiple_files = true; 21option java_outer_classname = "GdnsVmUsageProto"; 22option java_package = "google.compute.logging.gdnsusage.v1"; 23option csharp_namespace = "Google.Compute.Logging.GdnsUsage.V1"; 24option php_namespace = "Google\\Compute\\Logging\\GdnsUsage\\V1"; 25option ruby_package = "Google::Compute::Logging::GdnsUsage::V1"; 26 27// gdns_vm_usage.proto 28// Definition of json_payload of Global Dns usage per-vm level for 29// Platform Logs. 30 31// Used for structured payload for reporting Platform Logs 32message GdnsVmUsagePlatformLog { 33 // source vm's information 34 optional VmInfo source_vm = 1; 35 36 // destination vm's information 37 optional VmInfo destination_vm = 2; 38 39 // message that informs users on how to fix the global DNS query that is 40 // blocking the zonal DNS migration 41 optional string debug_message = 3; 42 43 // number of zDNS migration blocking queries sent from source_vm to 44 // destination_vm 45 optional int32 query_count = 5; 46} 47 48// VM details 49message VmInfo { 50 // project id of the vm 51 optional string project_id = 1; 52 53 // name of the vm 54 optional string vm = 2; 55 56 // zone of the vm 57 optional string zone = 3; 58} 59