CreateAiModelAuthDetails

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

Bases: object

The information about new 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 CreateAiModelAuthDetails.

AUTH_TYPE_OCI_GEN_AI

A constant which can be used with the auth_type property of a CreateAiModelAuthDetails.

auth_type

[Required] Gets the auth_type of this CreateAiModelAuthDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateAiModelAuthDetails 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 CreateAiModelAuthDetails. 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 CreateAiModelAuthDetails. This constant has a value of “OCI_GEN_AI”

__init__(**kwargs)

Initializes a new CreateAiModelAuthDetails 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 CreateAiModelAuthDetails. Allowed values for this property are: “OCI_GEN_AI”, “API_KEY”

property auth_type

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

Allowed values for this property are: “OCI_GEN_AI”, “API_KEY”

Returns

The auth_type of this CreateAiModelAuthDetails.

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.