UpdateDatabaseToolsMcpToolsetDetails

class oci.database_tools.models.UpdateDatabaseToolsMcpToolsetDetails(**kwargs)

Bases: object

Database Tools MCP Toolset information to be updated.

Attributes:

TYPE_BUILT_IN_SQL_TOOLS

A constant which can be used with the type property of a UpdateDatabaseToolsMcpToolsetDetails.

TYPE_CUSTOMIZABLE_REPORTING_TOOLS

A constant which can be used with the type property of a UpdateDatabaseToolsMcpToolsetDetails.

TYPE_CUSTOM_SQL_TOOL

A constant which can be used with the type property of a UpdateDatabaseToolsMcpToolsetDetails.

TYPE_GENAI_SQL_ASSISTANT

A constant which can be used with the type property of a UpdateDatabaseToolsMcpToolsetDetails.

defined_tags

Gets the defined_tags of this UpdateDatabaseToolsMcpToolsetDetails.

description

Gets the description of this UpdateDatabaseToolsMcpToolsetDetails.

display_name

Gets the display_name of this UpdateDatabaseToolsMcpToolsetDetails.

freeform_tags

Gets the freeform_tags of this UpdateDatabaseToolsMcpToolsetDetails.

type

[Required] Gets the type of this UpdateDatabaseToolsMcpToolsetDetails.

version

Gets the version of this UpdateDatabaseToolsMcpToolsetDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateDatabaseToolsMcpToolsetDetails 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.

TYPE_BUILT_IN_SQL_TOOLS = 'BUILT_IN_SQL_TOOLS'

A constant which can be used with the type property of a UpdateDatabaseToolsMcpToolsetDetails. This constant has a value of “BUILT_IN_SQL_TOOLS”

TYPE_CUSTOMIZABLE_REPORTING_TOOLS = 'CUSTOMIZABLE_REPORTING_TOOLS'

A constant which can be used with the type property of a UpdateDatabaseToolsMcpToolsetDetails. This constant has a value of “CUSTOMIZABLE_REPORTING_TOOLS”

TYPE_CUSTOM_SQL_TOOL = 'CUSTOM_SQL_TOOL'

A constant which can be used with the type property of a UpdateDatabaseToolsMcpToolsetDetails. This constant has a value of “CUSTOM_SQL_TOOL”

TYPE_GENAI_SQL_ASSISTANT = 'GENAI_SQL_ASSISTANT'

A constant which can be used with the type property of a UpdateDatabaseToolsMcpToolsetDetails. This constant has a value of “GENAI_SQL_ASSISTANT”

__init__(**kwargs)

Initializes a new UpdateDatabaseToolsMcpToolsetDetails 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
  • version (int) – The value to assign to the version property of this UpdateDatabaseToolsMcpToolsetDetails.

  • display_name (str) – The value to assign to the display_name property of this UpdateDatabaseToolsMcpToolsetDetails.

  • description (str) – The value to assign to the description property of this UpdateDatabaseToolsMcpToolsetDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateDatabaseToolsMcpToolsetDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateDatabaseToolsMcpToolsetDetails.

  • type (str) – The value to assign to the type property of this UpdateDatabaseToolsMcpToolsetDetails. Allowed values for this property are: “CUSTOM_SQL_TOOL”, “BUILT_IN_SQL_TOOLS”, “CUSTOMIZABLE_REPORTING_TOOLS”, “GENAI_SQL_ASSISTANT”

property defined_tags

Gets the defined_tags of this UpdateDatabaseToolsMcpToolsetDetails. 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 UpdateDatabaseToolsMcpToolsetDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this UpdateDatabaseToolsMcpToolsetDetails. A human readable description of the Database Tools MCP toolset.

Returns

The description of this UpdateDatabaseToolsMcpToolsetDetails.

Return type

str

property display_name

Gets the display_name of this UpdateDatabaseToolsMcpToolsetDetails. A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.

Returns

The display_name of this UpdateDatabaseToolsMcpToolsetDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this UpdateDatabaseToolsMcpToolsetDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this UpdateDatabaseToolsMcpToolsetDetails.

Return type

dict(str, str)

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.

property type

[Required] Gets the type of this UpdateDatabaseToolsMcpToolsetDetails. The Database Tools MCP Toolset type.

Allowed values for this property are: “CUSTOM_SQL_TOOL”, “BUILT_IN_SQL_TOOLS”, “CUSTOMIZABLE_REPORTING_TOOLS”, “GENAI_SQL_ASSISTANT”

Returns

The type of this UpdateDatabaseToolsMcpToolsetDetails.

Return type

str

property version

Gets the version of this UpdateDatabaseToolsMcpToolsetDetails. The MCP toolset version

Returns

The version of this UpdateDatabaseToolsMcpToolsetDetails.

Return type

int