ValidatePatternDetails¶
- class oci.data_catalog.models.ValidatePatternDetails(**kwargs)¶
Bases:
objectValidate pattern using the expression and file list.
Methods:
__init__(**kwargs)Initializes a new ValidatePatternDetails object with values from keyword arguments.
Attributes:
Gets the check_failure_limit of this ValidatePatternDetails.
Gets the check_file_path_list of this ValidatePatternDetails.
Gets the expression of this ValidatePatternDetails.
Gets the file_path_prefix of this ValidatePatternDetails.
- __init__(**kwargs)¶
Initializes a new ValidatePatternDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
expression (str) – The value to assign to the expression property of this ValidatePatternDetails.
file_path_prefix (str) – The value to assign to the file_path_prefix property of this ValidatePatternDetails.
check_file_path_list (list[str]) – The value to assign to the check_file_path_list property of this ValidatePatternDetails.
check_failure_limit (int) – The value to assign to the check_failure_limit property of this ValidatePatternDetails.
- property check_failure_limit¶
Gets the check_failure_limit of this ValidatePatternDetails. The maximum number of UNMATCHED files, in checkFilePathList, above which the check fails. Optional, if checkFilePathList is provided.
If provided with the request, this overrides the value which already exists as part of the pattern, if any.
- Returns
The check_failure_limit of this ValidatePatternDetails.
- Return type
int
- property check_file_path_list¶
Gets the check_file_path_list of this ValidatePatternDetails. List of file paths against which the pattern can be tried, as a check. This documents, for reference purposes, some example objects a pattern is meant to work with.
If provided with the request,this overrides the list which already exists as part of the pattern, if any.
- Returns
The check_file_path_list of this ValidatePatternDetails.
- Return type
list[str]
- property expression¶
Gets the expression of this ValidatePatternDetails. Input string which drives the selection process, allowing for fine-grained control using qualifiers. Refer to the user documentation for details of the format and examples. A pattern cannot include both a prefix and an expression.
- Returns
The expression of this ValidatePatternDetails.
- Return type
str
- property file_path_prefix¶
Gets the file_path_prefix of this ValidatePatternDetails. Input string which drives the selection process. Refer to the user documentation for details of the format and examples. A pattern cannot include both a prefix and an expression.
- Returns
The file_path_prefix of this ValidatePatternDetails.
- Return type
str