TargetIdsSelected¶
-
class
oci.cloud_guard.models.
TargetIdsSelected
(**kwargs)¶ Bases:
oci.cloud_guard.models.target_selected.TargetSelected
Target selection on basis of TargetIds.
Attributes
KIND_ALL
str(object=’’) -> str KIND_TARGETIDS
str(object=’’) -> str KIND_TARGETTYPES
str(object=’’) -> str kind
[Required] Gets the kind of this TargetSelected. values
Gets the values of this TargetIdsSelected. Methods
__init__
(**kwargs)Initializes a new TargetIdsSelected 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'¶
-
KIND_TARGETIDS
= 'TARGETIDS'¶
-
KIND_TARGETTYPES
= 'TARGETTYPES'¶
-
__init__
(**kwargs)¶ Initializes a new TargetIdsSelected object with values from keyword arguments. The default value of the
kind
attribute of this class isTARGETIDS
and it should not be changed. 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 TargetIdsSelected. Allowed values for this property are: “ALL”, “TARGETTYPES”, “TARGETIDS”
- values (list[str]) – The value to assign to the values property of this TargetIdsSelected.
-
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. Target selection.
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
-
values
¶ Gets the values of this TargetIdsSelected. Ids of Target
Returns: The values of this TargetIdsSelected. Return type: list[str]
-