[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-03-06 (世界標準時間)。"],[[["The `setIamPolicy` method allows you to define access control for a specific Earth Engine resource, replacing any existing policy."],["You send a `POST` request to the specified URL, including the resource name and the desired policy in the request body."],["The policy you provide in the request should adhere to the structure defined in the `Policy` object and can be a few 10s of KB in size."],["A successful response will return the applied `Policy` object, confirming the access control settings for the resource."],["To use this method, you need appropriate authorization with either the `earthengine` or `cloud-platform` scope."]]],["This content describes setting an access control policy on a specified resource using a POST request to the `setIamPolicy` endpoint. The request requires a `resource` path parameter, and the body must contain the complete `policy` object to be applied. The `policy` replaces any existing policy. Successful requests return a `Policy` object. Authorization requires specific OAuth scopes, including `earthengine` or `cloud-platform`. The policy size is limited.\n"]]