公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
Method: projects.featureView.create
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
HTTP 请求
POST https://earthengine.googleapis.com/v1/{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。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eCreates a new FeatureView using a POST request to the specified endpoint.\u003c/p\u003e\n"],["\u003cp\u003eRequires providing FeatureView details in the request body and specifying the parent project in the URL.\u003c/p\u003e\n"],["\u003cp\u003eNeeds appropriate authorization with specific OAuth scopes for successful execution.\u003c/p\u003e\n"],["\u003cp\u003eReturns the newly created FeatureView object in the response body upon successful completion.\u003c/p\u003e\n"]]],["To create a FeatureView, send a POST request to the specified URL, including the required `parent` path parameter (e.g., \"projects/*\"). Optionally, include a `workloadTag` query parameter. The request body must contain a FeatureView instance. Successful requests return a newly created FeatureView instance. Authorization requires one of four listed OAuth scopes. The URL structure uses gRPC Transcoding syntax.\n"],null,["# Method: projects.featureView.create\n\nCreate a FeatureView.\n\n### HTTP request\n\n`POST https://earthengine.googleapis.com/v1/{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/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)."]]