Method: resources.features.rename
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
طلب HTTP
POST https://admin.googleapis.com/admin/directory/v1/customer/{customer}/resources/features/{oldName}/rename
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
customer |
string
المعرّف الفريد لحساب العميل على Google Workspace. بصفتك مشرف حساب، يمكنك أيضًا استخدام الاسم المعرِّف my_customer لتمثيل رقم تعريف العميل لحسابك.
|
oldName |
string
المعرّف الفريد للميزة المطلوب تغيير اسمها.
|
نص الطلب
يحتوي نص الطلب على مثال FeatureRename
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، تكون استجابة HTTP عامة يتم تحديد تنسيقها من خلال الطريقة.
نطاقات التفويض
يتطلب أحد نطاقات OAuth التالية:
https://apps-apis.google.com/a/feeds/calendar/resource/
https://www.googleapis.com/auth/admin.directory.resource.calendar
لمزيد من المعلومات، يمكنك الاطّلاع على دليل التفويض.
FeatureRename
تمثيل JSON |
{
"newName": string
} |
الحقول |
newName |
string
الاسم الجديد للميزة
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# Method: resources.features.rename\n\nRenames a feature.\n\n### HTTP request\n\n`POST https://admin.googleapis.com/admin/directory/v1/customer/{customer}/resources/features/{oldName}/rename`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `customer` | `string` The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. |\n| `oldName` | `string` The unique ID of the feature to rename. |\n\n### Request body\n\nThe request body contains an instance of [FeatureRename](/workspace/admin/directory/reference/rest/v1/resources.features/rename#FeatureRename).\n\n### Response body\n\nIf successful, the response is a generic HTTP response whose format is defined by the method.\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://apps-apis.google.com/a/feeds/calendar/resource/`\n- `\n https://www.googleapis.com/auth/admin.directory.resource.calendar`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent).\n\nFeatureRename\n-------------\n\n| JSON representation |\n|-------------------------------|\n| ``` { \"newName\": string } ``` |\n\n| Fields ||\n|-----------|-----------------------------------|\n| `newName` | `string` New name of the feature. |"]]