Package com.google.genai
Class Tokens
java.lang.Object
com.google.genai.Tokens
Provides methods for managing the ephemeral auth tokens. The tokens module is experimental.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(CreateAuthTokenConfig config) Creates an ephemeral auth token resource.
-
Method Details
-
create
Creates an ephemeral auth token resource.- Parameters:
config- ACreateAuthTokenConfigfor configuring the create request.- Returns:
- A
AuthTokenobject that contains the info of the created resource.
-