src/Resources/Accounts/AccountsRepository.php
/**
     * Marks an account as a super-admin
     *
     * @link https://developers.google.com/admin-sdk/directory/v1/reference/users/makeAdmin
     *
     * @param string $userKey | The accounts primary email address, an alias email, or unique user id
     */


@param string $userKey | The accounts primary email address, an alias email, or unique user id
@param string $userKey | The accounts primary email address an alias email or unique user id
public function makeAdmin(string $userKey)
    {
        try {
            $response = $this->client->makeAdmin($userKey);
        } catch (\Exception $e) {
            throw $e;
        }
        return ($response->getStatusCode() == 204) ? true : false;
    }
public function makeAdmin ( string $ userKey ) { try { $ response = $ this -> client -> makeAdmin ( $ userKey ) ; } catch ( \ Exception $ e ) { throw $ e ; } return ( $ response -> getStatusCode ( ) == 204 ) ? true : false ; }
Marks an account as a super-admin
 @link https://developers.google.com/admin-sdk/directory/v1/reference/users/makeAdmin
Marks an account as a super - admin @link https : // developers . google . com / admin - sdk / directory / v1 / reference / users / makeAdmin