def METHOD_NAME(account_id: Optional[pulumi.Input[str]] = None,
                       project: Optional[pulumi.Input[Optional[str]]] = None,
                       opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountResult]:
    """
    Get the service account from a project. For more information see
    the official [API](https://cloud.google.com/compute/docs/access/service-accounts) documentation.
    ## Example Usage
    ```python
    import pulumi
    import pulumi_gcp as gcp
    object_viewer = gcp.serviceAccount.get_account(account_id="object-viewer")
    ```
    :param str account_id: The Google service account ID. This be one of:
           * The name of the service account within the project (e.g. `my-service`)
           * The fully-qualified path to a service account resource (e.g.
           `projects/my-project/serviceAccounts/...`)
           * The email address of the service account (e.g.
           `my-service@my-project.iam.gserviceaccount.com`)
    :param str project: The ID of the project that the service account is present in.
           Defaults to the provider project configuration.
    """
    ...