FirebaseAILogic Framework Reference

URLMetadata

public struct URLMetadata : Sendable, Hashable
extension URLMetadata: Decodable

Metadata for a single URL retrieved by the urlContext() tool.

  • Status of the URL retrieval.

    Declaration

    Swift

    public struct URLRetrievalStatus : DecodableProtoEnum, Hashable
  • The retrieved URL.

    Declaration

    Swift

    public let retrievedURL: URL?
  • The status of the URL retrieval.

    Declaration

    Swift

    public let retrievalStatus: URLRetrievalStatus
  • Declaration

    Swift

    public init(from decoder: any Decoder) throws