Menyisipkan dan/atau memperbarui data jenis feed yang ditentukan. Hanya melakukan validasi dasar (seperti permintaan dengan format yang salah) setelah itu respons yang sesuai segera dikirim kepada partner. Google melakukan validasi logika bisnis pada permintaan secara asinkron. Panggilan batch ini tidak menjamin atomicity.
Permintaan HTTP
POST https://mapsbooking.googleapis.com/v1alpha/inventory/{parent=partners/*/feeds/*}/record:batchPush
Data yang akan disisipkan dan/atau diperbarui. Maksimum 1.000 data diizinkan dalam satu panggilan API.
Isi respons
Jika berhasil, isi respons akan kosong.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/mapsbooking
GenericRecord
Data jenis feed yang disebutkan dalam permintaan URL.
Representasi JSON
{"generationTimestamp": string,// Union field record_type can be only one of the following:"dataRecord": string,"protoRecord": {"@type": string,field1: ...,...}// End of list of possible types for union field record_type.}
Wajib. Stempel waktu ini digunakan untuk memastikan urutan pembaruan inventaris yang benar.
Stempel waktu dalam RFC3339 UTC "Zulu" , dengan resolusi nanodetik dan hingga sembilan digit pecahan. Contoh: "2014-10-02T15:01:23Z" dan "2014-10-02T15:01:23.045123456Z".
Kolom union record_type. Mengenkapsulasi berbagai jenis feed (ndjson, berbasis proto, dll.) record_type hanya dapat berupa salah satu dari berikut:
Objek yang berisi kolom tipe arbitrer. Kolom tambahan "@type" berisi URI yang mengidentifikasi jenis. Contoh: { "id": 1234, "@type": "types.example.com/standard/id" }.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-24 UTC."],[[["\u003cp\u003eInserts or updates records for a specified feed type using batch calls, which do not guarantee atomicity.\u003c/p\u003e\n"],["\u003cp\u003eSupports two types of records: dataRecord (base64-encoded string) and protoRecord (arbitrary object with a type identifier).\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\u003eMaximum of 1000 records are allowed per API call.\u003c/p\u003e\n"],["\u003cp\u003eGoogle performs business logic validation asynchronously, and basic validation is performed synchronously with an immediate response.\u003c/p\u003e\n"]]],[],null,[]]