models_v2.recover_gcp_environment_params module

class models_v2.recover_gcp_environment_params.RecoverGCPEnvironmentParams(recovery_action='RecoverVMs', objects=None, recover_vm_params=None)[source]

Bases: object

Implementation of the ‘Recover GCP environment params.’ model.

Specifies the recovery options specific to GCP environment.

Attributes:
objects (list of CommonRecoverObjectSnapshotParams): Specifies the

list of recover Object parameters. This property is mandatory for all recovery action types except recover vms. While recovering VMs, a user can specify snapshots of VM’s or a Protection Group Run details to recover all the VM’s that are backed up by that Run.

recovery_action (string): Specifies the type of recover action to be

performed.

recover_vm_params (RecoverGCPVMParams): Specifies the parameters to

recover GCP VM.

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.