def METHOD_NAME(instance: Optional[str] = None,
                                               project: Optional[str] = None,
                                               opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseInstanceLatestRecoveryTimeResult:
    """
    Get Latest Recovery Time for a given instance. For more information see the
    [official documentation](https://cloud.google.com/sql/)
    and
    [API](https://cloud.google.com/sql/docs/postgres/backup-recovery/pitr#get-the-latest-recovery-time).
    ## Example Usage
    ```python
    import pulumi
    import pulumi_gcp as gcp
    default = gcp.sql.get_database_instance_latest_recovery_time(instance="sample-instance")
    pulumi.export("latestRecoveryTime", default)
    ```
    :param str instance: The name of the instance.
    :param str project: The ID of the project in which the resource belongs.
    """
    __args__ = dict()
    __args__['instance'] = instance
    __args__['project'] = project
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('gcp:sql/getDatabaseInstanceLatestRecoveryTime:getDatabaseInstanceLatestRecoveryTime', __args__, opts=opts, typ=GetDatabaseInstanceLatestRecoveryTimeResult).value
    return AwaitableGetDatabaseInstanceLatestRecoveryTimeResult(
        id=pulumi.get(__ret__, 'id'),
        instance=pulumi.get(__ret__, 'instance'),
        latest_recovery_time=pulumi.get(__ret__, 'latest_recovery_time'),
        project=pulumi.get(__ret__, 'project'))