Uses of Class
com.google.genai.ApiClient
Packages that use ApiClient
-
Uses of ApiClient in com.google.genai
Subclasses of ApiClient in com.google.genaiModifier and TypeClassDescriptionclassBase client for the HTTP APIs.final classBase client for the HTTP APIs.Methods in com.google.genai with parameters of type ApiClientModifier and TypeMethodDescriptionstatic StringTransformers.tBatchJobName(ApiClient apiClient, Object name) It validates and extracts the batch job name based on the backend (Vertex AI or MLDev).static StringTransformers.tCachedContentName(ApiClient apiClient, Object origin) Transforms an object to a cached content name for the API.static @Nullable StringTransformers.tCachesModel(ApiClient apiClient, Object origin) Transforms a model name to the correct format for the Caches API.Transformers.tContentsForEmbed(ApiClient apiClient, Object origin) Transforms an object to a list of Content for the embedding API.static StringTransforms a model name to the correct format for the API.static StringTransformers.tModelsUrl(ApiClient apiClient, @Nullable Object baseModels) Determines the appropriate models URL based on the API client type and whether base models are requested.Constructors in com.google.genai with parameters of type ApiClientModifierConstructorDescriptionAsyncBatches(ApiClient apiClient) AsyncCaches(ApiClient apiClient) AsyncDocuments(ApiClient apiClient) AsyncFiles(ApiClient apiClient) AsyncFileSearchStores(ApiClient apiClient) AsyncModels(ApiClient apiClient) AsyncOperations(ApiClient apiClient) AsyncTokens(ApiClient apiClient) AsyncTunings(ApiClient apiClient) FileSearchStores(ApiClient apiClient) Operations(ApiClient apiClient) OperationsConverters(ApiClient apiClient)