Method: invalidation.partners.invalidateResource
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Unieważnia istniejący zasób.
Żądanie jest ignorowane, jeśli żądany zasób nie jest subskrybowany w usłudze Google.
Obsługiwane typy zasobów: – Odbiór
Żądanie HTTP
POST https://mapsbooking.googleapis.com/v1alpha/invalidation/{resourceId=partners/**}:invalidateResource
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
resourceId |
string
Nazwa zasobu, który ma zostać unieważniony. Na przykład dla zasobu z odbiorem należy podać nazwę w formacie partners/{partner_id}/pickups/{pickup_id} . Implementacje MUSZĄ usunąć wersje zidentyfikowanego zasobu z pamięci podręcznej.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi jest pusta.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/mapsbooking
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-24 UTC.
[null,null,["Ostatnia aktualizacja: 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`"]]