Method: grants.create
প্রদত্ত প্যাকেজে ব্যবহারকারীর জন্য অ্যাক্সেস মঞ্জুর করুন।
HTTP অনুরোধ
POST https://androidpublisher.googleapis.com/androidpublisher/v3/{parent=developers/*/users/*}/grants
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
parent | string প্রয়োজন। যে ব্যবহারকারীর অনুমতি প্রয়োজন। বিন্যাস: বিকাশকারী/{ডেভেলপার}/ব্যবহারকারী/{ব্যবহারকারী} |
শরীরের অনুরোধ
অনুরোধের মূল অংশে Grant
একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, রেসপন্স বডিতে Grant
একটি নতুন তৈরি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/androidpublisher
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Grant access to a specific package for a designated user using an HTTP POST request."],["The request should target the URL `https://androidpublisher.googleapis.com/androidpublisher/v3/{parent=developers/*/users/*}/grants` and include user details in the path parameter."],["Provide the necessary grant details within the request body, adhering to the structure of the `Grant` object as defined in the API reference."],["Upon successful execution, the response will contain the newly created `Grant` object, confirming the access permission."],["Authorization necessitates the use of the `https://www.googleapis.com/auth/androidpublisher` OAuth scope."]]],["A `POST` request is sent to `https://androidpublisher.googleapis.com/androidpublisher/v3/{parent=developers/*/users/*}/grants` to grant user access to a package. The `parent` path parameter, formatted as `developers/{developer}/users/{user}`, specifies the user receiving permission. The request body includes a `Grant` instance, and a successful response returns a new `Grant` instance. Authorization requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope. The URL follows gRPC Transcoding syntax.\n"]]