class documentation

Represents the secret's content as key-value pair.

Class __OneOfClass_payload__ Undocumented
Class __OneOfClass_payload_binary_value__ Undocumented
Class __OneOfClass_payload_string_value__ Undocumented
Method __dir__ Undocumented
Method __init__ Undocumented
Method binary_value.setter Undocumented
Method key.setter Undocumented
Method string_value.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property binary_value The binary data to encrypt and store in the version of the secret.
Property key Non-confidential key of the payload entry.
Property payload Undocumented
Property string_value The text data to encrypt and store in the version of the secret.

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, *, key: builtins.str | None | unset.UnsetType = unset.Unset, string_value: builtins.str | None | unset.UnsetType = unset.Unset, binary_value: builtins.bytes | None | unset.UnsetType = unset.Unset): (source)
def binary_value(self, value: builtins.bytes | None): (source)

Undocumented

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

Undocumented

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

Undocumented

__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.Descriptor]('.nebius.mysterybox.v1.Payloa
d',
                                                   payload_pb2.DESCRIPTOR,
                                                   descriptor_1.Descriptor)
__PY_TO_PB2__: builtins.dict[builtins.str, builtins.str] = (source)

Undocumented

Value
{'key': 'key',
 'string_value': 'string_value',
 'binary_value': 'binary_value',
 'payload': 'payload'}
@builtins.property
binary_value: builtins.bytes | None = (source)

The binary data to encrypt and store in the version of the secret.

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

Non-confidential key of the payload entry.

@builtins.property
string_value: builtins.str | None = (source)

The text data to encrypt and store in the version of the secret.