title: Drive REST API use wifi only
body: <p>Previously, Google Drive API for Android was allowing to make a setting, that the data transfer was only done, when device is connected to the internet via WIFI:</p>
  
  <p><a href="https://developers.google.com/android/reference/com/google/android/gms/drive/TransferPreferences.html#NETWORK_TYPE_WIFI_ONLY" rel="nofollow noreferrer">https://developers.google.com/android/reference/com/google/android/gms/drive/TransferPreferences.html#NETWORK_TYPE_WIFI_ONLY</a></p>
  
  <p>This API will however become deprecated this year and we have to migrate to the new Drive REST API. I however struggle to find a similar functionality in this new API:</p>
  
  <p><a href="https://developers.google.com/resources/api-libraries/documentation/drive/v3/java/latest/" rel="nofollow noreferrer">https://developers.google.com/resources/api-libraries/documentation/drive/v3/java/latest/</a></p>
  
  <p>Is setting NETWORK_TYPE_WIFI_ONLY not present anymore in this new Drive REST API?</p>