def METHOD_NAME(instance: Optional[pulumi.Input[str]] = None,
                         project: Optional[pulumi.Input[Optional[str]]] = None,
                         opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabasesResult]:
    """
    Use this data source to get information about a list of databases in a Cloud SQL instance.
    ## Example Usage
    ```python
    import pulumi
    import pulumi_gcp as gcp
    qa = gcp.sql.get_databases(instance=google_sql_database_instance["main"]["name"])
    ```
    :param str instance: The name of the Cloud SQL database instance in which the database belongs.
    :param str project: The ID of the project in which the instance belongs.
           > **Note** This datasource performs client-side sorting to provide consistent ordering of the databases.
    """
    ...