Create Auth Token Config
@Serializable
Optional parameters.
Constructors
Link copied to clipboard
constructor(httpOptions: HttpOptions? = null, expireTime: Instant? = null, newSessionExpireTime: Instant? = null, uses: Int? = null, liveConnectConstraints: LiveConnectConstraints? = null, lockAdditionalFields: List<String>? = null)
Properties
Link copied to clipboard
An optional time after which, when using the resulting token, messages in Live API sessions will be rejected. (Gemini may preemptively close the session after this time.)
Link copied to clipboard
Used to override HTTP request options.
Link copied to clipboard
Configuration specific to Live API connections created using this token.
Link copied to clipboard
Additional fields to lock in the effective LiveConnectParameters.
Link copied to clipboard
The time after which new Live API sessions using the token resulting from this request will be rejected.