Method: accounts.accessBindings.batchCreate
계정 또는 속성에 대한 여러 액세스 바인딩에 관한 정보를 만듭니다.
이 메서드는 트랜잭션 방식입니다. AccessBinding을 만들 수 없는 경우 AccessBinding이 생성되지 않습니다.
HTTP 요청
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/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
CreateAccessBindingRequest
accessBindings.create RPC의 요청 메시지입니다.
JSON 표현 |
{
"parent": string,
"accessBinding": {
object (AccessBinding )
}
} |
필드 |
parent |
string
필수 항목입니다. 형식: - accounts/{account} - properties/{property}
|
accessBinding |
object (AccessBinding )
필수 항목입니다. 만들 액세스 바인딩입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-01-14(UTC)
[null,null,["최종 업데이트: 2025-01-14(UTC)"],[[["Enables the creation of multiple access bindings for an account or property within a single request."],["Employs a transactional approach, ensuring that either all specified access bindings are created or none are."],["Requires the `https://www.googleapis.com/auth/analytics.manage.users` OAuth scope for authorization."],["Allows for specifying up to 1000 access bindings in a single batch creation request."],["Provides a structured response indicating the outcome of the batch creation operation."]]],["This describes how to use a `POST` request to the endpoint `https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchCreate` to create multiple access bindings for an account or property. The `parent` path parameter specifies the account or property. The request body, in JSON format, includes an array of `CreateAccessBindingRequest` objects, each containing the `parent` and the `accessBinding` details. Up to 1000 access bindings can be created at once. Successful responses return `BatchCreateAccessBindingsResponse`, and this process requires the `analytics.manage.users` authorization scope.\n"]]