UpdateDatabaseToolsMcpToolsetToolDetails¶
-
class
oci.database_tools.models.UpdateDatabaseToolsMcpToolsetToolDetails(**kwargs)¶ Bases:
objectMCP toolset tool configuration
Attributes
STATUS_DISABLEDA constant which can be used with the status property of a UpdateDatabaseToolsMcpToolsetToolDetails. STATUS_ENABLEDA constant which can be used with the status property of a UpdateDatabaseToolsMcpToolsetToolDetails. allowed_rolesGets the allowed_roles of this UpdateDatabaseToolsMcpToolsetToolDetails. name[Required] Gets the name of this UpdateDatabaseToolsMcpToolsetToolDetails. statusGets the status of this UpdateDatabaseToolsMcpToolsetToolDetails. Methods
__init__(**kwargs)Initializes a new UpdateDatabaseToolsMcpToolsetToolDetails object with values from keyword arguments. -
STATUS_DISABLED= 'DISABLED'¶ A constant which can be used with the status property of a UpdateDatabaseToolsMcpToolsetToolDetails. This constant has a value of “DISABLED”
-
STATUS_ENABLED= 'ENABLED'¶ A constant which can be used with the status property of a UpdateDatabaseToolsMcpToolsetToolDetails. This constant has a value of “ENABLED”
-
__init__(**kwargs)¶ Initializes a new UpdateDatabaseToolsMcpToolsetToolDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this UpdateDatabaseToolsMcpToolsetToolDetails.
- status (str) – The value to assign to the status property of this UpdateDatabaseToolsMcpToolsetToolDetails. Allowed values for this property are: “ENABLED”, “DISABLED”
- allowed_roles (list[str]) – The value to assign to the allowed_roles property of this UpdateDatabaseToolsMcpToolsetToolDetails.
-
allowed_roles¶ Gets the allowed_roles of this UpdateDatabaseToolsMcpToolsetToolDetails. The roles granted access to this tool
Returns: The allowed_roles of this UpdateDatabaseToolsMcpToolsetToolDetails. Return type: list[str]
-
name¶ [Required] Gets the name of this UpdateDatabaseToolsMcpToolsetToolDetails. The name of the tool
Returns: The name of this UpdateDatabaseToolsMcpToolsetToolDetails. Return type: str
-
status¶ Gets the status of this UpdateDatabaseToolsMcpToolsetToolDetails. The status of the tool
Allowed values for this property are: “ENABLED”, “DISABLED”
Returns: The status of this UpdateDatabaseToolsMcpToolsetToolDetails. Return type: str
-