Skip to content

Commit 5da0746

Browse files
theDebugger811copybara-github
authored andcommitted
feat(http): Make HttpApiClient public
PiperOrigin-RevId: 755399470
1 parent 24b1127 commit 5da0746

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/java/com/google/genai/HttpApiClient.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package com.google.genai;
1818

19+
import com.google.api.core.InternalApi;
1920
import com.google.auth.oauth2.GoogleCredentials;
2021
import com.google.common.collect.ImmutableMap;
2122
import com.google.genai.errors.GenAiIOException;
@@ -30,8 +31,9 @@
3031
import org.apache.http.entity.ContentType;
3132
import org.apache.http.entity.StringEntity;
3233

33-
/** Base client for the HTTP APIs. */
34-
final class HttpApiClient extends ApiClient {
34+
/** Base client for the HTTP APIs. This is for internal use only. */
35+
@InternalApi
36+
public class HttpApiClient extends ApiClient {
3537

3638
/** Constructs an ApiClient for Google AI APIs. */
3739
HttpApiClient(Optional<String> apiKey, Optional<HttpOptions> httpOptions) {

0 commit comments

Comments
 (0)