UpdateDatabaseToolsMcpServerDetailsDefault¶
-
class
oci.database_tools.models.UpdateDatabaseToolsMcpServerDetailsDefault(**kwargs)¶ Bases:
oci.database_tools.models.update_database_tools_mcp_server_details.UpdateDatabaseToolsMcpServerDetailsDatabase Tools MCP server information to be updated for the default type.
Attributes
TYPE_DEFAULTstr(object=’’) -> str access_token_expiry_in_secondsGets the access_token_expiry_in_seconds of this UpdateDatabaseToolsMcpServerDetails. custom_rolesGets the custom_roles of this UpdateDatabaseToolsMcpServerDetails. defined_tagsGets the defined_tags of this UpdateDatabaseToolsMcpServerDetails. descriptionGets the description of this UpdateDatabaseToolsMcpServerDetails. display_nameGets the display_name of this UpdateDatabaseToolsMcpServerDetails. freeform_tagsGets the freeform_tags of this UpdateDatabaseToolsMcpServerDetails. refresh_token_expiry_in_secondsGets the refresh_token_expiry_in_seconds of this UpdateDatabaseToolsMcpServerDetails. storageGets the storage of this UpdateDatabaseToolsMcpServerDetailsDefault. type[Required] Gets the type of this UpdateDatabaseToolsMcpServerDetails. Methods
__init__(**kwargs)Initializes a new UpdateDatabaseToolsMcpServerDetailsDefault 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_DEFAULT= 'DEFAULT'¶
-
__init__(**kwargs)¶ Initializes a new UpdateDatabaseToolsMcpServerDetailsDefault object with values from keyword arguments. The default value of the
typeattribute of this class isDEFAULTand it should not be changed. 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 UpdateDatabaseToolsMcpServerDetailsDefault.
- description (str) – The value to assign to the description property of this UpdateDatabaseToolsMcpServerDetailsDefault.
- custom_roles (list[oci.database_tools.models.DatabaseToolsMcpServerCustomRole]) – The value to assign to the custom_roles property of this UpdateDatabaseToolsMcpServerDetailsDefault.
- access_token_expiry_in_seconds (int) – The value to assign to the access_token_expiry_in_seconds property of this UpdateDatabaseToolsMcpServerDetailsDefault.
- refresh_token_expiry_in_seconds (int) – The value to assign to the refresh_token_expiry_in_seconds property of this UpdateDatabaseToolsMcpServerDetailsDefault.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateDatabaseToolsMcpServerDetailsDefault.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateDatabaseToolsMcpServerDetailsDefault.
- type (str) – The value to assign to the type property of this UpdateDatabaseToolsMcpServerDetailsDefault. Allowed values for this property are: “DEFAULT”
- storage (oci.database_tools.models.DatabaseToolsMcpServerStorage) – The value to assign to the storage property of this UpdateDatabaseToolsMcpServerDetailsDefault.
-
access_token_expiry_in_seconds¶ Gets the access_token_expiry_in_seconds of this UpdateDatabaseToolsMcpServerDetails. Access token expiry in seconds
Returns: The access_token_expiry_in_seconds of this UpdateDatabaseToolsMcpServerDetails. Return type: int
-
custom_roles¶ Gets the custom_roles of this UpdateDatabaseToolsMcpServerDetails. Custom roles associated with the MCP Server.
Returns: The custom_roles of this UpdateDatabaseToolsMcpServerDetails. Return type: list[oci.database_tools.models.DatabaseToolsMcpServerCustomRole]
Gets the defined_tags of this UpdateDatabaseToolsMcpServerDetails. 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 UpdateDatabaseToolsMcpServerDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this UpdateDatabaseToolsMcpServerDetails. A human-readable description of the Database Tools MCP server.
Returns: The description of this UpdateDatabaseToolsMcpServerDetails. Return type: str
-
display_name¶ Gets the display_name of this UpdateDatabaseToolsMcpServerDetails. A meaningful, human-readable label displayed to end users. Not required to be unique and can be changed after creation. Do not include confidential information.
Returns: The display_name of this UpdateDatabaseToolsMcpServerDetails. Return type: str
Gets the freeform_tags of this UpdateDatabaseToolsMcpServerDetails. 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 UpdateDatabaseToolsMcpServerDetails. 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.
-
refresh_token_expiry_in_seconds¶ Gets the refresh_token_expiry_in_seconds of this UpdateDatabaseToolsMcpServerDetails. Refresh token expiry in seconds
Returns: The refresh_token_expiry_in_seconds of this UpdateDatabaseToolsMcpServerDetails. Return type: int
-
storage¶ Gets the storage of this UpdateDatabaseToolsMcpServerDetailsDefault.
Returns: The storage of this UpdateDatabaseToolsMcpServerDetailsDefault. Return type: oci.database_tools.models.DatabaseToolsMcpServerStorage
-
type¶ [Required] Gets the type of this UpdateDatabaseToolsMcpServerDetails. The Database Tools MCP server type.
Allowed values for this property are: “DEFAULT”
Returns: The type of this UpdateDatabaseToolsMcpServerDetails. Return type: str
-