models.retrieve_archive_info_retrieved_entity module

class models.retrieve_archive_info_retrieved_entity.RetrieveArchiveInfoRetrievedEntity(bytes_transferred=None, end_timestamp_usecs=None, entity=None, error=None, logical_bytes_transferred=None, logical_size_bytes=None, progress_monitor_task_path=None, relative_snapshot_dir=None, start_timestamp_usecs=None, status=None)[source]

Bases: object

Implementation of the ‘RetrieveArchiveInfo_RetrievedEntity’ model.

Proto to define the info about the entity that was retrieved from an archive.

Attributes:
bytes_transferred (long|int): Number of physical bytes transferred

over wire for this entity.

end_timestamp_usecs (long|int): Time in microseconds when retrieve of

this entity finished or failed.

entity (EntityProto): Specifies the attributes and the latest

statistics about an entity.

error (ErrorProto): If the retrieve of the ‘entity’ failed, this

field may contain the cause of the failure.

logical_bytes_transferred (long|int): Number of logical bytes

transferred so far.

logical_size_bytes (long|int): Total logical size of this entity. progress_monitor_task_path (string): The path relative to the root

path of the retrieval task progress monitor of this entity progress monitor.

relative_snapshot_dir (string): The path relative to the root of the

file system where the snapshot of this entity was retrieved/copied to.

start_timestamp_usecs (long|int): Time in microseconds when retrieve

of this entity started.

status (int): The retrieval status of this entity.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.