UpdateAiModelAuthDetails¶
- class oci.golden_gate.models.UpdateAiModelAuthDetails(**kwargs)¶
Bases:
objectThe information to update authentication details for an AI Model connection.
Attributes:
A constant which can be used with the auth_type property of a UpdateAiModelAuthDetails.
A constant which can be used with the auth_type property of a UpdateAiModelAuthDetails.
[Required] Gets the auth_type of this UpdateAiModelAuthDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateAiModelAuthDetails 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 UpdateAiModelAuthDetails. 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 UpdateAiModelAuthDetails. This constant has a value of “OCI_GEN_AI”
- __init__(**kwargs)¶
Initializes a new UpdateAiModelAuthDetails 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 UpdateAiModelAuthDetails. Allowed values for this property are: “OCI_GEN_AI”, “API_KEY”
- property auth_type¶
[Required] Gets the auth_type of this UpdateAiModelAuthDetails. 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 UpdateAiModelAuthDetails.
- 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.