# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/iam_admin_v1/proto/audit_data.proto

from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='google/cloud/iam_admin_v1/proto/audit_data.proto',
  package='google.iam.admin.v1',
  syntax='proto3',
  serialized_options=b'\n\027com.google.iam.admin.v1B\016AuditDataProtoP\001Z8google.golang.org/genproto/googleapis/iam/admin/v1;admin',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n0google/cloud/iam_admin_v1/proto/audit_data.proto\x12\x13google.iam.admin.v1\x1a\x1cgoogle/api/annotations.proto\"\xa0\x01\n\tAuditData\x12H\n\x10permission_delta\x18\x01 \x01(\x0b\x32..google.iam.admin.v1.AuditData.PermissionDelta\x1aI\n\x0fPermissionDelta\x12\x19\n\x11\x61\x64\x64\x65\x64_permissions\x18\x01 \x03(\t\x12\x1b\n\x13removed_permissions\x18\x02 \x03(\tBe\n\x17\x63om.google.iam.admin.v1B\x0e\x41uditDataProtoP\x01Z8google.golang.org/genproto/googleapis/iam/admin/v1;adminb\x06proto3'
  ,
  dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,])




_AUDITDATA_PERMISSIONDELTA = _descriptor.Descriptor(
  name='PermissionDelta',
  full_name='google.iam.admin.v1.AuditData.PermissionDelta',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='added_permissions', full_name='google.iam.admin.v1.AuditData.PermissionDelta.added_permissions', index=0,
      number=1, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='removed_permissions', full_name='google.iam.admin.v1.AuditData.PermissionDelta.removed_permissions', index=1,
      number=2, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=191,
  serialized_end=264,
)

_AUDITDATA = _descriptor.Descriptor(
  name='AuditData',
  full_name='google.iam.admin.v1.AuditData',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='permission_delta', full_name='google.iam.admin.v1.AuditData.permission_delta', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[_AUDITDATA_PERMISSIONDELTA, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=104,
  serialized_end=264,
)

_AUDITDATA_PERMISSIONDELTA.containing_type = _AUDITDATA
_AUDITDATA.fields_by_name['permission_delta'].message_type = _AUDITDATA_PERMISSIONDELTA
DESCRIPTOR.message_types_by_name['AuditData'] = _AUDITDATA
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

AuditData = _reflection.GeneratedProtocolMessageType('AuditData', (_message.Message,), {

  'PermissionDelta' : _reflection.GeneratedProtocolMessageType('PermissionDelta', (_message.Message,), {
    'DESCRIPTOR' : _AUDITDATA_PERMISSIONDELTA,
    '__module__' : 'google.cloud.iam_admin_v1.proto.audit_data_pb2'
    ,
    '__doc__': """A PermissionDelta message to record the added_permissions and
    removed_permissions inside a role.
    
    Attributes:
        added_permissions:
            Added permissions.
        removed_permissions:
            Removed permissions.
    """,
    # @@protoc_insertion_point(class_scope:google.iam.admin.v1.AuditData.PermissionDelta)
    })
  ,
  'DESCRIPTOR' : _AUDITDATA,
  '__module__' : 'google.cloud.iam_admin_v1.proto.audit_data_pb2'
  ,
  '__doc__': """Audit log information specific to Cloud IAM admin APIs. This message
  is serialized as an ``Any`` type in the ``ServiceData`` message of an
  ``AuditLog`` message.
  
  Attributes:
      permission_delta:
          The permission_delta when when creating or updating a Role.
  """,
  # @@protoc_insertion_point(class_scope:google.iam.admin.v1.AuditData)
  })
_sym_db.RegisterMessage(AuditData)
_sym_db.RegisterMessage(AuditData.PermissionDelta)


DESCRIPTOR._options = None
# @@protoc_insertion_point(module_scope)
