1// Copyright 2020 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.unity; 18 19option csharp_namespace = "Google.Maps.Unity"; 20option go_package = "cloud.google.com/go/maps/unity/unitypb;unitypb"; 21option java_multiple_files = true; 22option java_outer_classname = "ClientInfoProto"; 23option java_package = "com.google.maps.unity"; 24option objc_class_prefix = "GMU"; 25 26// Client information. 27message ClientInfo { 28 // Platform enum. 29 enum Platform { 30 // Unspecified or unknown OS. 31 PLATFORM_UNSPECIFIED = 0; 32 33 // Development environment. 34 EDITOR = 1; 35 36 // macOS. 37 MAC_OS = 2; 38 39 // Windows. 40 WINDOWS = 3; 41 42 // Linux 43 LINUX = 4; 44 45 // Android 46 ANDROID = 5; 47 48 // iOS 49 IOS = 6; 50 51 // WebGL. 52 WEB_GL = 7; 53 } 54 55 // Application ID, such as the package name on Android and the bundle 56 // identifier on iOS platforms. 57 string application_id = 1; 58 59 // Application version number, such as "1.2.3". The exact format is 60 // application-dependent. 61 string application_version = 2; 62 63 // Platform where the application is running. 64 Platform platform = 3; 65 66 // Operating system name and version as reported by the OS. For example, 67 // "Mac OS X 10.10.4". The exact format is platform-dependent. 68 string operating_system = 4; 69 70 // API client name and version. For example, the SDK calling the API. The 71 // exact format is up to the client. 72 string api_client = 5; 73 74 // Device model as reported by the device. The exact format is 75 // platform-dependent. 76 string device_model = 6; 77 78 // Language code (in BCP-47 format) indicating the UI language of the client. 79 // Examples are "en", "en-US" or "ja-Latn". For more information, see 80 // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. 81 string language_code = 7; 82 83 // Build number/version of the operating system. e.g., the contents of 84 // android.os.Build.ID in Android, or the contents of sysctl "kern.osversion" 85 // in iOS. 86 string operating_system_build = 8; 87} 88