models_v2.protection_group_file_filtering_policy module

class models_v2.protection_group_file_filtering_policy.ProtectionGroupFileFilteringPolicy(include_list=None, exclude_list=None)[source]

Bases: object

Implementation of the ‘ProtectionGroupFileFilteringPolicy’ model.

Specifies a set of filters for a file based Protection Group. These values are strings which can represent a prefix or suffix. Example: ‘/tmp’ or ‘*.mp4’. For file based Protection Groups, all files under prefixes specified by the ‘includeFilters’ list will be protected unless they are explicitly excluded by the ‘excludeFilters’ list.

include_list (list of string): Specifies the list of included files

for this Protection Group.

exclude_list (list of string): Specifies the list of excluded files

for this protection Protection Group. Exclude filters have a higher priority than include filters.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.