class documentation

Undocumented

Class __OneOfClass_credentials__ Undocumented
Class __OneOfClass_credentials_access_key__ Undocumented
Class __OneOfClass_credentials_anonymous__ Undocumented
Method __dir__ Undocumented
Method __init__ Create a wrapper around a protobuf message instance.
Method access_key.setter Undocumented
Method anonymous.setter Undocumented
Method bucket_name.setter Undocumented
Method endpoint.setter Undocumented
Method region.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property access_key Undocumented
Property anonymous Undocumented
Property bucket_name Name of the source bucket.
Property credentials Credentials for accessing the source bucket. These credentials must have list and get permissions.
Property endpoint The endpoint must be in the form of a URL, starting with the protocol (https), followed by the endpoint address without a trailing slash. Example: "https://storage.some-cloud".
Property region S3-compatible provider region where source bucket is located.

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, *, endpoint: builtins.str | None | unset.UnsetType = unset.Unset, region: builtins.str | None | unset.UnsetType = unset.Unset, bucket_name: builtins.str | None | unset.UnsetType = unset.Unset, anonymous: TransferCredentialsAnonymous | transfer_pb2.TransferCredentialsAnonymous | None | unset.UnsetType = unset.Unset, access_key: TransferCredentialsAccessKey | transfer_pb2.TransferCredentialsAccessKey | None | unset.UnsetType = unset.Unset): (source)

Create a wrapper around a protobuf message instance.

Raises
AttributeErrorIf the wrapper is missing required class metadata.
@access_key.setter
def access_key(self, value: TransferCredentialsAccessKey | transfer_pb2.TransferCredentialsAccessKey | None): (source)

Undocumented

@anonymous.setter
def anonymous(self, value: TransferCredentialsAnonymous | transfer_pb2.TransferCredentialsAnonymous | None): (source)

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.Descriptor]('.nebius.storage.v1.TransferS
ource.S3CompatibleProvider',
                                                   transfer_pb2.DESCRIPTOR,
                                                   descriptor_1.Descriptor)
__PY_TO_PB2__: builtins.dict[builtins.str, builtins.str] = (source)

Undocumented

Value
{'endpoint': 'endpoint',
 'region': 'region',
 'bucket_name': 'bucket_name',
 'anonymous': 'anonymous',
 'access_key': 'access_key',
 'credentials': 'credentials'}
@builtins.property
access_key: TransferCredentialsAccessKey | None = (source)

Undocumented

@builtins.property
anonymous: TransferCredentialsAnonymous | None = (source)

Undocumented

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

Name of the source bucket.

Credentials for accessing the source bucket. These credentials must have list and get permissions.

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

The endpoint must be in the form of a URL, starting with the protocol (https), followed by the endpoint address without a trailing slash. Example: "https://storage.some-cloud".

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

S3-compatible provider region where source bucket is located.