models.gdpr_copy_task module

class models.gdpr_copy_task.GdprCopyTask(job_id=None, cloud_target_type=None, expiry_time_usecs=None, target_id=None, target_name=None, total_snapshots=None, mtype=None)[source]

Bases: object

Implementation of the ‘GdprCopyTask’ model.

CopyTask defines the copy tasks of a job.

Attributes:
job_id (long|int): Specifies the job with which this copy task is tied

to. Note: this is only used for internal aggregation.

cloud_target_type (string): Specifies the cloud deploy target type.

For example ‘kAzure’,’kAWS’, ‘kGCP’

expiry_time_usecs (long|int): Specifies the expiry of the copy task. target_id (long|int): Specifies the id for the target. target_name (string): Specifies the target of the replication or

archival tasks.

total_snapshots (long|int): Specifies the total number of snapshots. mtype (string): Specifies details about the Copy Run of a Job Run. A

Copy task copies snapshots resulted from a backup run to an external target which could be ‘kLocal’, ‘kArchival’, or ‘kRemote’.

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.