def gce_connect(module, provider=None):
 if (not HAS_LIBCLOUD_BASE):
  module.fail_json(msg='libcloud must be installed to use this module')
 provider = (provider or Provider.GCE)
 return gcp_connect(module, provider, get_driver, USER_AGENT_PRODUCT, USER_AGENT_VERSION)

def gce_connect ( module , provider = None ) : if ( not HAS_LIBCLOUD_BASE ) : module . fail_json ( msg = 'libcloud must be installed to use this module' ) provider = ( provider or Provider . GCE ) return gcp_connect ( module , provider , get_driver , USER_AGENT_PRODUCT , USER_AGENT_VERSION )
return a gcp connection for google compute engine .