UpdateDatabaseToolsMcpServerDetails¶
-
class
oci.database_tools.models.UpdateDatabaseToolsMcpServerDetails(**kwargs)¶ Bases:
objectDatabase Tools MCP server information to be updated.
Attributes
TYPE_DEFAULTA constant which can be used with the type property of a UpdateDatabaseToolsMcpServerDetails. 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. type[Required] Gets the type of this UpdateDatabaseToolsMcpServerDetails. Methods
__init__(**kwargs)Initializes a new UpdateDatabaseToolsMcpServerDetails 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 UpdateDatabaseToolsMcpServerDetails 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: - display_name (str) – The value to assign to the display_name property of this UpdateDatabaseToolsMcpServerDetails.
- description (str) – The value to assign to the description property of this UpdateDatabaseToolsMcpServerDetails.
- custom_roles (list[oci.database_tools.models.DatabaseToolsMcpServerCustomRole]) – The value to assign to the custom_roles property of this UpdateDatabaseToolsMcpServerDetails.
- access_token_expiry_in_seconds (int) – The value to assign to the access_token_expiry_in_seconds property of this UpdateDatabaseToolsMcpServerDetails.
- refresh_token_expiry_in_seconds (int) – The value to assign to the refresh_token_expiry_in_seconds property of this UpdateDatabaseToolsMcpServerDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateDatabaseToolsMcpServerDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateDatabaseToolsMcpServerDetails.
- type (str) – The value to assign to the type property of this UpdateDatabaseToolsMcpServerDetails. Allowed values for this property are: “DEFAULT”
-
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
-
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
-