Method: accounts.locations.updateHealthProviderAttributes
Cập nhật các thuộc tính Nhà cung cấp dịch vụ sức khoẻ của một vị trí cụ thể.
Yêu cầu HTTP
PATCH https://mybusiness.googleapis.com/v4/{healthProviderAttributes.name=accounts/*/locations/*/healthProviderAttributes}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Các tham số |
healthProviderAttributes.name |
string
Bắt buộc. Giá trị nhận dạng của Google cho vị trí này ở dạng: accounts/{accountId}/locations/{locationId}/healthProviderAttributes
|
Tham số truy vấn
Các tham số |
updateMask |
string (FieldMask format)
Không bắt buộc. Các trường cụ thể cần cập nhật. Nếu không có mặt nạ nào được chỉ định, thì quá trình này được coi là cập nhật đầy đủ và tất cả các trường được đặt thành các giá trị được truyền vào, có thể bao gồm việc huỷ đặt các trường trống trong yêu cầu. Trong phiên bản 1, chỉ có trường InsuranceNetwork để cập nhật. Chúng tôi sẽ hỗ trợ thêm các thuộc tính sau. Đây là danh sách các tên trường đủ điều kiện được phân tách bằng dấu phẩy. Ví dụ: "user.displayName,photo"
|
Nội dung yêu cầu
Nội dung yêu cầu chứa một bản sao của HealthProviderAttributes
.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của HealthProviderAttributes
.
Phạm vi uỷ quyền
Yêu cầu một trong các phạm vi OAuth sau:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
Để biết thêm thông tin, hãy xem Tổng quan về OAuth 2.0.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2023-12-02 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]