Uses of Class
com.google.genai.ApiResponse
Packages that use ApiResponse
-
Uses of ApiResponse in com.google.genai
Subclasses of ApiResponse in com.google.genaiModifier and TypeClassDescriptionfinal classProvides a simulated HTTP response from a replay file.Methods in com.google.genai that return ApiResponseModifier and TypeMethodDescriptionabstract ApiResponseApiClient.request(String httpMethod, String path, byte[] requestBytes, Optional<HttpOptions> httpOptions) Sends a Http request given the http method, path, and request bytes.abstract ApiResponseApiClient.request(String httpMethod, String path, String requestJson, Optional<HttpOptions> httpOptions) Sends a Http request given the http method, path, and request json string.ReplayApiClient.request(String httpMethod, String path, byte[] requestBytes, Optional<HttpOptions> httpOptions) Sends a Http request given the http method, path, request bytes, and http options.ReplayApiClient.request(String httpMethod, String path, String requestJson, Optional<HttpOptions> httpOptions) Sends a Http Post request given the path and request json string.Methods in com.google.genai that return types with arguments of type ApiResponseModifier and TypeMethodDescriptionabstract CompletableFuture<ApiResponse>ApiClient.asyncRequest(String httpMethod, String path, byte[] requestBytes, Optional<HttpOptions> httpOptions) Sends an asynchronous Http request given the http method, path, request bytes, and http options.abstract CompletableFuture<ApiResponse>ApiClient.asyncRequest(String httpMethod, String path, String requestJson, Optional<HttpOptions> httpOptions) Sends an asynchronous Http request given the http method, path, request json string, and http options.HttpApiClient.asyncRequest(String httpMethod, String url, byte[] requestBytes, Optional<HttpOptions> requestHttpOptions) Sends an asynchronous Http request given the http method, path, request bytes, and http options.HttpApiClient.asyncRequest(String httpMethod, String path, String requestJson, Optional<HttpOptions> requestHttpOptions) Sends an asynchronous Http request given the http method, path, request json string, and http options.ReplayApiClient.asyncRequest(String httpMethod, String path, byte[] requestBytes, Optional<HttpOptions> httpOptions) Sends an asynchronous Http request given the http method, path, request bytes, and http options.ReplayApiClient.asyncRequest(String httpMethod, String path, String requestJson, Optional<HttpOptions> httpOptions) Sends an asynchronous Http request given the http method, path, request json string, and http options.Constructors in com.google.genai with parameters of type ApiResponseModifierConstructorDescriptionResponseStream(Class<T> clazz, ApiResponse response, Object obj, String converterName)