Get Projects in Asana

I’m trying to get list of projects based on workspace in asana using Personal Accees token.I’m using the below code,
Client client = Client.accessToken(“Personal AccessToken”);
List result = client.projects.getProjects(“workspace”)
.option(“pretty”, true)
May I know what should I give in workspace(name or gid).

You need to supply the workspace gid.