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.maps.mobilitybilling.logs.v1; 18 19option csharp_namespace = "Google.Maps.MobilityBilling.Logs.V1"; 20option go_package = "cloud.google.com/go/maps/mobilitybilling/logs/apiv1/logspb;logspb"; 21option java_multiple_files = true; 22option java_outer_classname = "MobilityBillingCloudLoggingProto"; 23option java_package = "com.google.maps.mobilitybilling.logs.v1"; 24 25// Details on ReportBillableEvent request. 26message ReportBillableEventLog { 27 // The id of the billable event. 28 // Subject to the following restrictions: 29 // 30 // 1. IDs must be valid Unicode strings. 31 // 2. IDs are limited to a maximum length of 64 characters. 32 // 3. IDs must be normalized according to Unicode Normalization Form C 33 // (http://www.unicode.org/reports/tr15/ ). 34 // 4. IDs must not contain any of the following ASCII characters: '/', ':', 35 // '?', ',', or '#'. 36 string billable_event_id = 1; 37 38 // Two-letter region code of the country or region where the event takes 39 // place. A list of valid region codes can be found here: 40 // https://developers.google.com/maps/coverage 41 string region_code = 2; 42 43 // The identifiers that are directly related to the event being reported. 44 // The customer defines the meaning of these IDs. 45 repeated string related_ids = 3; 46} 47