models.indexing_policy_proto module

class models.indexing_policy_proto.IndexingPolicyProto(allow_prefixes=None, deny_prefixes=None, disable_indexing=None)[source]

Bases: object

Implementation of the ‘IndexingPolicyProto’ model.

Proto to encapsulate file level indexing policy for VMs in a backup job.

Attributes:
allow_prefixes (list of string): List of directory prefixes to allow

for indexing.

deny_prefixes (list of string): List of directory prefixes to filter

out.

disable_indexing (bool): If this field is set all the files in the VM

will be filtered.

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.