# projects


## project_exists_ui

``` python
async def project_exists_ui(
    page:fastcdp.core.Page, project_id:str, timeout:int=10
):
```

*Whether the signed-in Console account can open [`project_id`](config.html#project_id)*

## create_project_ui

``` python
async def create_project_ui(
    page:fastcdp.core.Page, project_id:str, name:str=None, timeout:int=30
):
```

*Create a Google Cloud project through its Console*

## ensure_project_ui

``` python
async def ensure_project_ui(
    page:fastcdp.core.Page, project_id:str, name:str=None, timeout:int=30
):
```

*Create [`project_id`](config.html#project_id) through the Console unless it already exists*

## cloud_creds

``` python
async def cloud_creds(
    account
):
```

*Load the owner’s stored token, which must carry Google Cloud access*

## find_organization

``` python
async def find_organization(
    creds, domain
):
```

*Find the single visible Google Cloud organization for a Workspace domain*

## create_project

``` python
async def create_project(
    creds, project_id, name=None, parent=None
):
```

*Create a Google Cloud project through Resource Manager*

## find_project

``` python
async def find_project(
    creds, project_id
):
```

*Find an accessible Cloud project by its globally unique project ID*

## enabled_apis

``` python
async def enabled_apis(
    creds, project
):
```

*Service names currently enabled on a project*

## enable_apis

``` python
async def enable_apis(
    creds, project, apis
):
```

*Enable only missing Google APIs through Service Usage, returning the newly enabled names*

## grant_project_roles

``` python
async def grant_project_roles(
    creds, project, member, roles:tuple=('roles/serviceusage.serviceUsageConsumer',)
):
```

*Idempotently grant project IAM roles to a member*

## provision_project

``` python
async def provision_project(
    account, project_id, name=None, domain=None, apis:tuple=()
):
```

*Create an optionally organization-owned project and enable its APIs*

## delete_project

``` python
async def delete_project(
    account, project
):
```

*Soft-delete a Cloud project through Resource Manager*
