Package com.google.genai
Class AsyncTokens
java.lang.Object
com.google.genai.AsyncTokens
Async module of
AuthToken-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CreateAuthTokenConfig config) Asynchronously creates an ephemeral auth token resource.
-
Constructor Details
-
AsyncTokens
-
-
Method Details
-
create
Asynchronously creates an ephemeral auth token resource.- Parameters:
config- ACreateAuthTokenConfigfor configuring the create request.- Returns:
- A
AuthTokenobject that contains the info of the created resource.
-