google-cloud-discoveryengine
Google Cloud Discoveryengine API client library
Decision gist · record as of 2026-08-14
Yes. This is Google's official, actively maintained client library for a managed cloud service. Install it if you're building on Google Cloud Discovery Engine. Low install friction, no security vulnerabilities, permissive license, and recent releases. Prerequisite: Google Cloud project setup, billing, and authentication configuration.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Google Cloud project with Discovery Engine API enabled, billing configured, and valid authentication credentials (typically via GOOGLE_APPLICATION_CREDENTIALS environment variable or Application Default Credentials).
- Low friction installation with a pure Python wheel.
- Actively maintained with a recent release; last commit 2026-08-14.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions. Suitable for most projects, whether proprietary or open-source.
last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 5,373 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 7,507,587 downloads/mo, #1,731 on PyPI
Alternatives
Verify before relying
pip install google-cloud-discoveryengine
from google.cloud import discoveryengine_v1
client = discoveryengine_v1.SearchServiceClient()
# Requires Google Cloud credentials and a configured Discovery Engine datastore- Whether the library supports async/await patterns or is synchronous-only
- Rate limiting and quota behavior for Discovery Engine API calls
- Specific authentication methods supported beyond standard google-auth
What it is and what it does
This is Google's official Python client for the Discovery Engine API, a managed service for building search and recommendation systems powered by generative AI. It wraps the underlying gRPC and REST APIs, providing Python-friendly classes and methods to interact with Discovery Engine resources—datastores, search configurations, recommendations, and generative AI features.
The library is part of the broader google-cloud-python ecosystem and follows Google Cloud's standard patterns for authentication, configuration, and error handling. It requires Python 3.10 or later and depends on google-api-core for common functionality, google-auth for credential management, and gRPC libraries for transport. You'll need a Google Cloud project with Discovery Engine enabled and appropriate credentials configured before making API calls.
Use it for
- Build a search interface that indexes and queries custom documents or web content using Discovery Engine's managed search.
- Integrate personalized product recommendations into an e-commerce or content platform via the Recommendations API.
- Create a generative AI-powered search experience that synthesizes answers from indexed data.
- Programmatically manage Discovery Engine datastores, schemas, and configurations from Python applications.
- Implement multi-turn conversational search with grounding in custom knowledge bases.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is Google's official, actively maintained client library for a managed cloud service. Install it if you're building on Google Cloud Discovery Engine. Low install friction, no security vulnerabilities, permissive license, and recent releases. Prerequisite: Google Cloud project setup, billing, and authentication configuration.
Install
google-cloud-discoveryengine on PyPI
Before you install
Low friction installation with a pure Python wheel. Actively maintained with a recent release; last commit 2026-08-14. Depends on standard Google Cloud libraries (google-api-core, google-auth, grpcio, proto-plus, protobuf, grpc-google-iam-v1), all widely used and stable.
Requires Google Cloud project with Discovery Engine API enabled, billing configured, and valid authentication credentials (typically via GOOGLE_APPLICATION_CREDENTIALS environment variable or Application Default Credentials).
License in practice
Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions. Suitable for most projects, whether proprietary or open-source.
Quickstart
pip install google-cloud-discoveryengine
from google.cloud import discoveryengine_v1
client = discoveryengine_v1.SearchServiceClient()
# Requires Google Cloud credentials and a configured Discovery Engine datastore
Verify before relying
- Whether the library supports async/await patterns or is synchronous-only
- Rate limiting and quota behavior for Discovery Engine API calls
- Specific authentication methods supported beyond standard google-auth
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesgoogle-api-coregoogle-authgrpcioproto-plusprotobufgrpc-google-iam-v1 |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 7,507,587 / month, #1,731 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet |
Evidence: google_cloud_discoveryengine-0.20.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “google cloud discovery engine client”
- google-cloud-discoveryenginePython client library for Google Cloud Discovery Engine API, enabling…
- google-cloud-recommendations-aiPython client library for Google Cloud Recommendations AI, enabling…
- google-cloud-appengine-loggingClient library for Google Cloud AppEngine Logging that sends…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also google-cloud-appengine-logging · google-cloud-recommender · google-cloud-dlp · google-cloud-recommendations-ai · google-cloud-build · google-api-python-client · google-cloud-resource-manager · google-cloud-modelarmor · google-ai-generativelanguage · google-cloud-retail