class documentation

Undocumented

Method __dir__ Undocumented
Method __init__ Undocumented
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 Undocumented
Class Method is_credentials Undocumented
Class Method is_sensitive Undocumented
Method __repr__ Undocumented
Method check_presence Undocumented
Method get_full_update_reset_mask Undocumented
Method get_mask Undocumented
Method is_default Undocumented
Method set_mask Undocumented
Method which_field_in_oneof Undocumented
Class Variable __PB2_CLASS__ Undocumented
Instance Variable __pb2_message__ Undocumented
Method _clear_field Undocumented
Method _get_field Undocumented
Method _set_field Undocumented
Class Variable __credentials_fields Undocumented
Class Variable __default Undocumented
Class Variable __sensitive_fields Undocumented
Instance Variable __recorded_reset_mask Undocumented
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)
def action(self, value: builtins.str | None): (source)

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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)

Version of CloudEvents spec. See https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#specversion

@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>"