CreateSavedQueryDetails¶
-
class
oci.cloud_guard.models.
CreateSavedQueryDetails
(**kwargs)¶ Bases:
object
Details of query to be saved
Methods
__init__
(**kwargs)Initializes a new CreateSavedQueryDetails object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this CreateSavedQueryDetails. defined_tags
Gets the defined_tags of this CreateSavedQueryDetails. description
Gets the description of this CreateSavedQueryDetails. display_name
[Required] Gets the display_name of this CreateSavedQueryDetails. freeform_tags
Gets the freeform_tags of this CreateSavedQueryDetails. query
[Required] Gets the query of this CreateSavedQueryDetails. -
__init__
(**kwargs)¶ Initializes a new CreateSavedQueryDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - display_name (str) – The value to assign to the display_name property of this CreateSavedQueryDetails.
- description (str) – The value to assign to the description property of this CreateSavedQueryDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateSavedQueryDetails.
- query (str) – The value to assign to the query property of this CreateSavedQueryDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateSavedQueryDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateSavedQueryDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateSavedQueryDetails. Compartment OCID of the saved query
Returns: The compartment_id of this CreateSavedQueryDetails. Return type: str
Gets the defined_tags of this CreateSavedQueryDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this CreateSavedQueryDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this CreateSavedQueryDetails. Description of the saved query
Returns: The description of this CreateSavedQueryDetails. Return type: str
-
display_name
¶ [Required] Gets the display_name of this CreateSavedQueryDetails. Display name of the saved query
Returns: The display_name of this CreateSavedQueryDetails. Return type: str
Gets the freeform_tags of this CreateSavedQueryDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Avoid entering confidential information.
Returns: The freeform_tags of this CreateSavedQueryDetails. Return type: dict(str, str)
-
query
¶ [Required] Gets the query of this CreateSavedQueryDetails. The adhoc query expression that is run
Returns: The query of this CreateSavedQueryDetails. Return type: str
-