Method: resources.features.rename
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
בקשת HTTP
POST https://admin.googleapis.com/admin/directory/v1/customer/{customer}/resources/features/{oldName}/rename
כתובת ה-URL משתמשת בתחביר של Transcoding של 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 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],[],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. |"]]