class documentation

Undocumented

Class __OneOfClass_credential__ Undocumented
Class __OneOfClass_credential_static_key_credential__ Undocumented
Class __OneOfClass_credential_token_credential__ Undocumented
Method __dir__ Undocumented
Method __init__ Create a wrapper around a protobuf message instance.
Method authenticated.setter Undocumented
Method authentication_type.setter Undocumented
Method federation.setter Undocumented
Method static_key_credential.setter Undocumented
Method subject.setter Undocumented
Method token_credential.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property authenticated Answers the question whether or not the subject has been successfully authenticated.
Property authentication_type Describes the type of authentication.
Property credential Undocumented
Property federation Information on the federation within which the subject exists.
Property static_key_credential Information about static key.
Property subject Contains information about the subject of the call.
Property token_credential Information about token.

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, *, authenticated: builtins.bool | None | unset.UnsetType = unset.Unset, subject: Subject | subject_pb2.Subject | None | unset.UnsetType = unset.Unset, federation: Federation | federation_pb2.Federation | None | unset.UnsetType = unset.Unset, authentication_type: AuthenticationType | authentication_type_pb2.AuthenticationType | None | unset.UnsetType = unset.Unset, token_credential: AccessToken | access_token_pb2.AccessToken | None | unset.UnsetType = unset.Unset, static_key_credential: StaticKey | static_key_pb2.StaticKey | None | unset.UnsetType = unset.Unset): (source)

Create a wrapper around a protobuf message instance.

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

Undocumented

@authentication_type.setter
def authentication_type(self, value: AuthenticationType | authentication_type_pb2.AuthenticationType | None): (source)

Undocumented

@federation.setter
def federation(self, value: Federation | federation_pb2.Federation | None): (source)

Undocumented

@static_key_credential.setter
def static_key_credential(self, value: StaticKey | static_key_pb2.StaticKey | None): (source)

Undocumented

@subject.setter
def subject(self, value: Subject | subject_pb2.Subject | None): (source)

Undocumented

@token_credential.setter
def token_credential(self, value: AccessToken | access_token_pb2.AccessToken | None): (source)

Undocumented

__PB2_DESCRIPTOR__ = (source)

Undocumented

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

Undocumented

Value
{'authenticated': 'authenticated',
 'subject': 'subject',
 'federation': 'federation',
 'authentication_type': 'authentication_type',
 'token_credential': 'token_credential',
 'static_key_credential': 'static_key_credential',
 'credential': 'credential'}
@builtins.property
authenticated: builtins.bool = (source)

Answers the question whether or not the subject has been successfully authenticated.

@builtins.property
authentication_type: AuthenticationType = (source)

Describes the type of authentication.

@builtins.property
federation: Federation = (source)

Information on the federation within which the subject exists.

@builtins.property
static_key_credential: StaticKey | None = (source)

Information about static key.

@builtins.property
subject: Subject = (source)

Contains information about the subject of the call.

@builtins.property
token_credential: AccessToken | None = (source)

Information about token.