News

Google Cloud details AI-generated metadata preview for Cloud Storage

Cloud Storage attaches image labels and PDF categories directly to eligible files. A Storage Insights dataset makes the results queryable in BigQuery.

D
Nov 26, 2026 · 2 min read

Google Cloud detailed its Cloud Storage object enrichments preview, which adds AI-generated metadata directly to eligible images and PDFs in configured buckets.

Cloud Storage runs selected Google models in the background and stores the results as object contexts, a form of metadata attached to each file. Google had already listed object enrichments as available in preview in its Cloud Storage release notes.

Each file must be 20 MiB or smaller. Cloud Storage checks the object’s Content-Type metadata for an eligible format. The image models accept BMP, GIF, ICO, JPEG, PNG, TIFF and WebP. PDFs must use application/pdf.

The image labeling model (label-detector) returns descriptive labels, and the PDF classification model (pdf-classification) assigns documents to a hierarchy of business, industry and topic categories. Both return confidence scores. Three other models detect objects, faces or explicit content in images.

Users configure object enrichments by specifying the exact bucket names, choosing one or more models and selecting a processing location in the US, EU or Asia. They can create the FeatureConfig in the Google Cloud console, through the Google Cloud CLI or via the JSON API. Rapid buckets and buckets with hierarchical namespace enabled are ineligible.

The service agent needs Identity and Access Management permissions before it can process objects. Creating or updating a configuration can take up to 24 hours to take effect.

Cloud Storage lists the generated metadata under contexts.custom. An object’s details page in the console shows basic context information and model status. Users with the required permission can retrieve the full JSON result, up to 128 KiB, through the preview viewFullContext method in the Cloud Storage JSON API.

With a Storage Insights dataset, users can query labels, categories and confidence scores across objects in BigQuery through the object_contexts_catalog_view view.

For each image model, Google lists a rate of US$0.25 per 1,000 objects for the first million in a month and US$0.05 per 1,000 above that tier. Google lists PDF classification at no charge during public preview, with a total limit of 100 million objects per customer. Separate storage and operations charges can apply.

More news