UpdateDatabaseToolsMcpServerDetailsDefault¶
- class oci.database_tools.models.UpdateDatabaseToolsMcpServerDetailsDefault(**kwargs)¶
Bases:
UpdateDatabaseToolsMcpServerDetailsDatabase Tools MCP server information to be updated for the default type.
Attributes:
A constant which can be used with the type property of a UpdateDatabaseToolsMcpServerDetails.
Gets the access_token_expiry_in_seconds of this UpdateDatabaseToolsMcpServerDetails.
Gets the custom_roles of this UpdateDatabaseToolsMcpServerDetails.
Gets the defined_tags of this UpdateDatabaseToolsMcpServerDetails.
Gets the description of this UpdateDatabaseToolsMcpServerDetails.
Gets the display_name of this UpdateDatabaseToolsMcpServerDetails.
Gets the freeform_tags of this UpdateDatabaseToolsMcpServerDetails.
Gets the refresh_token_expiry_in_seconds of this UpdateDatabaseToolsMcpServerDetails.
Gets the storage of this UpdateDatabaseToolsMcpServerDetailsDefault.
[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'¶
A constant which can be used with the type property of a UpdateDatabaseToolsMcpServerDetails. This constant has a value of “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.
- property 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
- property 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]
- property defined_tags¶
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))
- property 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
- property 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
- property freeform_tags¶
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.
- property 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
- property storage¶
Gets the storage of this UpdateDatabaseToolsMcpServerDetailsDefault.
- Returns
The storage of this UpdateDatabaseToolsMcpServerDetailsDefault.
- Return type
- property 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