class GcpNetworkInterfaceProvider {

    Map<String, Optional<NetworkInterface>> provide(AuthenticatedContext authenticatedContext, List<CloudResource> instances) {
        String instanceNamePrefix = getInstanceNamePrefix(instances);
        List<Instance> gcpInstances = getInstances(authenticatedContext, instanceNamePrefix);
        return getNetworkMap(gcpInstances, instances);
    }

}