audit_data.proto 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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.iam.admin.v1;
  16. option csharp_namespace = "Google.Cloud.Iam.Admin.V1";
  17. option go_package = "google.golang.org/genproto/googleapis/iam/admin/v1;admin";
  18. option java_multiple_files = true;
  19. option java_outer_classname = "AuditDataProto";
  20. option java_package = "com.google.iam.admin.v1";
  21. option php_namespace = "Google\\Cloud\\Iam\\Admin\\V1";
  22. // Audit log information specific to Cloud IAM admin APIs. This message is
  23. // serialized as an `Any` type in the `ServiceData` message of an
  24. // `AuditLog` message.
  25. message AuditData {
  26. // A PermissionDelta message to record the added_permissions and
  27. // removed_permissions inside a role.
  28. message PermissionDelta {
  29. // Added permissions.
  30. repeated string added_permissions = 1;
  31. // Removed permissions.
  32. repeated string removed_permissions = 2;
  33. }
  34. // The permission_delta when when creating or updating a Role.
  35. PermissionDelta permission_delta = 1;
  36. }