Method: properties.accessBindings.batchUpdate
Cập nhật thông tin về nhiều mối liên kết quyền truy cập với một tài khoản hoặc tài sản.
Yêu cầu HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings:batchUpdate
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Tham số |
parent |
string
Bắt buộc. Tài khoản hoặc tài sản sở hữu các liên kết quyền truy cập. Nguồn gốc của tất cả các thông báo AccessBinding được cung cấp trong các thông báo UpdateAccessBindingRequest phải khớp với trường này. Định dạng: - tài khoản/{account} - thuộc tính/{property}
|
Nội dung yêu cầu
Nội dung yêu cầu chứa dữ liệu có cấu trúc sau:
Trường |
requests[] |
object (UpdateAccessBindingRequest )
Bắt buộc. Các yêu cầu chỉ định các liên kết truy cập cần cập nhật. Có thể cập nhật tối đa 1.000 liên kết quyền truy cập cùng lúc.
|
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 BatchUpdateAccessBindingsResponse
.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/analytics.manage.users
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: 2024-08-29 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-08-29 UTC."],[[["Updates information about multiple access bindings to an account or property."],["Sends a POST request to the specified URL with path parameters for the parent account or property."],["Requires a request body containing an array of UpdateAccessBindingRequest objects."],["Upon success, returns a BatchUpdateAccessBindingsResponse object."],["Needs authorization with the `https://www.googleapis.com/auth/analytics.manage.users` scope."]]],["This document details the process of updating multiple access bindings for an account or property via a `POST` request to a specified URL. The URL requires the `parent` parameter, indicating the account or property. The request body, formatted in JSON, contains an array of `requests`, each defining an access binding to update, with a maximum of 1000 allowed. Successful updates return a `BatchUpdateAccessBindingsResponse`. This process requires the `https://www.googleapis.com/auth/analytics.manage.users` authorization scope.\n"]]