GrepFilterAllowRule

class oci.logging.models.GrepFilterAllowRule(**kwargs)

Bases: object

Specifies the filtering rule

Methods

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

Attributes

key Gets the key of this GrepFilterAllowRule.
pattern Gets the pattern of this GrepFilterAllowRule.
__init__(**kwargs)

Initializes a new GrepFilterAllowRule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • key (str) – The value to assign to the key property of this GrepFilterAllowRule.
  • pattern (str) – The value to assign to the pattern property of this GrepFilterAllowRule.
key

Gets the key of this GrepFilterAllowRule. The field name to which the regular expression is applied

Returns:The key of this GrepFilterAllowRule.
Return type:str
pattern

Gets the pattern of this GrepFilterAllowRule. The regular expression

Returns:The pattern of this GrepFilterAllowRule.
Return type:str