ContinuousQueryStartPolicy

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

Bases: object

Continuous query start policy object

Attributes

START_POLICY_TYPE_ABSOLUTE_TIME_START_POLICY A constant which can be used with the start_policy_type property of a ContinuousQueryStartPolicy.
START_POLICY_TYPE_NO_DELAY_START_POLICY A constant which can be used with the start_policy_type property of a ContinuousQueryStartPolicy.
start_policy_type [Required] Gets the start_policy_type of this ContinuousQueryStartPolicy.

Methods

__init__(**kwargs) Initializes a new ContinuousQueryStartPolicy object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
START_POLICY_TYPE_ABSOLUTE_TIME_START_POLICY = 'ABSOLUTE_TIME_START_POLICY'

A constant which can be used with the start_policy_type property of a ContinuousQueryStartPolicy. This constant has a value of “ABSOLUTE_TIME_START_POLICY”

START_POLICY_TYPE_NO_DELAY_START_POLICY = 'NO_DELAY_START_POLICY'

A constant which can be used with the start_policy_type property of a ContinuousQueryStartPolicy. This constant has a value of “NO_DELAY_START_POLICY”

__init__(**kwargs)

Initializes a new ContinuousQueryStartPolicy object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:start_policy_type (str) – The value to assign to the start_policy_type property of this ContinuousQueryStartPolicy. Allowed values for this property are: “NO_DELAY_START_POLICY”, “ABSOLUTE_TIME_START_POLICY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

start_policy_type

[Required] Gets the start_policy_type of this ContinuousQueryStartPolicy. policy used for deciding the query start time

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

Returns:The start_policy_type of this ContinuousQueryStartPolicy.
Return type:str