Method: invalidation.partners.invalidateResource
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ทำให้ทรัพยากรที่มีอยู่เป็นโมฆะ
ระบบจะไม่สนใจคำขอหากทรัพยากรที่ขอไม่ได้สมัครใช้บริการของ Google
ประเภททรัพยากรที่รองรับ: - การรับสินค้า
คำขอ HTTP
POST https://mapsbooking.googleapis.com/v1alpha/invalidation/{resourceId=partners/**}:invalidateResource
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
resourceId |
string
ชื่อของทรัพยากรที่จะลบล้าง เช่น สำหรับทรัพยากรการรับส่ง ชื่อควรอยู่ในรูปแบบ partners/{partner_id}/pickups/{pickup_id} การติดตั้งใช้งานต้องนําเวอร์ชันที่แคชไว้ของทรัพยากรที่ระบุออก
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากดำเนินการสำเร็จ เนื้อหาการตอบกลับจะว่างเปล่า
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/mapsbooking
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-24 UTC
[null,null,["อัปเดตล่าสุด 2025-07-24 UTC"],[[["\u003cp\u003eInvalidates an existing Pickup resource, removing cached versions, if it's subscribed to Google service.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/mapsbooking\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"],["\u003cp\u003eThe request is sent as an empty POST request to a specific URL with the resource ID as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe response body will be empty upon successful invalidation.\u003c/p\u003e\n"]]],[],null,["# Method: invalidation.partners.invalidateResource\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nInvalidates an existing resource.\n\nA request is ignored if the requested resource is not subscribed to Google service.\n\nSupported resource types: - Pickup\n\n### HTTP request\n\n`POST https://mapsbooking.googleapis.com/v1alpha/invalidation/{resourceId=partners/**}:invalidateResource`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `resource``Id` | `string` The name of the resource to be invalidated. For example, for a Pickup resource, name should have the format of `partners/{partner_id}/pickups/{pickup_id}`. Implementations MUST remove cached versions of the identified resource. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/mapsbooking`"]]