গুরুত্বপূর্ণ: আমরা আর প্লে EMM API-এর জন্য নতুন নিবন্ধন গ্রহণ করছি না।
আরও জানুন
Enterprises: setStoreLayout
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
এন্টারপ্রাইজের জন্য স্টোর লেআউট সেট করে। ডিফল্টরূপে, storeLayoutType "বেসিক" এ সেট করা থাকে এবং মৌলিক স্টোর লেআউট সক্ষম করা হয়। বেসিক লেআউটে শুধুমাত্র অ্যাডমিন দ্বারা অনুমোদিত অ্যাপ রয়েছে এবং যেগুলি ব্যবহারকারীর জন্য উপলব্ধ পণ্য সেটে যোগ করা হয়েছে ( setAvailableProductSet কল ব্যবহার করে)। পৃষ্ঠায় থাকা অ্যাপগুলি তাদের পণ্য আইডি মান অনুসারে সাজানো হয়েছে। আপনি যদি একটি কাস্টম স্টোর লেআউট তৈরি করেন (storeLayoutType = "কাস্টম" সেট করে এবং একটি হোমপেজ সেট করে), বেসিক স্টোর লেআউটটি অক্ষম করা হয়।
অনুরোধ
HTTP অনুরোধ
PUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/storeLayout
পরামিতি
পরামিতি নাম | মান | বর্ণনা |
---|
পাথ প্যারামিটার |
enterpriseId | string | এন্টারপ্রাইজের আইডি। |
অনুমোদন
এই অনুরোধের জন্য নিম্নলিখিত সুযোগের সাথে অনুমোদন প্রয়োজন:
ব্যাপ্তি |
---|
https://www.googleapis.com/auth/androidenterprise |
আরও তথ্যের জন্য, প্রমাণীকরণ এবং অনুমোদন পৃষ্ঠাটি দেখুন।
শরীরের অনুরোধ
অনুরোধের অংশে, নিম্নলিখিত কাঠামোর সাথে ডেটা সরবরাহ করুন:
{
"kind": "androidenterprise#storeLayout",
"homepageId": string,
"storeLayoutType": string
}
সম্পত্তির নাম | মান | বর্ণনা | নোট |
---|
homepageId | string | স্টোর পেজের আইডি হোমপেজ হিসেবে ব্যবহার করা হবে। হোমপেজটি পরিচালিত Google Play Store-এ দেখানো প্রথম পৃষ্ঠা।
একটি হোমপেজ নির্দিষ্ট না করা স্টোর লেআউটের ধরনকে "বেসিক" এ সেট করার সমতুল্য। | |
storeLayoutType | string | দোকান লেআউট প্রকার। ডিফল্টরূপে, হোমপেজআইডি ক্ষেত্র সেট না থাকলে এই মানটি "বেসিক" এবং অন্যথায় "কাস্টম" এ সেট করা হয়। যদি "মৌলিক" তে সেট করা হয়, তবে লেআউটে সমস্ত অনুমোদিত অ্যাপ থাকবে যা ব্যবহারকারীর জন্য সাদা তালিকাভুক্ত করা হয়েছে।
গ্রহণযোগ্য মান হল: | |
kind | string | | |
প্রতিক্রিয়া
সফল হলে, এই পদ্ধতিটি নিম্নলিখিত কাঠামো সহ একটি প্রতিক্রিয়া বডি প্রদান করে:
{
"kind": "androidenterprise#storeLayout",
"homepageId": string,
"storeLayoutType": string
}
সম্পত্তির নাম | মান | বর্ণনা | নোট |
---|
homepageId | string | স্টোর পেজের আইডি হোমপেজ হিসেবে ব্যবহার করা হবে। হোমপেজটি পরিচালিত Google Play Store-এ দেখানো প্রথম পৃষ্ঠা।
একটি হোমপেজ নির্দিষ্ট না করা স্টোর লেআউটের ধরনকে "বেসিক" এ সেট করার সমতুল্য। | |
storeLayoutType | string | দোকান লেআউট প্রকার। ডিফল্টরূপে, হোমপেজআইডি ক্ষেত্র সেট না থাকলে এই মানটি "বেসিক" এবং অন্যথায় "কাস্টম" এ সেট করা হয়। যদি "মৌলিক" তে সেট করা হয়, তবে লেআউটে সমস্ত অনুমোদিত অ্যাপ থাকবে যা ব্যবহারকারীর জন্য সাদা তালিকাভুক্ত করা হয়েছে।
গ্রহণযোগ্য মান হল: | |
kind | string | | |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-04 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-01-04 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eDefines the enterprise's store layout, defaulting to "basic" which displays admin-approved and whitelisted apps sorted by product ID.\u003c/p\u003e\n"],["\u003cp\u003eSetting a custom homepage using \u003ccode\u003ehomepageId\u003c/code\u003e changes the \u003ccode\u003estoreLayoutType\u003c/code\u003e to "custom" and overrides the basic layout.\u003c/p\u003e\n"],["\u003cp\u003eThe API request requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003estoreLayoutType\u003c/code\u003e can be either "basic" or "custom", determining the store's layout structure.\u003c/p\u003e\n"]]],[],null,["# Enterprises: setStoreLayout\n\n| **Note:** Requires [authorization](#auth).\n\nSets the store layout for the enterprise. By default, storeLayoutType\nis set to \"basic\" and the basic store layout is enabled. The basic\nlayout only contains apps approved by the admin, and that have\nbeen added to the available product set for a user (using the\n[setAvailableProductSet](/android/work/play/emm-api/v1/users/setAvailableProductSet) call). Apps on the page are sorted in order of\ntheir product ID value. If you create a custom store layout (by setting\nstoreLayoutType = \"custom\" and setting a homepage), the basic store\nlayout is disabled.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/storeLayout\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|---------------------------|\n| **Path parameters** |||\n| `enterpriseId` | `string` | The ID of the enterprise. |\n\n### Authorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|-----------------------------------------------------|\n| `https://www.googleapis.com/auth/androidenterprise` |\n\nFor more information, see the [authentication and authorization](/android/work/play/emm-api/v1/how-tos/authorizing) page.\n\n### Request body\n\nIn the request body, supply data with the following structure:\n\n```text\n{\n \"kind\": \"androidenterprise#storeLayout\",\n \"homepageId\": string,\n \"storeLayoutType\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|-------------------|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `homepageId` | `string` | The ID of the store page to be used as the homepage. The homepage is the first page shown in the managed Google Play Store. Not specifying a homepage is equivalent to setting the store layout type to \"basic\". | |\n| `storeLayoutType` | `string` | The store layout type. By default, this value is set to \"basic\" if the homepageId field is not set, and to \"custom\" otherwise. If set to \"basic\", the layout will consist of all approved apps that have been whitelisted for the user. \u003cbr /\u003e Acceptable values are: - \"`basic`\" - \"`custom`\" | |\n| `kind` | `string` | | |\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```text\n{\n \"kind\": \"androidenterprise#storeLayout\",\n \"homepageId\": string,\n \"storeLayoutType\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|-------------------|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `homepageId` | `string` | The ID of the store page to be used as the homepage. The homepage is the first page shown in the managed Google Play Store. Not specifying a homepage is equivalent to setting the store layout type to \"basic\". | |\n| `storeLayoutType` | `string` | The store layout type. By default, this value is set to \"basic\" if the homepageId field is not set, and to \"custom\" otherwise. If set to \"basic\", the layout will consist of all approved apps that have been whitelisted for the user. \u003cbr /\u003e Acceptable values are: - \"`basic`\" - \"`custom`\" | |\n| `kind` | `string` | | |"]]