公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
Method: projects.featureView.create
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
POST https://earthengine.googleapis.com/v1alpha/{parent=projects/*}/featureView
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
parent |
string
必要欄位。地圖集合的父項 (例如「projects/*」)。
|
查詢參數
參數 |
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。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eUse a POST request to \u003ccode\u003ehttps://earthengine.googleapis.com/v1alpha/{parent=projects/*}/featureView\u003c/code\u003e to create a FeatureView, specifying the parent project in the URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain a FeatureView object as defined in the provided documentation link.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful creation, the response will include the newly created FeatureView object.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is required using one of the specified OAuth scopes, including \u003ccode\u003eearthengine\u003c/code\u003e, \u003ccode\u003eearthengine.readonly\u003c/code\u003e, \u003ccode\u003ecloud-platform\u003c/code\u003e, or \u003ccode\u003ecloud-platform.read-only\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters like \u003ccode\u003eworkloadTag\u003c/code\u003e can be included for tracking purposes.\u003c/p\u003e\n"]]],[],null,["# Method: projects.featureView.create\n\nCreate a FeatureView.\n\n### HTTP request\n\n`POST https://earthengine.googleapis.com/v1alpha/{parent=projects/*}/featureView`\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/v1alpha/projects.featureView#FeatureView).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [FeatureView](/earth-engine/reference/rest/v1alpha/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)."]]