Method: properties.accessBindings.batchCreate
Membuat informasi tentang beberapa binding akses ke sebuah akun atau properti.
Metode ini bersifat transaksional. Jika AccessBinding tidak dapat dibuat, tidak ada AccessBinding yang akan dibuat.
Permintaan HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings:batchCreate
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
parent |
string
Wajib diisi. Akun atau properti yang memiliki binding akses. Kolom induk di pesan CreateAccessBindingRequest harus kosong atau cocok dengan kolom ini. Format: - akun/{account} - properti/{properti}
|
Isi permintaan
Isi permintaan memuat data dengan struktur berikut:
Kolom |
requests[] |
object (CreateAccessBindingRequest )
Wajib diisi. Permintaan yang menentukan binding akses yang akan dibuat. Maksimum 1.000 binding akses dapat dibuat dalam satu batch.
|
Isi respons
Jika berhasil, isi respons memuat instance BatchCreateAccessBindingsResponse
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/analytics.manage.users
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 2024-08-29 UTC.
[null,null,["Terakhir diperbarui pada 2024-08-29 UTC."],[[["Creates multiple access bindings for an account or property within a single transactional operation."],["Utilizes an HTTP POST request to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings:batchCreate` with path parameter specifying the parent account or property."],["Requires a JSON request body containing an array of `CreateAccessBindingRequest` objects, each defining an access binding to be created."],["Returns a `BatchCreateAccessBindingsResponse` upon successful creation of the access bindings."],["Needs authorization with the `https://www.googleapis.com/auth/analytics.manage.users` scope."]]],["This describes how to use a `POST` request to batch-create access bindings for an account or property, specified in the `parent` path parameter within the URL, which uses gRPC Transcoding syntax. The request body must be JSON formatted and includes an array of `requests`, each defining an access binding. Up to 1000 bindings can be created per batch. Successful responses return a `BatchCreateAccessBindingsResponse`. This action requires `analytics.manage.users` authorization scope. If one binding fails, none are created.\n"]]