Method: properties.keyEvents.create
HTTP অনুরোধ
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/keyEvents
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
parent | string প্রয়োজন। মূল সম্পত্তির সম্পদের নাম যেখানে এই কী ইভেন্ট তৈরি করা হবে। বিন্যাস: বৈশিষ্ট্য/123 |
শরীরের অনুরোধ
অনুরোধের মূল অংশে KeyEvent
একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, রেসপন্স বডিতে KeyEvent
এর একটি নতুন তৈরি ইনস্ট্যান্স থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/analytics.edit
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-25 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/v1alpha/{parent=properties/*}/keyEvents`, specifying the parent property in the URL."],["Includes a request body containing the Key Event details as defined in the [KeyEvent](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.keyEvents#KeyEvent) schema."],["Upon successful completion, the response body provides the newly created Key Event instance, also adhering to the [KeyEvent](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.keyEvents#KeyEvent) schema."]]],["A `POST` request to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/keyEvents` creates a Key Event. The `parent` path parameter, formatted as `properties/123`, is required. The request body must contain a `KeyEvent` instance. A successful request returns the newly created `KeyEvent` in the response body. The `https://www.googleapis.com/auth/analytics.edit` OAuth scope is necessary for authorization. This API uses gRPC Transcoding syntax.\n"]]