public final Device updateDevice ( Device device , FieldMask updateMask ) { UpdateDeviceRequest request = UpdateDeviceRequest . newBuilder ( ) . setDevice ( device ) . setUpdateMask ( updateMask ) . build ( ) ; return updateDevice ( request ) ; }
Updates a device .