إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
Method: projects.updateConfig
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
طلب HTTP
PATCH https://earthengine.googleapis.com/v1beta/{projectConfig.name=projects/*/config}
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
projectConfig.name |
string
مطلوب. اسم إعدادات المشروع بالتنسيق "projects/*/config".
|
مَعلمات طلب البحث
المعلمات |
updateMask |
string (FieldMask format)
مطلوب. قائمة الحقول المطلوب تعديلها هذه قائمة مفصولة بفواصل تتضمّن أسماء حقول مؤهَّلة بالكامل. مثال: "user.displayName,photo"
|
نص الطلب
يحتوي نص الطلب على مثال ProjectConfig
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال ProjectConfig
.
نطاقات التفويض
يتطلب أحد نطاقات OAuth التالية:
https://www.googleapis.com/auth/earthengine
https://www.googleapis.com/auth/cloud-platform
لمزيد من المعلومات، يُرجى الاطّلاع على OAuth 2.0 Overview.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThis request updates specific settings within a project's configuration.\u003c/p\u003e\n"],["\u003cp\u003eIt uses the PATCH method and requires the project's config name in the URL.\u003c/p\u003e\n"],["\u003cp\u003eYou must specify the fields you want to change using the 'updateMask' query parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body contains the new configuration data in JSON format, following the 'ProjectConfig' structure.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is needed through either Earth Engine or Cloud Platform scopes.\u003c/p\u003e\n"]]],["This documentation describes updating a project's configuration state via a PATCH request to the specified URL, `https://earthengine.googleapis.com/v1beta/{projectConfig.name=projects/*/config}`. The request requires the project config name and an `updateMask` parameter listing the fields to modify. The request body contains a `ProjectConfig` instance, and upon success, returns a `ProjectConfig` instance. Authorization requires specific OAuth scopes related to Earth Engine or Cloud Platform.\n"],null,["# Method: projects.updateConfig\n\nUpdates the config state of a project.\n\n### HTTP request\n\n`PATCH https://earthengine.googleapis.com/v1beta/{projectConfig.name=projects/*/config}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------------------|---------------------------------------------------------------------------------|\n| `projectConfig.name` | `string` Required. The project config name, of the format \"projects/\\*/config\". |\n\n### Query parameters\n\n| Parameters ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` Required. The list of fields to update. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n\n### Request body\n\nThe request body contains an instance of [ProjectConfig](/earth-engine/reference/rest/v1beta/ProjectConfig).\n\n### Response body\n\nIf successful, the response body contains an instance of [ProjectConfig](/earth-engine/reference/rest/v1beta/ProjectConfig).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/earthengine`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]