class documentation

Undocumented

Method __dir__ Undocumented
Method __init__ Create a wrapper around a protobuf message instance.
Method action.setter Undocumented
Method authentication.setter Undocumented
Method authorization.setter Undocumented
Method event_version.setter Undocumented
Method id.setter Undocumented
Method project_region.setter Undocumented
Method request.setter Undocumented
Method resource.setter Undocumented
Method response.setter Undocumented
Method service.setter Undocumented
Method source.setter Undocumented
Method spec_version.setter Undocumented
Method status.setter Undocumented
Method time.setter Undocumented
Method type.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property action Indicates an action taken on the resource.
Property authentication Represents the subject of an API call.
Property authorization Represents permissions that have been verified for the subject as part of the API call.
Property event_version Audit event version, in "X.Y" format, events within different Y's are backwards compatible, events with different X's are not.
Property id Unique event id.
Property project_region Region of an application
Property request Contains information about the request from the customer.
Property resource A resource that was read or modified as part of the operation. Can be empty if no resource accessed or changed.
Property response Contains information about the response from the server.
Property service Indicates the service that generated the event.
Property source Identifies the context in which an event happened. Presented in the form of URI.
Property spec_version Version of CloudEvents spec. See https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#specversion
Property status The async operation status
Property time Timestamp of when the occurrence happened.
Property type The type of event related to the originating occurrence. Formed according to template: ai.nebius.<serviceName>.<resourceType>.<action>

Inherited from Message:

Class Method get_descriptor Return the protobuf descriptor for this message class.
Class Method is_credentials Return True if the field contains credentials.
Class Method is_sensitive Return True if the field is marked as sensitive.
Method __repr__ Return a human-readable representation of the message, sanitizing sensitive fields.
Method check_presence Check explicit presence for a field in the protobuf message.
Method get_full_update_reset_mask Build a reset mask for a full update of this message.
Method get_mask Return the tracked reset mask.
Method is_default Return True if a field equals its default value.
Method set_mask Replace the tracked reset mask.
Method which_field_in_oneof Return the set field name for a given oneof.
Instance Variable __PB2_CLASS__ Protobuf message class associated with this wrapper.
Instance Variable __pb2_message__ Underlying protobuf message instance.
Method _clear_field Clear a field and record it in the reset mask.
Method _get_field Return a field value with optional wrapping and presence handling.
Method _set_field Set a field value and update the reset mask.
Class Variable __credentials_fields Undocumented
Class Variable __default Undocumented
Class Variable __sensitive_fields Undocumented
Instance Variable __recorded_reset_mask Mask tracking fields cleared or set to default.
def __dir__(self) -> abc.Iterable[builtins.str]: (source)

Undocumented

def __init__(self, initial_message: message_1.Message | None = None, *, id: builtins.str | None | unset.UnsetType = unset.Unset, source: builtins.str | None | unset.UnsetType = unset.Unset, spec_version: builtins.str | None | unset.UnsetType = unset.Unset, type: builtins.str | None | unset.UnsetType = unset.Unset, service: Service | service_pb2.Service | None | unset.UnsetType = unset.Unset, action: builtins.str | None | unset.UnsetType = unset.Unset, time: timestamp_pb2.Timestamp | datetime.datetime | None | unset.UnsetType = unset.Unset, event_version: builtins.str | None | unset.UnsetType = unset.Unset, authentication: Authentication | authentication_pb2.Authentication | None | unset.UnsetType = unset.Unset, authorization: Authorization | authorization_pb2.Authorization | None | unset.UnsetType = unset.Unset, resource: Resource | resource_pb2.Resource | None | unset.UnsetType = unset.Unset, request: Request | request_pb2.Request | None | unset.UnsetType = unset.Unset, response: Response | response_pb2.Response | None | unset.UnsetType = unset.Unset, status: Status | status_pb2.Status | None | unset.UnsetType = unset.Unset, project_region: Region | region_pb2.Region | None | unset.UnsetType = unset.Unset): (source)

Create a wrapper around a protobuf message instance.

Raises
AttributeErrorIf the wrapper is missing required class metadata.
@action.setter
def action(self, value: builtins.str | None): (source)

Undocumented

@authentication.setter
def authentication(self, value: Authentication | authentication_pb2.Authentication | None): (source)

Undocumented

@authorization.setter
def authorization(self, value: Authorization | authorization_pb2.Authorization | None): (source)

Undocumented

@event_version.setter
def event_version(self, value: builtins.str | None): (source)

Undocumented

@id.setter
def id(self, value: builtins.str | None): (source)

Undocumented

@project_region.setter
def project_region(self, value: Region | region_pb2.Region | None): (source)

Undocumented

@request.setter
def request(self, value: Request | request_pb2.Request | None): (source)

Undocumented

@resource.setter
def resource(self, value: Resource | resource_pb2.Resource | None): (source)

Undocumented

@response.setter
def response(self, value: Response | response_pb2.Response | None): (source)

Undocumented

@service.setter
def service(self, value: Service | service_pb2.Service | None): (source)

Undocumented

@source.setter
def source(self, value: builtins.str | None): (source)

Undocumented

@spec_version.setter
def spec_version(self, value: builtins.str | None): (source)

Undocumented

@status.setter
def status(self, value: Status | status_pb2.Status | None): (source)

Undocumented

@time.setter
def time(self, value: timestamp_pb2.Timestamp | datetime.datetime | None): (source)

Undocumented

@type.setter
def type(self, value: builtins.str | None): (source)

Undocumented

__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.Descriptor]('.nebius.audit.v2.AuditEvent'
,
                                                   audit_event_pb2.DESCRIPTOR,
                                                   descriptor_1.Descriptor)
__PY_TO_PB2__: builtins.dict[builtins.str, builtins.str] = (source)

Undocumented

Value
{'id': 'id',
 'source': 'source',
 'spec_version': 'spec_version',
 'type': 'type',
 'service': 'service',
 'action': 'action',
 'time': 'time',
...
@builtins.property
action: builtins.str = (source)

Indicates an action taken on the resource.

@builtins.property
authentication: Authentication = (source)

Represents the subject of an API call.

@builtins.property
authorization: Authorization = (source)

Represents permissions that have been verified for the subject as part of the API call.

@builtins.property
event_version: builtins.str = (source)

Audit event version, in "X.Y" format, events within different Y's are backwards compatible, events with different X's are not.

@builtins.property
id: builtins.str = (source)

Unique event id.

@builtins.property
project_region: Region = (source)

Region of an application

@builtins.property
request: Request = (source)

Contains information about the request from the customer.

@builtins.property
resource: Resource = (source)

A resource that was read or modified as part of the operation. Can be empty if no resource accessed or changed.

@builtins.property
response: Response = (source)

Contains information about the response from the server.

@builtins.property
service: Service = (source)

Indicates the service that generated the event.

@builtins.property
source: builtins.str = (source)

Identifies the context in which an event happened. Presented in the form of URI.

@builtins.property
spec_version: builtins.str = (source)
@builtins.property
status: Status = (source)

The async operation status

@builtins.property
time: datetime.datetime = (source)

Timestamp of when the occurrence happened.

@builtins.property
type: builtins.str = (source)

The type of event related to the originating occurrence. Formed according to template: ai.nebius.<serviceName>.<resourceType>.<action>