Back to Firebase Js Sdk

URLMetadata interface

docs-devsite/ai.urlmetadata.md

12.12.11.1 KB
Original Source

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

URLMetadata interface

Metadata for a single URL retrieved by the URLContextTool tool.

<b>Signature:</b>

typescript
export interface URLMetadata 

Properties

PropertyTypeDescription
retrievedUrlstringThe retrieved URL.
urlRetrievalStatusURLRetrievalStatusThe status of the URL retrieval.

URLMetadata.retrievedUrl

The retrieved URL.

<b>Signature:</b>

typescript
retrievedUrl?: string;

URLMetadata.urlRetrievalStatus

The status of the URL retrieval.

<b>Signature:</b>

typescript
urlRetrievalStatus?: URLRetrievalStatus;