AiModelAuthDetails

class oci.golden_gate.models.AiModelAuthDetails(**kwargs)

Bases: object

Represents authentication details for an AI Model connection.

Attributes

AUTH_TYPE_API_KEY A constant which can be used with the auth_type property of a AiModelAuthDetails.
AUTH_TYPE_OCI_GEN_AI A constant which can be used with the auth_type property of a AiModelAuthDetails.
auth_type [Required] Gets the auth_type of this AiModelAuthDetails.

Methods

__init__(**kwargs) Initializes a new AiModelAuthDetails 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.
AUTH_TYPE_API_KEY = 'API_KEY'

A constant which can be used with the auth_type property of a AiModelAuthDetails. This constant has a value of “API_KEY”

AUTH_TYPE_OCI_GEN_AI = 'OCI_GEN_AI'

A constant which can be used with the auth_type property of a AiModelAuthDetails. This constant has a value of “OCI_GEN_AI”

__init__(**kwargs)

Initializes a new AiModelAuthDetails 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:auth_type (str) – The value to assign to the auth_type property of this AiModelAuthDetails. Allowed values for this property are: “OCI_GEN_AI”, “API_KEY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
auth_type

[Required] Gets the auth_type of this AiModelAuthDetails. Authentication type used by the AI model connection.

Allowed values for this property are: “OCI_GEN_AI”, “API_KEY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The auth_type of this AiModelAuthDetails.
Return type: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.