Firebase.AI.UrlMetadata

Metadata for a single URL retrieved by theUrlContext tool.

Summary

Public types

UrlRetrievalStatus{
  Unspecified = 0,
  Success,
  Error,
  Paywall,
  Unsafe
}
enum
Status of the URL retrieval.

Properties

RetrievalStatus
The status of the URL retrieval.
Url
System.Uri
The retrieved URL.

Public types

UrlRetrievalStatus

Firebase::AI::UrlMetadata::UrlRetrievalStatus

Status of the URL retrieval.

Properties
Error

The URL retrieval failed.

Paywall

The URL retrieval failed because the content is behind a paywall.

Success

The URL retrieval was successful.

Unsafe

The URL retrieval failed because the content is unsafe.

Unspecified

Unspecified retrieval status

Properties

RetrievalStatus

UrlRetrievalStatusFirebase::AI::UrlMetadata::RetrievalStatus

The status of the URL retrieval.

Url

System.UriFirebase::AI::UrlMetadata::Url

The retrieved URL.

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-16 UTC.