RuleType

class oci.cloud_guard.models.RuleType(**kwargs)

Bases: object

The detector rule types.

Attributes

KEY_CATEGORY A constant which can be used with the key property of a RuleType.
key [Required] Gets the key of this RuleType.
value [Required] Gets the value of this RuleType.

Methods

__init__(**kwargs) Initializes a new RuleType object with values from keyword arguments.
KEY_CATEGORY = 'CATEGORY'

A constant which can be used with the key property of a RuleType. This constant has a value of “CATEGORY”

__init__(**kwargs)

Initializes a new RuleType 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 RuleType. Allowed values for this property are: “CATEGORY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • value (list[str]) – The value to assign to the value property of this RuleType.
key

[Required] Gets the key of this RuleType. The unique identifier of the detector rule type

Allowed values for this property are: “CATEGORY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The key of this RuleType.
Return type:str
value

[Required] Gets the value of this RuleType. Detector rule type value

Returns:The value of this RuleType.
Return type:list[str]