'{username}', 'apiKey' => '{apiKey}', )); // 2. Obtain a Networking service object from the client. $networkingService = $client->networkingService(null, '{region}'); // 3. List networks $networks = $networkingService->listNetworks(); foreach ($networks as $network) { /** @var $network OpenCloud\Networking\Resource\Network **/ }