Method: deployments.groups.enable
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تؤدي هذه السياسة إلى تفعيل سمة groups
المحدّدة. تعرض NOT_FOUND
إذا كان المسار المطابق غير موجود.
طلب HTTP
POST https://androidovertheair.googleapis.com/v1/{name=deployments/*}/groups:enable
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
name |
string
اسم المورد النسبي. على سبيل المثال: "عمليات النشر/النشر_x/groups"
|
نص الطلب
يحتوي نص الطلب على بيانات بالبنية التالية:
تمثيل JSON |
{
"groupNames": [
string
]
} |
الحقول |
groupNames[] |
string
مطلوب. يجب تفعيل المجموعات.
|
نص الاستجابة
إذا كانت الاستجابة ناجحة، يكون نص الاستجابة فارغًا.
نطاقات الأذونات
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/android_partner_over_the_air
لمزيد من المعلومات، يُرجى الاطِّلاع على نظرة عامة على OAuth 2.0.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Enables defined groups for Android over-the-air deployments and returns `NOT_FOUND` if the path doesn't exist."],["Requires a POST request to the specified URL with path parameter indicating the deployment and group resource."],["The request body must contain a JSON object with an array of group names to be enabled."],["A successful operation results in an empty response body."],["Requires authorization with the `https://www.googleapis.com/auth/android_partner_over_the_air` scope."]]],["This document details enabling groups via a POST request to a specified URL. The request targets a resource identified by a `name` path parameter, requiring the format \"deployments/deployment_x/groups\". The request body, formatted as JSON, includes a `groupNames` array specifying the groups to enable. A successful request returns an empty response. The operation requires `https://www.googleapis.com/auth/android_partner_over_the_air` OAuth scope. It also provides a feature to try this operation.\n"]]