Method: properties.accessBindings.batchCreate
계정 또는 속성에 대한 여러 액세스 결합에 대한 정보를 만듭니다.
이 메서드는 트랜잭션입니다. AccessBinding을 만들 수 없는 경우 AccessBinding이 생성되지 않습니다.
HTTP 요청
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings:batchCreate
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
parent |
string
필수 항목입니다. 액세스 결합을 소유한 계정 또는 속성입니다. CreateAccessBindingRequest 메시지의 상위 필드는 비어 있거나 이 필드와 일치해야 합니다. 형식: - accounts/{account} - properties/{property}
|
요청 본문
요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.
필드 |
requests[] |
object (CreateAccessBindingRequest )
필수 항목입니다. 만들 액세스 바인딩을 지정하는 요청입니다. 한 번에 최대 1,000개의 액세스 결합을 만들 수 있습니다.
|
응답 본문
성공한 경우 응답 본문에 BatchCreateAccessBindingsResponse
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/analytics.manage.users
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-08-29(UTC)
[null,null,["최종 업데이트: 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"]]