models.backup_policy_proto_schedule_end module

class models.backup_policy_proto_schedule_end.BackupPolicyProtoScheduleEnd(end_after_num_backups=None, end_time_usecs=None)[source]

Bases: object

Implementation of the ‘BackupPolicyProto_ScheduleEnd’ model.

TODO: type model description here.

Attributes:
end_after_num_backups (long|int): If specified, the backup job will no

longer be run after it has been run these many times.

end_time_usecs (long|int): If specified, the backup job will no longer

be run after this time.

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.