Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Menghitung nilai arbitrer. Hal ini akan gagal jika hasil Ekspresi bukan sesuatu yang dapat dinyatakan sebagai Nilai, atau jika evaluasinya memerlukan terlalu banyak resource. Meskipun Anda dapat (dan bukan error) menghitung jenis objek apa pun di sini, secara umum setiap Ekspresi yang menghasilkan hasil yang lebih sesuai dengan salah satu endpoint Compute* lainnya harus menggunakan endpoint tersebut (misalnya, Ekspresi yang hasilnya adalah kumpulan fitur harus menggunakan ComputeFeatures).
Permintaan HTTP
POST https://earthengine.googleapis.com/v1alpha/{project=projects/*}/value:compute
Project ID atau nomor project project Google Cloud Platform yang harus diperlakukan sebagai konsumen layanan untuk permintaan ini. Format adalah projects/{project-id}.
Otorisasi memerlukan izin IAM berikut pada resource project yang ditentukan:
earthengine.computations.create
Isi permintaan
Isi permintaan memuat data dengan struktur berikut:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-03-06 UTC."],[[["Computes an arbitrary value based on a provided expression using the Earth Engine API."],["Utilizes the `POST` method and requires specifying the project ID in the URL."],["Request body includes the expression to compute and an optional workload tag for tracking."],["Successful responses contain the computed value in a structured format."],["Requires specific OAuth scopes for authorization, like `https://www.googleapis.com/auth/earthengine`."]]],["The `compute` endpoint evaluates an arbitrary expression, returning its result as a `Value`. A POST request is made to `https://earthengine.googleapis.com/v1alpha/{project=projects/*}/value:compute`, requiring `earthengine.computations.create` IAM permission. The request body contains the `expression` to compute and an optional `workloadTag`. The response returns the `result` of the computation in `Value` format, and requires one of the provided OAuth scopes for authorization. Other `Compute*` endpoints should be used if they are better suited for the task.\n"]]