Method: properties.keyEvents.create
HTTP リクエスト
POST https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/keyEvents
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。このキーイベントが作成される親プロパティのリソース名。形式: properties/123
|
リクエスト本文
リクエストの本文には KeyEvent
のインスタンスが含まれています。
レスポンスの本文
成功した場合、レスポンスの本文には、新しく作成された KeyEvent
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/analytics.edit
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-05-06 UTC。
[null,null,["最終更新日 2024-05-06 UTC。"],[[["Creates a new Key Event within a specified Google Analytics 4 property."],["Requires `https://www.googleapis.com/auth/analytics.edit` authorization scope for execution."],["Utilizes an HTTP POST request to `https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/keyEvents`, including property ID in the path."],["Request body should contain a KeyEvent object as defined in the provided documentation link, leading to the creation of the Key Event."],["Successful response returns the newly created KeyEvent object."]]],[]]