Deletes records of specified feed type. Only performs basic validation (like malformed request) after which an appropriate response is returned to the partner immediately. Google performs business logic validation on the request asynchronously. This batch call does not guarantee atomicity.
HTTP request
POST https://mapsbooking.googleapis.com/v1alpha/inventory/{parent=partners/*/feeds/*}/record:batchDelete
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Resource name, which has the format of - |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"records": [
{
object ( |
Fields | |
---|---|
records[] |
Records to be deleted. Maximum of 1000 records are allowed in one api call. |
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/mapsbooking
GenericDeleteRecord
Record to be deleted of the feed type mentioned in url request.
JSON representation |
---|
{ "deleteTime": string, // Union field |
Fields | |
---|---|
delete |
Required. This timestamp is used to determine the order in which a delete will be applied to the inventory. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Union field record_type . Encapsulate different types of feed (ndjson, proto-based, etc.) Partner can provide a full record similar to how a record is provided in a feed or BatchPush API. Partners also have the option to include only the essential fields of a record required to uniquely identify it. record_type can be only one of the following: |
|
data |
For non-proto based feeds. A base64-encoded string. |
proto |
For proto-based feeds. An object containing fields of an arbitrary type. An additional field |