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.apps.drive.activity.v2; 18 19import "google/protobuf/timestamp.proto"; 20 21option csharp_namespace = "Google.Apps.Drive.Activity.V2"; 22option go_package = "google.golang.org/genproto/googleapis/apps/drive/activity/v2;activity"; 23option java_multiple_files = true; 24option java_outer_classname = "CommonProto"; 25option java_package = "com.google.apps.drive.activity.v2"; 26option objc_class_prefix = "GADA"; 27option php_namespace = "Google\\Apps\\Drive\\Activity\\V2"; 28 29// Information about time ranges. 30message TimeRange { 31 // The start of the time range. 32 google.protobuf.Timestamp start_time = 1; 33 34 // The end of the time range. 35 google.protobuf.Timestamp end_time = 2; 36} 37 38// Information about a group. 39message Group { 40 // The email address of the group. 41 string email = 1; 42 43 // The title of the group. 44 string title = 2; 45} 46 47// Information about a domain. 48message Domain { 49 // The name of the domain, e.g. `google.com`. 50 string name = 1; 51 52 // An opaque string used to identify this domain. 53 string legacy_id = 3; 54} 55