[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-08 UTC."],[[["This document describes how to retrieve the IAM access control policy for a Google Cloud Function, which will return an empty policy if there is no existing policy."],["The HTTP request method to get the IAM policy is `GET`, and the resource path is specified in the URL, as seen in the format `https://cloudfunctions.googleapis.com/v1/{resource}:getIamPolicy`."],["The required `resource` path parameter specifies the function to retrieve the IAM policy from, and there is an optional `options` query parameter that allows users to use `GetPolicyOptions` to fine tune the response."],["The request body must be empty, and if successful, the response body will contain an instance of `Policy` which details the IAM policy retrieved."],["To make this call, one must have one of the following OAuth scopes: `https://www.googleapis.com/auth/cloudfunctions` or `https://www.googleapis.com/auth/cloud-platform`."]]],[]]