Method: properties.accessBindings.create
アカウントまたはプロパティにアクセス バインディングを作成します。
HTTP リクエスト
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。形式: - accounts/{account} - properties/{property}
|
リクエスト本文
リクエストの本文には AccessBinding
のインスタンスが含まれています。
レスポンスの本文
成功した場合、レスポンスの本文には、新しく作成された AccessBinding
のインスタンスが含まれます。
承認スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/analytics.manage.users
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-05-06 UTC。
[null,null,["最終更新日 2024-05-06 UTC。"],[[["Creates an access binding for a Google Analytics account or property using an HTTP POST request."],["Requires specifying the parent account or property in the request path."],["The request body should contain an `AccessBinding` object, and a successful response will return the created `AccessBinding`."],["Authorization requires the `https://www.googleapis.com/auth/analytics.manage.users` scope."]]],["This outlines creating an access binding for an account or property via a `POST` request to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings`. The `parent` path parameter, specifying either an account or property, is required. The request body needs an `AccessBinding` instance, and upon success, the response body returns the newly created `AccessBinding`. This action requires the `https://www.googleapis.com/auth/analytics.manage.users` OAuth scope.\n"]]