ValidatePatternDetails

class oci.data_catalog.models.ValidatePatternDetails(**kwargs)

Bases: object

Validate pattern using the expression and file list.

Methods

__init__(**kwargs) Initializes a new ValidatePatternDetails object with values from keyword arguments.

Attributes

check_failure_limit Gets the check_failure_limit of this ValidatePatternDetails.
check_file_path_list Gets the check_file_path_list of this ValidatePatternDetails.
expression Gets the expression 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.
  • 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.
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
check_file_path_list

Gets the check_file_path_list of this ValidatePatternDetails. List of file paths against which the expression 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]
expression

Gets the expression of this ValidatePatternDetails. The expression used in the pattern that may include qualifiers. Refer to the user documentation for details of the format and examples.

Returns:The expression of this ValidatePatternDetails.
Return type:str