Feed 概览
本部分指定了用于将商品目录数据传输到 Action Center 的 Feed 文件。Feed 中的内容可定义您提供哪些服务以及哪些服务可用。
商品目录 Feed 的结构由 Google Maps Booking API 进行定义。
如需集成预约重定向,必须提供以下 Feed:
这些 Feed 中的部分字段为必填字段,部分字段为选填字段。可从 Feed 中删除任何标记为选填的空值字段。
Feed 格式使用协议缓冲区 3 语法进行描述。您可以选择以 pb3 格式或派生的 JSON 格式将 Feed 文件上传为协议缓冲区数据的二进制文件序列化。我们建议您以 JSON 格式上传 Feed。
我们建议您在上传前使用 gzip 压缩 Feed。
本指南适用于 Action Center 协议缓冲区。有关如何使用协议缓冲区生成 pb3 文件的一般信息,请参阅下面的 Java 示例。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-26。
[null,null,["最后更新时间 (UTC):2024-11-26。"],[[["Inventory data is transmitted to Actions Center using Entity, Action, and Services feeds, defining your provided and available services."],["Feed structures are based on the Google Maps Booking API, with mandatory feeds for Appointments Redirect integration including Entity, Action, and Services."],["Feeds can be provided in pb3 or JSON format (JSON recommended), with optional fields allowed to be omitted when empty."],["Google recommends compressing feeds using gzip before uploading them to Actions Center."]]],["Inventory data is sent to the Actions Center via feed files, which define offered services and their availability. Mandatory feeds for Appointments Redirect integration include: Entity, Action, and Services feeds. These files can be uploaded in either protocol buffer (pb3) or JSON format, with JSON recommended. Optional fields can be omitted. Feeds are structured according to the Google Maps Booking API, and compressing the feeds using gzip prior to upload is recommended.\n"]]