models_v2.update_object_snapshot_request module¶
-
class
models_v2.update_object_snapshot_request.
UpdateObjectSnapshotRequest
(set_legal_hold=None, data_lock_type=None, expiry_time_secs=None)[source]¶ Bases:
object
Implementation of the ‘Update Object Snapshot Request.’ model.
Specifies the parameters to update an object snapshot.
- Attributes:
- set_legal_hold (bool): Whether to set the snapshot on legal hold. If
set to true, the run cannot be deleted during the retention period.
- data_lock_type (DataLockTypeEnum): Specifies the snapshot data lock
type.
- expiry_time_secs (int): Specifies the expiry time of the snapshot in
Unix timestamp epoch in seconds.
-
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.