TargetSelected

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

Bases: object

Specification of how targets are to be selected (select ALL, or select by TargetResourceType or TargetId).

Attributes

KIND_ALL A constant which can be used with the kind property of a TargetSelected.
KIND_TARGETIDS A constant which can be used with the kind property of a TargetSelected.
KIND_TARGETTYPES A constant which can be used with the kind property of a TargetSelected.
kind [Required] Gets the kind of this TargetSelected.

Methods

__init__(**kwargs) Initializes a new TargetSelected 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.
KIND_ALL = 'ALL'

A constant which can be used with the kind property of a TargetSelected. This constant has a value of “ALL”

KIND_TARGETIDS = 'TARGETIDS'

A constant which can be used with the kind property of a TargetSelected. This constant has a value of “TARGETIDS”

KIND_TARGETTYPES = 'TARGETTYPES'

A constant which can be used with the kind property of a TargetSelected. This constant has a value of “TARGETTYPES”

__init__(**kwargs)

Initializes a new TargetSelected 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:kind (str) – The value to assign to the kind property of this TargetSelected. Allowed values for this property are: “ALL”, “TARGETTYPES”, “TARGETIDS”, ‘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.

kind

[Required] Gets the kind of this TargetSelected. Kind of target selection to be used

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

Returns:The kind of this TargetSelected.
Return type:str