Google Business Performance API memiliki metode API
BARU yang memungkinkan pengambilan beberapa `DailyMetrics` dalam satu permintaan API.
Tinjau
jadwal penghentian dan petunjuk untuk bermigrasi dari metode API reportInsights v4 ke Google Business Profile Performance API.
Method: accounts.locations.updateHealthProviderAttributes
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Memperbarui atribut Penyedia layanan kesehatan di lokasi tertentu.
Permintaan HTTP
PATCH https://mybusiness.googleapis.com/v4/{healthProviderAttributes.name=accounts/*/locations/*/healthProviderAttributes}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
healthProviderAttributes.name |
string
Wajib. ID Google untuk lokasi ini dalam bentuk: accounts/{accountId}/locations/{locationId}/healthProviderAttributes
|
Parameter kueri
Parameter |
updateMask |
string (FieldMask format)
Opsional. Kolom spesifik yang akan diperbarui. Jika tidak ada mask yang ditentukan, hal ini akan diperlakukan sebagai update penuh dan semua kolom ditetapkan ke nilai yang diteruskan, yang mungkin termasuk kolom kosong yang tidak ditetapkan dalam permintaan. Di V1, hanya ada kolom asuransi Networks yang perlu diperbarui. Atribut lainnya akan didukung nanti. Ini adalah daftar yang dipisahkan koma yang berisi nama-nama kolom yang sepenuhnya memenuhi syarat. Contoh: "user.displayName,photo" .
|
Isi permintaan
Isi permintaan memuat instance HealthProviderAttributes
.
Isi respons
Jika berhasil, isi respons akan berisi instance HealthProviderAttributes
.
Cakupan Otorisasi
Memerlukan salah satu cakupan OAuth berikut:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
Untuk informasi selengkapnya, lihat Ringkasan OAuth 2.0.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2023-12-02 UTC.
[[["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 2023-12-02 UTC."],[[["This document describes how to update the Health provider attributes for a specific location using the `PATCH` method."],["The request requires specifying the `healthProviderAttributes.name` in the path to identify the location and can include an optional `updateMask` query parameter for partial updates."],["The request body should contain the updated `HealthProviderAttributes` object and a successful response will return the updated `HealthProviderAttributes` object."],["Authorization requires either the `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage` scope."]]],["This outlines updating a location's health provider attributes via a PATCH request to a specific URL. The URL utilizes gRPC Transcoding syntax and requires the location's unique identifier in the path. An optional `updateMask` in the query parameters specifies which fields to modify. The request body contains the updated `HealthProviderAttributes`, and a successful response also returns an instance of `HealthProviderAttributes`. Authorization needs either `plus.business.manage` or `business.manage` scopes.\n"]]