Earth Engine memperkenalkan
tingkatan kuota nonkomersial untuk mengamankan resource komputasi bersama dan memastikan performa yang andal bagi semua orang. Semua project nonkomersial harus memilih tingkat kuota paling lambat
27 April 2026 atau akan menggunakan Tingkat Komunitas secara default. Kuota tingkat akan berlaku untuk semua project (terlepas dari tanggal pemilihan tingkat) pada
27 April 2026.
Pelajari lebih lanjut.
Method: projects.assets.getIamPolicy
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Mendapatkan kebijakan kontrol akses untuk resource. Menampilkan kebijakan kosong jika resource ada dan tidak memiliki kebijakan yang ditetapkan.
Permintaan HTTP
POST https://earthengine.googleapis.com/v1alpha/{resource=projects/*/assets/**}:getIamPolicy
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
| Parameter |
resource |
string
WAJIB: Resource yang kebijakannya diminta. Lihat Nama resource untuk mengetahui nilai yang sesuai untuk kolom ini.
|
Isi permintaan
Isi permintaan memuat data dengan struktur berikut:
| Kolom |
options |
object (GetPolicyOptions)
OPSIONAL: Objek GetPolicyOptions untuk menentukan opsi ke assets.getIamPolicy.
|
Isi respons
Jika berhasil, isi respons memuat instance Policy.
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."],[],["This documentation details how to retrieve the access control policy for a specific resource using a POST request to the provided URL. The request requires a resource path and accepts an optional `GetPolicyOptions` object in the request body. The server responds with a `Policy` object if successful or an empty policy if none is set. Authorization requires specific OAuth scopes related to Earth Engine or Cloud Platform. The parameter `resource` is the path to the resource which the policy is applied to.\n"]]