FirebaseAILogic Framework Reference Stay organized with collections Save and categorize content based on your preferences.
Enumerations
The following enumerations are available globally.
Errors that occur when generating content from a model.
Declaration
Swift
@available(iOS15.0,macOS12.0,tvOS15.0,watchOS8.0,*)publicenumGenerateContentError:ErrorRepresents a value in one of JSON’s data types.
This may be decoded from, or encoded to, a
google.protobuf.Value.Declaration
Swift
@available(iOS15.0,macOS12.0,tvOS15.0,watchOS8.0,*)publicenumJSONValue:SendableextensionJSONValue:DecodableextensionJSONValue:EncodableextensionJSONValue:Equatable
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-28 UTC.