Method: properties.accessBindings.batchCreate
アカウントまたはプロパティへの複数のアクセス バインディングに関する情報を作成します。
このメソッドはトランザクション メソッドです。AccessBinding を作成できない場合、AccessBinding は作成されません。
HTTP リクエスト
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings:batchCreate
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。アクセス バインディングを所有するアカウントまたはプロパティ。CreateAccessBindingRequest メッセージの親フィールドは、空にするか、このフィールドと一致する必要があります。形式: - accounts/{account} - properties/{property}
|
リクエスト本文
リクエストの本文には、次の構造のデータが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には BatchCreateAccessBindingsResponse
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/analytics.manage.users
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は 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"]]