Method: properties.dataStreams.measurementProtocolSecrets.create
একটি পরিমাপ প্রোটোকল গোপন তৈরি করে।
HTTP অনুরোধ
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
parent | string প্রয়োজন। মূল সংস্থান যেখানে এই গোপনীয়তা তৈরি করা হবে। বিন্যাস: বৈশিষ্ট্য/{property}/dataStreams/{dataStream} |
শরীরের অনুরোধ
অনুরোধের অংশে MeasurementProtocolSecret
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, রেসপন্স বডিতে MeasurementProtocolSecret
এর একটি নতুন তৈরি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত 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 measurement protocol secret associated with a specific Google Analytics 4 property and data stream."],["The request requires specifying the parent resource (property and data stream) and a request body containing the measurement protocol secret details."],["Upon successful execution, the API returns the newly created measurement protocol secret."],["Users need to have the `analytics.edit` scope to authorize this operation."]]],["This document outlines how to create a measurement protocol secret using a `POST` HTTP request to the specified URL, `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets`. The `parent` path parameter, formatted as `properties/{property}/dataStreams/{dataStream}`, is mandatory. The request body must include a `MeasurementProtocolSecret` instance. A successful request returns a newly created `MeasurementProtocolSecret` instance. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope.\n"]]