codekingpro/portable-devtools
114k
1# Copyright 2025 Google LLC2#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 at6#7# http://www.apache.org/licenses/LICENSE-2.08#9# Unless required by applicable law or agreed to in writing, software10# 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 and13# limitations under the License.14 15from typing import ClassVar as _ClassVar16from typing import Mapping as _Mapping17from typing import Optional as _Optional18from typing import Union as _Union19 20from google.protobuf import descriptor as _descriptor21from google.protobuf import message as _message22from google.protobuf import struct_pb2 as _struct_pb223 24DESCRIPTOR: _descriptor.FileDescriptor25 26class AuditContext(_message.Message):27 __slots__ = (28 "audit_log",29 "scrubbed_request",30 "scrubbed_response",31 "scrubbed_response_item_count",32 "target_resource",33 )34 AUDIT_LOG_FIELD_NUMBER: _ClassVar[int]35 SCRUBBED_REQUEST_FIELD_NUMBER: _ClassVar[int]36 SCRUBBED_RESPONSE_FIELD_NUMBER: _ClassVar[int]37 SCRUBBED_RESPONSE_ITEM_COUNT_FIELD_NUMBER: _ClassVar[int]38 TARGET_RESOURCE_FIELD_NUMBER: _ClassVar[int]39 audit_log: bytes40 scrubbed_request: _struct_pb2.Struct41 scrubbed_response: _struct_pb2.Struct42 scrubbed_response_item_count: int43 target_resource: str44 def __init__(45 self,46 audit_log: _Optional[bytes] = ...,47 scrubbed_request: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...,48 scrubbed_response: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...,49 scrubbed_response_item_count: _Optional[int] = ...,50 target_resource: _Optional[str] = ...,51 ) -> None: ...52 