Package com.google.genai.types
Class AuthToken
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.AuthToken
Config for auth_tokens.create parameters.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthToken.Builderbuilder()Instantiates a builder for AuthToken.static AuthTokenDeserializes a JSON string to a AuthToken object.name()The name of the auth token.abstract AuthToken.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
AuthToken
public AuthToken()
-
-
Method Details
-
name
The name of the auth token. -
builder
Instantiates a builder for AuthToken. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a AuthToken object.
-