common.proto 1.6 KB

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