If you are creating a new function, see the Console Quickstart on Cloud Run. The content on this page only applies to existing legacy functions created with the Cloud Functions v2 API.
[[["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 endpoint retrieves the access control policy for a specified resource, returning an empty policy if no policy is set."],["The HTTP request uses the `GET` method to the URL, `https://cloudfunctions.googleapis.com/v2beta/{resource}:getIamPolicy`, requiring a `resource` path parameter."],["An optional `options` query parameter can be included, utilizing the `GetPolicyOptions` object to specify options."],["The request body must be empty, and a successful response will include a `Policy` object in the response body."],["Authorization requires either the `https://www.googleapis.com/auth/cloudfunctions` or `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]