models.input_spec_input_vms_selector module¶
-
class
models.input_spec_input_vms_selector.
InputSpecInputVMsSelector
(file_time_filter=None, filename_glob=None, job_ids=None, max_snapshot_timestamp=None, min_snapshot_timestamp=None, partition_ids=None, process_latest_only=None, root_dir=None, source_entity_ids=None, view_box_ids=None, view_name=None)[source]¶ Bases:
object
Implementation of the ‘InputSpec_InputVMsSelector’ model.
If mapper is going to run over files on SnapFS, this selects the input files.
- Attributes:
- file_time_filter (InputSpec_FileTimeFilter): File time filter for
file’s last change time.
- filename_glob (list of string): After VMDKs are selected as above,
the files within them can be selected by using these predicates.
job_ids (list of int): TODO: add descritpion here. max_snapshot_timestamp (long|int):Exclusive end of snapshot_timestamp
range. If missing, inf will be used as the timestamp range.
- min_snapshot_timestamp (long|int): Specifies the logical size used in
bytes.
partition_ids (list of int): Filters are AND of ORs. process_latest_only (bool): Boolean flag to indicate if only latest
snapshot of each object should be processed.
- root_dir (string): Within each volume, traversal will be rooted at
this directory. A typical value here might be /home
source_entity_ids (list of int): TODO: add descritpion here. view_box_ids (long|int): TODO: add descritpion here. view_name (string): This is the view name user enters manually. If
this is set we will process this view only. partition_id and view_box_id will be populated only if view_name is present.
-
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.