示例
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本部分提供了指向 GitHub 上 Google Cloud Search 示例和源代码的链接。
样本类型 |
说明 |
参考连接器 |
六个预构建连接器和一个 Python 内容连接器的源代码。您可以使用此代码作为参考来构建自己的连接器。 |
连接器 SDK |
基于 REST API 构建的连接器 SDK 的源代码。您可以检查此代码,了解如何构建自己的 SDK,或了解 SDK API 如何映射到 REST API。 |
内容连接器示例 |
创建内容连接器指南中使用的完整遍历、图遍历和列表遍历示例。 |
身份连接器示例 |
创建身份连接器指南中使用的完全同步身份连接器示例。 |
入门指南示例 |
入门教程源代码。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-29。
[null,null,["最后更新时间 (UTC):2025-08-29。"],[],[],null,["# Samples\n\nThis section provides links to the Google Cloud Search samples and source\ncode on GitHub.\n\n| Sample type | Description |\n|---------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Reference connectors](https://github.com/google-cloudsearch) | The source code for six pre-built connectors and a Python content connector. Use this code to as reference to build your own connector. |\n| [Connector SDK](https://github.com/google-cloudsearch/connector-sdk) | The source code for the connector SDK which is built upon the REST API. Examine this code to see how to build your own SDK or see how the SDK APIs map to the REST API. |\n| [Content connector samples](https://github.com/googleworkspace/cloud-search-samples/tree/main/indexing/connector/sdk) | The full, graph, and list traversal samples used in the [Create a content connector](/workspace/cloud-search/docs/guides/content-connector) guide. |\n| [Identity connector sample](https://github.com/googleworkspace/cloud-search-samples/tree/main/identity/connector/sdk/full-sync) | The full sync identity connector sample used in the [Create an identity connector](/workspace/cloud-search/docs/guides/identity-connector) guide. |\n| [Get started guide sample](https://github.com/googleworkspace/cloud-search-samples/tree/main/end-to-end) | The getting started tutorial source code. |"]]