GeminiErrorDetail

@Serializable
data class GeminiErrorDetail(val type: String? = null, val reason: String? = null, val domain: String? = null, val metadata: Map<String, String>? = null, val retryDelay: String? = null, val links: List<GeminiErrorLink>? = null, val violations: List<GeminiErrorViolation>? = null)

Represents a detail object within the error response. Fields are nullable as different error types provide different details.

Constructors

Link copied to clipboard
constructor(type: String? = null, reason: String? = null, domain: String? = null, metadata: Map<String, String>? = null, retryDelay: String? = null, links: List<GeminiErrorLink>? = null, violations: List<GeminiErrorViolation>? = null)

Properties

Link copied to clipboard
val domain: String?
Link copied to clipboard
Link copied to clipboard
val metadata: Map<String, String>?
Link copied to clipboard
val reason: String?
Link copied to clipboard
val retryDelay: String?
Link copied to clipboard
@SerialName(value = "@type")
val type: String?
Link copied to clipboard