您可以在单个事务消息中包含任何数据更新的任意组合,但每条消息的大小上限为 100 MB。通常,所有拉取和提示请求的响应时间限制为 100 秒。超时是一个可配置的字段,可由 Google 根据请求进行调整。对于非常大的消息,Google 建议您将超时设置为 10 分钟。
如需大幅缩减消息大小并尽可能避免消息大小和超时问题,请使用事务消息来预定义会议室和软件包元数据。您还可以通过在消息标头中添加 Content-Encoding: gzip,将 GNU 压缩内容添加到消息中。
保留所有权利。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-06-17。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-06-17。"],[[["Transaction messages relay data about rooms, prices, and packages to Google, encompassing itinerary details (like pricing and inventory) and room/package metadata (descriptions, photos, etc.)."],["These messages are delivered via Pull or Changed Pricing modes, with Google occasionally requesting live pricing for real-time search results (except for EEA users due to the new search experience)."],["Transaction messages can combine various data updates, but they're limited to 100MB; pre-defining room/package metadata and using gzip compression can help manage size."],["Google might request updated pricing through additional Query or Live Pricing Queries if its cached data is deemed outdated, ensuring accurate information is displayed."],["When defining pricing and availability within Transaction messages, either `\u003cAllowablePackageIDs\u003e` or `\u003cAllowableRoomIDs\u003e` should be used, but not both, to specify room type and rate plan combinations."]]],[]]