ApiKeyAiModelAuthDetailsSummary¶
-
class
oci.golden_gate.models.ApiKeyAiModelAuthDetailsSummary(**kwargs)¶ Bases:
oci.golden_gate.models.ai_model_auth_details_summary.AiModelAuthDetailsSummarySummary of API key authentication details for an AI Model connection.
Attributes
AUTH_TYPE_API_KEYstr(object=’’) -> str AUTH_TYPE_OCI_GEN_AIstr(object=’’) -> str api_key_secret_idGets the api_key_secret_id of this ApiKeyAiModelAuthDetailsSummary. auth_type[Required] Gets the auth_type of this AiModelAuthDetailsSummary. base_urlGets the base_url of this ApiKeyAiModelAuthDetailsSummary. Methods
__init__(**kwargs)Initializes a new ApiKeyAiModelAuthDetailsSummary 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'¶
-
AUTH_TYPE_OCI_GEN_AI= 'OCI_GEN_AI'¶
-
__init__(**kwargs)¶ Initializes a new ApiKeyAiModelAuthDetailsSummary object with values from keyword arguments. The default value of the
auth_typeattribute of this class isAPI_KEYand it should not be changed. 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 ApiKeyAiModelAuthDetailsSummary. Allowed values for this property are: “OCI_GEN_AI”, “API_KEY”
- base_url (str) – The value to assign to the base_url property of this ApiKeyAiModelAuthDetailsSummary.
- api_key_secret_id (str) – The value to assign to the api_key_secret_id property of this ApiKeyAiModelAuthDetailsSummary.
-
api_key_secret_id¶ Gets the api_key_secret_id of this ApiKeyAiModelAuthDetailsSummary. API key secret OCID for the AI model connection.
Returns: The api_key_secret_id of this ApiKeyAiModelAuthDetailsSummary. Return type: str
-
auth_type¶ [Required] Gets the auth_type of this AiModelAuthDetailsSummary. 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 AiModelAuthDetailsSummary. Return type: str
-
base_url¶ Gets the base_url of this ApiKeyAiModelAuthDetailsSummary. Base URL of the AI model endpoint. If not specified, the default base URL for the selected AI provider will be used.
Returns: The base_url of this ApiKeyAiModelAuthDetailsSummary. 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.
-