Method: projects.featureViews.create
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک FeatureView ایجاد کنید.
درخواست HTTP
POST https://earthengine.googleapis.com/v1/{parent=projects/*}/featureViews
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
parent | string مورد نیاز. والد مجموعه نقشه (به عنوان مثال، "پروژه ها/*"). |
پارامترهای پرس و جو
پارامترها |
---|
workloadTag | string برچسب ارائه شده توسط کاربر برای ردیابی این محاسبات. |
درخواست بدن
بدنه درخواست شامل یک نمونه از FeatureView
است.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی یک نمونه جدید از FeatureView
است.
محدوده مجوز
به یکی از حوزه های OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/earthengine
-
https://www.googleapis.com/auth/earthengine.readonly
-
https://www.googleapis.com/auth/cloud-platform
-
https://www.googleapis.com/auth/cloud-platform.read-only
برای اطلاعات بیشتر، بهOAuth 2.0 Overview .
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eCreate a FeatureView using an HTTP POST request to the specified endpoint with the FeatureView details in the request body.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the parent project using the \u003ccode\u003eparent\u003c/code\u003e path parameter and optionally a \u003ccode\u003eworkload\u003c/code\u003e tag for tracking.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will return the newly created FeatureView instance in the response body.\u003c/p\u003e\n"],["\u003cp\u003eProper authorization with the necessary OAuth scopes like \u003ccode\u003eearthengine\u003c/code\u003e or \u003ccode\u003ecloud-platform\u003c/code\u003e is required to make the request.\u003c/p\u003e\n"]]],["A `POST` request to `https://earthengine.googleapis.com/v1/{parent=projects/*}/featureViews` creates a FeatureView. The `parent` path parameter, representing the project, is required. An optional `workloadTag` query parameter tracks the computation. The request body must contain a FeatureView instance, and a successful response returns the newly created FeatureView. Authorization requires specific OAuth scopes, including Earth Engine and Cloud Platform permissions.\n"],null,["# Method: projects.featureViews.create\n\nCreate a FeatureView.\n\n### HTTP request\n\n`POST https://earthengine.googleapis.com/v1/{parent=projects/*}/featureViews`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------|\n| `parent` | `string` Required. The parent of the map collection (e.g., \"projects/\\*\"). |\n\n### Query parameters\n\n| Parameters ||\n|---------------|-------------------------------------------------------|\n| `workloadTag` | `string` User supplied tag to track this computation. |\n\n### Request body\n\nThe request body contains an instance of [FeatureView](/earth-engine/reference/rest/v1/projects.featureView#FeatureView).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [FeatureView](/earth-engine/reference/rest/v1/projects.featureView#FeatureView).\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/earthengine.readonly`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/cloud-platform.read-only`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]