Method: invalidation.partners.invalidateResource
讓現有資源失效。
如果要求的資源未訂閱 Google 服務,系統會忽略要求。
支援的資源類型:- 自取
HTTP 要求
POST https://mapsbooking.googleapis.com/v1alpha/invalidation/{resourceId=partners/**}:invalidateResource
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
resourceId |
string
要失效的資源名稱, 舉例來說,「取貨」資源的名稱格式應為 partners/{partner_id}/pickups/{pickup_id} 。實作作業必須移除已識別資源的快取版本。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/mapsbooking
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-07-10 (世界標準時間)。
[null,null,["上次更新時間:2024-07-10 (世界標準時間)。"],[[["Invalidates an existing Pickup resource, removing cached versions, if it's subscribed to Google service."],["Requires the `https://www.googleapis.com/auth/mapsbooking` OAuth scope for authorization."],["The request is sent as an empty POST request to a specific URL with the resource ID as a path parameter."],["The response body will be empty upon successful invalidation."]]],[]]