audit_data.proto 1.5 KB

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