সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
এই পণ্যের জন্য কনফিগারযোগ্য বৈশিষ্ট্য সংজ্ঞায়িত করে এমন স্কিমা পুনরুদ্ধার করে। সমস্ত পণ্যের একটি স্কিমা আছে, কিন্তু কোন পরিচালিত কনফিগারেশন সংজ্ঞায়িত করা না থাকলে এই স্কিমা খালি হতে পারে। এই স্কিমাটি একটি UI তৈরি করতে ব্যবহার করা যেতে পারে যা একজন প্রশাসককে পণ্যটি কনফিগার করতে দেয়৷ এই API ব্যবহার করে প্রাপ্ত স্কিমার উপর ভিত্তি করে একটি পরিচালিত কনফিগারেশন প্রয়োগ করতে, Play এর মাধ্যমে পরিচালিত কনফিগারেশন দেখুন।
অনুরোধ
HTTP অনুরোধ
GET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/products/productId/appRestrictionsSchema
পরামিতি
পরামিতি নাম
মান
বর্ণনা
পাথ প্যারামিটার
enterpriseId
string
এন্টারপ্রাইজের আইডি।
productId
string
পণ্যের আইডি।
ঐচ্ছিক ক্যোয়ারী পরামিতি
language
string
ব্যবহারকারীর পছন্দের ভাষার জন্য BCP47 ট্যাগ (যেমন "en-US", "de")।
অনুমোদন
এই অনুরোধের জন্য নিম্নলিখিত সুযোগের সাথে অনুমোদন প্রয়োজন:
পণ্যটি বিধিনিষেধ সনাক্ত করতে ব্যবহার করে অনন্য কী, যেমন "com.google.android.gm.fieldname"।
restrictions[]. title
string
নিষেধাজ্ঞার নাম।
restrictions[]. restrictionType
string
নিষেধাজ্ঞার ধরন।
গ্রহণযোগ্য মান হল:
" bool "
" bundle "
" bundleArray "
" choice "
" hidden "
" integer "
" multiselect "
" string "
restrictions[]. description
string
সীমাবদ্ধতার একটি দীর্ঘ বিবরণ, এটি কী প্রভাবিত করে তার আরও বিশদ বিবরণ দেয়।
restrictions[]. entry[]
list
choice বা multiselect বিধিনিষেধের জন্য, সম্ভাব্য এন্ট্রির মানুষের-পাঠযোগ্য নামের তালিকা।
restrictions[]. entryValue[]
list
choice বা multiselect বিধিনিষেধের জন্য, সম্ভাব্য এন্ট্রিগুলির মেশিন-পঠনযোগ্য মানগুলির তালিকা। এই মানগুলি কনফিগারেশনে ব্যবহার করা উচিত, হয় choice সীমাবদ্ধতার জন্য একক string মান হিসাবে বা একটি multiselect সীমাবদ্ধতার জন্য একটি stringArray ।
restrictions[]. defaultValue
nested object
সীমাবদ্ধতার ডিফল্ট মান। bundle এবং bundleArray সীমাবদ্ধতার কোনো ডিফল্ট মান থাকে না।
restrictions[].defaultValue. type
string
যে ধরনের মান দেওয়া হচ্ছে।
গ্রহণযোগ্য মান হল:
" bool "
" bundle "
" bundleArray "
" choice "
" hidden "
" integer "
" multiselect "
" string "
restrictions[].defaultValue. valueBool
boolean
বুলিয়ান মান - এটি শুধুমাত্র উপস্থিত হবে যদি টাইপ bool হয়।
restrictions[].defaultValue. valueString
string
স্ট্রিং মান - এটি স্ট্রিং, পছন্দ এবং লুকানো প্রকারের জন্য উপস্থিত থাকবে।
restrictions[].defaultValue. valueInteger
integer
পূর্ণসংখ্যা মান - এটি শুধুমাত্র উপস্থিত হবে যদি টাইপ পূর্ণসংখ্যা হয়।
restrictions[].defaultValue. valueMultiselect[]
list
স্ট্রিং মানের তালিকা - এটি শুধুমাত্র উপস্থিত হবে যদি টাইপ মাল্টিসিলেক্ট হয়।
restrictions[]. nestedRestriction[]
list
bundle বা bundleArray সীমাবদ্ধতার জন্য, নেস্টেড সীমাবদ্ধতার তালিকা। একটি bundle সীমাবদ্ধতা সর্বদা একটি bundleArray সীমাবদ্ধতার মধ্যে থাকে এবং একটি bundleArray সীমাবদ্ধতা সর্বাধিক দুটি স্তরের গভীরে থাকে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThis API retrieves the schema defining configurable properties for a product, enabling admin configuration through a UI.\u003c/p\u003e\n"],["\u003cp\u003eIt's deprecated and will be inaccessible after September 30, 2025; new integrations should refer to the recommended alternative.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes details like restriction type, description, possible entries, default values, and nested restrictions.\u003c/p\u003e\n"]]],[],null,["# Products: getAppRestrictionsSchema\n\n| **Note:** Requires [authorization](#auth).\n\n\u003cbr /\u003e\n\n| **Deprecated:** New integrations cannot use this method and can refer to our [new\n| recommendations](/android/work/deprecations#recommended_alternative_4). \n| **This method will no longer be accessible by\n| anyone after September 30, 2025.**\nRetrieves the schema that defines the configurable properties for this product. All products have a schema, but this schema may be empty if no managed configurations have been defined. This schema can be used to populate a UI that allows an admin to configure the product. To apply a managed configuration based on the schema obtained using this API, see [Managed Configurations through Play](/android/work/play/emm-api/managed-configurations).\n\n\u003cbr /\u003e\n\nRequest\n-------\n\n### HTTP request\n\n```\nGET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/products/productId/appRestrictionsSchema\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|-----------------------------------------------------------------------|\n| **Path parameters** |||\n| `enterpriseId` | `string` | The ID of the enterprise. |\n| `productId` | `string` | The ID of the product. |\n| **Optional query parameters** |||\n| `language` | `string` | The BCP47 tag for the user's preferred language (e.g. \"en-US\", \"de\"). |\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\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```carbon\n{\n \"kind\": string,\n \"restrictions\": [\n {\n \"key\": string,\n \"title\": string,\n \"restrictionType\": string,\n \"description\": string,\n \"entry\": [\n string\n ],\n \"entryValue\": [\n string\n ],\n \"defaultValue\": {\n \"type\": string,\n \"valueBool\": boolean,\n \"valueString\": string,\n \"valueInteger\": integer,\n \"valueMultiselect\": [\n string\n ]\n },\n \"nestedRestriction\": [\n (AppRestrictionsSchemaRestriction)\n ]\n }\n ]\n}\n```\n\n| Property name | Value | Description | Notes |\n|--------------------------------------------------|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `restrictions[]` | `list` | The set of restrictions that make up this schema. | |\n| restrictions[].`key` | `string` | The unique key that the product uses to identify the restriction, e.g. \"com.google.android.gm.fieldname\". | |\n| restrictions[].`title` | `string` | The name of the restriction. | |\n| restrictions[].`restrictionType` | `string` | The type of the restriction. \u003cbr /\u003e Acceptable values are: - \"`bool`\" - \"`bundle`\" - \"`bundleArray`\" - \"`choice`\" - \"`hidden`\" - \"`integer`\" - \"`multiselect`\" - \"`string`\" | |\n| restrictions[].`description` | `string` | A longer description of the restriction, giving more detail of what it affects. | |\n| restrictions[].`entry[]` | `list` | For `choice` or `multiselect` restrictions, the list of possible entries' human-readable names. | |\n| restrictions[].`entryValue[]` | `list` | For `choice` or `multiselect` restrictions, the list of possible entries' machine-readable values. These values should be used in the configuration, either as a single `string` value for a `choice` restriction or in a `stringArray` for a `multiselect` restriction. | |\n| restrictions[].`defaultValue` | `nested object` | The default value of the restriction. `bundle` and `bundleArray` restrictions never have a default value. | |\n| restrictions[].defaultValue.`type` | `string` | The type of the value being provided. \u003cbr /\u003e Acceptable values are: - \"`bool`\" - \"`bundle`\" - \"`bundleArray`\" - \"`choice`\" - \"`hidden`\" - \"`integer`\" - \"`multiselect`\" - \"`string`\" | |\n| restrictions[].defaultValue.`valueBool` | `boolean` | The boolean value - this will only be present if type is bool. | |\n| restrictions[].defaultValue.`valueString` | `string` | The string value - this will be present for types string, choice and hidden. | |\n| restrictions[].defaultValue.`valueInteger` | `integer` | The integer value - this will only be present if type is integer. | |\n| restrictions[].defaultValue.`valueMultiselect[]` | `list` | The list of string values - this will only be present if type is multiselect. | |\n| restrictions[].`nestedRestriction[]` | `list` | For `bundle` or `bundleArray` restrictions, the list of nested restrictions. A `bundle` restriction is always nested within a `bundleArray` restriction, and a `bundleArray` restriction is at most two levels deep. | |\n| `kind` | `string` | Deprecated. | |"]]