Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
Method: projects.featureView.create
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Permintaan HTTP
POST https://earthengine.googleapis.com/v1/{parent=projects/*}/featureView
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
parent |
string
Wajib. Induk koleksi peta (misalnya, "projects/*").
|
Parameter kueri
Parameter |
workloadTag |
string
Tag yang diberikan pengguna untuk melacak komputasi ini.
|
Isi permintaan
Isi permintaan memuat instance FeatureView
.
Isi respons
Jika berhasil, isi respons memuat instance FeatureView
yang baru dibuat.
Cakupan otorisasi
Memerlukan salah satu cakupan OAuth berikut:
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
Untuk mengetahui informasi selengkapnya, lihat OAuth 2.0 Overview.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[[["\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)."]]