$client = new Google_Client(); $client->setUseObjects(true);
$client = new Google_Client(); $client->setUseObjects(false);In this example, setUseObjects is disabled for $client object. This means that all the responses will be returned as arrays instead of objects.