def METHOD_NAME(cloud_function: Optional[pulumi.Input[str]] = None,
                                   project: Optional[pulumi.Input[Optional[str]]] = None,
                                   region: Optional[pulumi.Input[Optional[str]]] = None,
                                   opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFunctionIamPolicyResult]:
    """
    Retrieves the current IAM policy data for cloudfunction
    ## example
    ```python
    import pulumi
    import pulumi_gcp as gcp
    policy = gcp.cloudfunctions.get_function_iam_policy(project=google_cloudfunctions_function["function"]["project"],
        region=google_cloudfunctions_function["function"]["region"],
        cloud_function=google_cloudfunctions_function["function"]["name"])
    ```
    :param str cloud_function: Used to find the parent resource to bind the IAM policy to
    :param str project: The ID of the project in which the resource belongs.
           If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
    :param str region: The location of this cloud function. Used to find the parent resource to bind the IAM policy to. If not specified,
           the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
           region is specified, it is taken from the provider configuration.
    """
    ...